You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Add "normal" and "original" flags as output columns to thepg_event_trigger_dropped_objects() function. With this it's possible todistinguish which objects, among those listed, need to be explicitelyreferenced when trying to replicate a deletion.This is necessary so that the list of objects can be pruned to theminimum necessary to replicate the DROP command in a remote server thatmight have slightly different schema (for instance, TOAST tables andconstraints with different names and such.)Catalog version bumped due to change of function definition.Reviewed by: Abhijit Menon-Sen, Stephen Frost, Heikki Linnakangas,Robert Haas.
DESCR("peek at binary changes from replication slot");
5076
5076
5077
5077
/* event triggers */
5078
-
DATA(insert OID = 3566 ( pg_event_trigger_dropped_objectsPGNSP PGUID 12 10 100 0 0 f f f f t t s 0 0 2249 "" "{26,26,23,25,25,25,25}" "{o,o,o,o,o,o,o}" "{classid, objid, objsubid, object_type, schema_name, object_name, object_identity}" _null_ pg_event_trigger_dropped_objects _null_ _null_ _null_ ));
5078
+
DATA(insert OID = 3566 ( pg_event_trigger_dropped_objectsPGNSP PGUID 12 10 100 0 0 f f f f t t s 0 0 2249 "" "{26,26,23,16,16,25,25,25,25}" "{o,o,o,o,o,o,o,o,o}" "{classid, objid, objsubid, original, normal, object_type, schema_name, object_name, object_identity}" _null_ pg_event_trigger_dropped_objects _null_ _null_ _null_ ));
5079
5079
DESCR("list objects dropped by the current command");
5080
5080
DATA(insert OID = 4566 ( pg_event_trigger_table_rewrite_oidPGNSP PGUID 12 1 0 0 0 f f f f t f s 0 0 26 "" "{26}" "{o}" "{oid}" _null_ pg_event_trigger_table_rewrite_oid _null_ _null_ _null_ ));
5081
5081
DESCR("return Oid of the table getting rewritten");