diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2014-12-19 15:00:45 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2014-12-19 15:00:45 -0300 |
commit | 0ee98d1cbf1cd3b888633b2ee90e0001889c12b9 (patch) | |
tree | edf24dba8ab9d9a08e4a5b138de36b07f5e4c0ee /doc/src | |
parent | 5c805d0a813e6c611485bfc9bde9d2a10d1800e5 (diff) |
pg_event_trigger_dropped_objects: add behavior flags
Add "normal" and "original" flags as output columns to the
pg_event_trigger_dropped_objects() function. With this it's possible to
distinguish which objects, among those listed, need to be explicitely
referenced when trying to replicate a deletion.
This is necessary so that the list of objects can be pruned to the
minimum necessary to replicate the DROP command in a remote server that
might have slightly different schema (for instance, TOAST tables and
constraints 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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 7934a1263e1..6f3094656c2 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -17730,6 +17730,19 @@ FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger(); <entry>Object sub-id (e.g. attribute number for columns)</entry> </row> <row> + <entry><literal>original</literal></entry> + <entry><type>bool</type></entry> + <entry>Flag used to identify the root object(s) of the deletion</entry> + </row> + <row> + <entry><literal>normal</literal></entry> + <entry><type>bool</type></entry> + <entry> + Flag indicating that there's a normal dependency relationship + in the dependency graph leading to this object + </entry> + </row> + <row> <entry><literal>object_type</literal></entry> <entry><type>text</type></entry> <entry>Type of the object</entry> |