mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Remove illegal argument from trigger function in trigger DDL statement. Fixes #5779
This commit is contained in:
@@ -131,6 +131,8 @@ def get_trigger_function_and_columns(conn, data, tid,
|
||||
formatted_args = ', '.join(formatted_args)
|
||||
|
||||
data['tgargs'] = formatted_args
|
||||
else:
|
||||
data['tgargs'] = None
|
||||
|
||||
if len(data['tgattr']) >= 1:
|
||||
columns = ', '.join(data['tgattr'].split(' '))
|
||||
|
||||
Reference in New Issue
Block a user