]> granicus.if.org Git - postgresql/commit
Improve consistency of the error messages generated when you try to use
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2007 17:18:58 +0000 (17:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2007 17:18:58 +0000 (17:18 +0000)
commit34b44c3ba29a3d3b3e33322118a01b76e6fd2cfd
treea913a47f85c7864ec56ec4639b92f0485e4f6c58
parente6022e7470775be7129b2c4d1e5c05aa88eede5d
Improve consistency of the error messages generated when you try to use
ALTER TABLE on a composite type or ALTER TYPE on a table's rowtype.
We already rejected these cases, but the error messages were a bit
random and didn't always provide a HINT to use the other command type.
src/backend/commands/tablecmds.c
src/backend/commands/typecmds.c