Add some sanity checks to CREATE CAST ... WITHOUT FUNCTION. Disallow
authorHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 4 Mar 2009 11:53:53 +0000 (11:53 +0000)
committerHeikki Linnakangas <heikki@enterprisedb.com>
Wed, 4 Mar 2009 11:53:53 +0000 (11:53 +0000)
commitffeff6ebd78c850efe1eb39da0bed09b7fa133fb
tree0a9b4d57f99ed982b5751bea3b41ec5d6780273d
parent72431744d7bfb861dd9012934dff281f2175f11d
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