Change trigger name from a_repack_trigger to repack_trigger.
In AFTER trigger context, since triggered tuple is not changed by any other triggers we can call it just repack_trigger.
This commit is contained in:
@ -362,7 +362,7 @@ ERROR: query failed: ERROR: column "col" does not exist
|
||||
|
||||
Specify existing columns.
|
||||
|
||||
WARNING: the table "tbl" already has a trigger called a_repack_trigger
|
||||
WARNING: the table "tbl" already has a trigger called repack_trigger
|
||||
The trigger was probably installed during a previous attempt to run
|
||||
pg_repack on the table which was interrupted and for some reason failed
|
||||
to clean up the temporary objects.
|
||||
@ -370,16 +370,6 @@ WARNING: the table "tbl" already has a trigger called a_repack_trigger
|
||||
You can remove all the temporary objects by dropping and re-creating the
|
||||
extension: see the installation_ section for the details.
|
||||
|
||||
WARNING: trigger "trg" conflicting on table "tbl"
|
||||
The target table has a trigger whose name follows ``a_repack_trigger``
|
||||
in alphabetical order.
|
||||
|
||||
The ``a_repack_trigger`` should be the first AFTER trigger to fire.
|
||||
Please rename your trigger so that it sorts alphabetically before
|
||||
pg_repack's one; you can use::
|
||||
|
||||
ALTER TRIGGER aaa_my_trigger ON sometable RENAME TO bbb_my_trigger;
|
||||
|
||||
ERROR: Another pg_repack command may be running on the table. Please try again
|
||||
later.
|
||||
|
||||
|
Reference in New Issue
Block a user