aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2014-12-23 15:31:29 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2014-12-23 15:31:29 -0300
commitd7ee82e50f624221db76023c17137661fe69ec61 (patch)
treef216334b5fa69a671f68e2442a3b602472ec7135 /src/backend/commands/variable.c
parent1826987a46d079458007b7b6bbcbbd852353adbb (diff)
downloadpostgresql-d7ee82e50f624221db76023c17137661fe69ec61.tar.gz
postgresql-d7ee82e50f624221db76023c17137661fe69ec61.zip
Add SQL-callable pg_get_object_address
This allows access to get_object_address from SQL, which is useful to obtain OID addressing information from data equivalent to that emitted by the parser. This is necessary infrastructure of a project to let replication systems propagate object dropping events to remote servers, where the schema might be different than the server originating the DROP. This patch also adds support for OBJECT_DEFAULT to get_object_address; that is, it is now possible to refer to a column's default value. Catalog version bumped due to the new function. Reviewed by Stephen Frost, Heikki Linnakangas, Robert Haas, Andres Freund, Abhijit Menon-Sen, Adam Brightwell.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions