postgresql/src
Alvaro Herrera 3f88672a4e Use TypeName to represent type names in certain commands
In COMMENT, DROP, SECURITY LABEL, and the new pg_get_object_address
function, we were representing types as a list of names, same as other
objects; but types are special objects that require their own
representation to be totally accurate.  In the original COMMENT code we
had a note about fixing it which was lost in the course of c10575ff00.
Change all those places to use TypeName instead, as suggested by that
comment.

Right now the original coding doesn't cause any bugs, so no backpatch.
It is more problematic for proposed future code that operate with object
addresses from the SQL interface; type details such as array-ness are
lost when working with the degraded representation.

Thanks to Petr Jelínek and Dimitri Fontaine for offlist help on finding
a solution to a shift/reduce grammar conflict.
2014-12-30 13:57:23 -03:00
..
backend Use TypeName to represent type names in certain commands 2014-12-30 13:57:23 -03:00
bin Revert "Use a bitmask to represent role attributes" 2014-12-23 15:35:49 -03:00
common Temporarily revert "Move pg_lzcompress.c to src/common." 2014-12-25 13:22:55 -05:00
include Revert the GinMaxItemSize calculation so that we fit 3 tuples per page. 2014-12-30 14:53:11 +02: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 Use TypeName to represent type names in certain commands 2014-12-30 13:57:23 -03:00
timezone Add CST (China Standard Time) to our lists of timezone abbreviations. 2014-12-24 16:35:23 -05:00
tools Have config_sspi_auth() permit IPv6 localhost connections. 2014-12-25 13:52:03 -05: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
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04: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 installcheck case for tap tests 2014-12-24 10:31:36 -05:00
Makefile.shlib Clarify .def file comments. 2014-11-02 21:43:33 -05: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