pgsql: Disallow ALTER DOMAIN on non-domain type everywhere
pgsql: Disallow ALTER DOMAIN on non-domain type everywhere
От:
Peter 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(-)