]> granicus.if.org Git - postgresql/commit
Casts to or from a domain type are ignored; warn and document.
authorRobert Haas <rhaas@postgresql.org>
Tue, 24 Apr 2012 13:20:53 +0000 (09:20 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 24 Apr 2012 13:20:53 +0000 (09:20 -0400)
commit3ce7f18e92e9687308ed5d9e516eb7e2f0decadb
treef4a22b79b2e5bd859e1b2c9689da043fa85e11c0
parente4f06b70c9ac1473591d705990a8b601915ce4bd
Casts to or from a domain type are ignored; warn and document.

Prohibiting this outright would break dumps taken from older versions
that contain such casts, which would create far more pain than is
justified here.

Per report by Jaime Casanova and subsequent discussion.
doc/src/sgml/ref/create_cast.sgml
src/backend/commands/functioncmds.c
src/test/regress/expected/privileges.out