postgresql/src/backend
Tom Lane aff97b1f4e Handle domains when checking for recursive inclusion of composite types.
We need this now because we allow domains over arrays, and we'll probably
allow domains over composites pretty soon, which makes the problem even
more obvious.

Although domains over arrays also exist in previous versions, this does not
need to be back-patched, because the coding used in older versions
successfully "looked through" domains over arrays.  The problem is exposed
by not treating a domain as having a typelem.

Problem identified by Noah Misch, though I did not use his patch, since
it would require additional work to handle domains over composites that
way.  This approach is more future-proof.
2011-06-02 18:37:57 -04:00
..
access Protect GIST logic that assumes penalty values can't be negative. 2011-05-31 17:53:45 -04:00
bootstrap Refactor broken CREATE TABLE IF NOT EXISTS support. 2011-04-25 16:55:11 -04:00
catalog Handle domains when checking for recursive inclusion of composite types. 2011-06-02 18:37:57 -04:00
commands Clean up after erroneous SELECT FOR UPDATE/SHARE on a sequence. 2011-06-02 15:32:21 -04:00
executor Disallow SELECT FOR UPDATE/SHARE on sequences. 2011-06-02 14:46:15 -04:00
foreign Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Implement getpeereid() as a src/port compatibility function. 2011-06-02 13:05:01 -04:00
main Assorted minor changes to silence Windows compiler warnings. 2011-04-25 12:56:53 -04:00
nodes Fix handling of collations in multi-row VALUES constructs. 2011-04-18 15:31:52 -04:00
optimizer Fix pull_up_sublinks' failure to handle nested pull-up opportunities. 2011-05-02 15:57:28 -04:00
parser Clean up parsing of CREATE TRIGGER's argument list. 2011-05-11 14:43:01 -04:00
po Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
port Recode non-ASCII characters in source to UTF-8 2011-05-31 23:11:46 +03:00
postmaster Fix VACUUM so that it always updates pg_class.reltuples/relpages. 2011-05-30 17:06:52 -04:00
regex Insert dummy "break"s to silence compiler complaints. 2011-04-10 18:44:07 -04:00
replication Lowercase status labels in pg_stat_replication view. 2011-04-29 22:20:43 -04:00
rewrite Clean up most -Wunused-but-set-variable warnings from gcc 4.6 2011-04-11 22:28:45 +03:00
snowball Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
storage Recode non-ASCII characters in source to UTF-8 2011-05-31 23:11:46 +03:00
tcop Refactor broken CREATE TABLE IF NOT EXISTS support. 2011-04-25 16:55:11 -04:00
tsearch Improve aset.c's space management in contexts with small maxBlockSize. 2011-05-02 12:08:08 -04:00
utils Fix null-dereference crash in parse_xml_decl(). 2011-05-28 12:36:04 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
Makefile replication/repl_gram.h needs to be cleaned too ... 2011-03-10 00:12:38 -05:00
nls.mk Revise the API for GUC variable assign hooks. 2011-04-07 00:12:02 -04:00