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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/alter.c | modified | +2 −2 |
| src/backend/commands/typecmds.c | modified | +16 −2 |
| src/include/commands/typecmds.h | modified | +2 −2 |