mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed the issue of editing triggers for advanced servers. Fixes #6802
This commit is contained in:
committed by
Akshay Joshi
parent
173cb60691
commit
1377244e52
@@ -185,6 +185,12 @@ def get_sql(conn, **kwargs):
|
||||
|
||||
old_data = trigger_definition(old_data)
|
||||
|
||||
if 'lanname' in old_data and old_data['lanname'] == 'edbspl':
|
||||
data['lanname'] = old_data['lanname']
|
||||
if ('tfunction' in old_data and
|
||||
old_data['tfunction'] == 'Inline EDB-SPL'):
|
||||
data['tfunction'] = old_data['tfunction']
|
||||
|
||||
sql = render_template(
|
||||
"/".join([template_path, 'update.sql']),
|
||||
data=data, o_data=old_data, conn=conn
|
||||
|
||||
Reference in New Issue
Block a user