postgresql/src
Alvaro Herrera d7ee82e50f 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.
2014-12-23 15:31:29 -03:00
..
backend Add SQL-callable pg_get_object_address 2014-12-23 15:31:29 -03:00
bin Use a bitmask to represent role attributes 2014-12-23 10:22:09 -03:00
common Small message fixes 2014-08-09 00:07:00 -04:00
include Add SQL-callable pg_get_object_address 2014-12-23 15:31:29 -03:00
interfaces Translation updates 2014-12-15 00:25:35 -05:00
makefiles Revert haphazard pgxs makefile changes 2014-12-04 08:07:59 -05:00
pl Improve hash_create's API for selecting simple-binary-key hash functions. 2014-12-18 13:36:36 -05:00
port Windows: use GetSystemTimePreciseAsFileTime if available 2014-12-08 23:36:06 +09:00
template Remove Alpha and Tru64 support. 2014-06-28 21:46:15 +02:00
test Add SQL-callable pg_get_object_address 2014-12-23 15:31:29 -03:00
timezone Update time zone data files to tzdata release 2014j. 2014-11-17 12:09:12 -05:00
tools Adjust valgrind suppression to the changes in 2c03216d83. 2014-12-18 10:45:57 +01:00
tutorial Adjust blank lines around PG_MODULE_MAGIC defines, for consistency 2014-07-10 14:02:08 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Fix previous commit for TAP test suites in VPATH builds. 2014-12-18 01:24:57 -05:00
Makefile.shlib Clarify .def file comments. 2014-11-02 21:43:33 -05:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00