postgresql/src
Tom Lane d8326119c8 Fix my oversight in enabling domains-of-domains: ALTER DOMAIN ADD CONSTRAINT
needs to check the new constraint against columns of derived domains too.

Also, make it error out if the domain to be modified is used within any
composite-type columns.  Eventually we should support that case, but it seems
a bit painful, and not suitable for a back-patch.  For the moment just let the
user know we can't do it.

Backpatch to 8.2, which is the only released version that allows nested
domains.  Possibly the other part should be back-patched further.
2007-05-11 20:17:15 +00:00
..
backend Fix my oversight in enabling domains-of-domains: ALTER DOMAIN ADD CONSTRAINT 2007-05-11 20:17:15 +00:00
bin Support arrays of composite types, including the rowtypes of regular tables 2007-05-11 17:57:14 +00:00
include Fix my oversight in enabling domains-of-domains: ALTER DOMAIN ADD CONSTRAINT 2007-05-11 20:17:15 +00:00
interfaces Added some more error logging. 2007-05-10 14:29:21 +00:00
makefiles
pl Support for MOVE in PL/PgSQL. Initial patch from Magnus, some improvements 2007-04-29 01:21:09 +00:00
port
template
test Fix my oversight in enabling domains-of-domains: ALTER DOMAIN ADD CONSTRAINT 2007-05-11 20:17:15 +00:00
timezone Sync timezone data with 2007e zic release. 2007-04-19 22:44:32 +00:00
tools Support arrays of composite types, including the rowtypes of regular tables 2007-05-11 17:57:14 +00:00
tutorial
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in Contrib module uuid-ossp for generating UUID values using the OSSP UUID 2007-04-21 17:26:18 +00:00
Makefile.shlib
nls-global.mk
win32.mak