]> granicus.if.org Git - postgresql/commit
Disallow ALTER DOMAIN on non-domain type everywhere
authorPeter Eisentraut <peter_e@gmx.net>
Fri, 27 Jan 2012 19:20:34 +0000 (21:20 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 27 Jan 2012 19:20:34 +0000 (21:20 +0200)
commit27874583627e049a049dc1327deb12a02a7013ab
tree302323b743f2a0e37d4bfc04e47809ab045ee3e0
parent8137f2c32322c624e0431fac1621e8e9315202f9
Disallow ALTER DOMAIN on non-domain type everywhere

This has been the behavior already in most cases, but through
omission, ALTER DOMAIN / OWNER TO and ALTER DOMAIN / SET SCHEMA would
silently work on non-domain types as well.
src/backend/commands/alter.c
src/backend/commands/typecmds.c
src/include/commands/typecmds.h