]> granicus.if.org Git - postgresql/commit
Add some sanity checks to CREATE CAST ... WITHOUT FUNCTION. Disallow
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Mar 2009 11:53:53 +0000 (11:53 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Mar 2009 11:53:53 +0000 (11:53 +0000)
commit45a10b2531acf7eb8ebd6624735c03465e603ccc
tree99217181a85b4a694a95239de08f192d6cbb0318
parent12f87b2c827672152508679e1fca37af64999a0b
Add some sanity checks to CREATE CAST ... WITHOUT FUNCTION. Disallow
composite, enum and array types, as those are surely not binary-compatible
with anything else because of the embedded OIDs.

Inspired by bug report by Oleg Serov.
src/backend/commands/functioncmds.c