Skip to content

Commit

Permalink
Fix an oversight in trigger code
Browse files Browse the repository at this point in the history
Rename an object is not supported yet as described by issue #13.

Reported by @rafalcieslak (issue #39)
  • Loading branch information
Euler Taveira committed Mar 13, 2018
1 parent 9bd46c0 commit e1c4748
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ dumpAlterTrigger(FILE *output, PQLTrigger *a, PQLTrigger *b)
char *tabname2 = formatObjectIdentifier(b->table.objectname);

fprintf(output, "\n\n");
fprintf(output, "ALTER TRIGGER %s ON %s.%s RENAME TO %s;", trgname1, schema2, tabname2, trgname2);

/* comment */
if (options.comment)
Expand Down

0 comments on commit e1c4748

Please sign in to comment.