Add some sanity checks to CREATE CAST ... WITHOUT FUNCTION. Disallow
commitea47af0eeaa03c3c07f8684b8c8fe9a0d1441d93
authorheikki <heikki>
Wed, 4 Mar 2009 11:53:53 +0000 (4 11:53 +0000)
committerheikki <heikki>
Wed, 4 Mar 2009 11:53:53 +0000 (4 11:53 +0000)
treefc64c89a53624daf5d80cc5322af8d3157c5e67a
parent6f995685a84c5f5e0b867218e710232e3211056f
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