pgsql: Disallow ALTER DOMAIN on non-domain type everywhere

Started by Peter Eisentrautover 14 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/27874583627e049a049dc1327deb12a02a7013ab

Modified Files
--------------
src/backend/commands/alter.c | 4 ++--
src/backend/commands/typecmds.c | 18 ++++++++++++++++--
src/include/commands/typecmds.h | 4 ++--
3 files changed, 20 insertions(+), 6 deletions(-)