pgsql: Casts to or from a domain type are ignored; warn and document.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Casts to or from a domain type are ignored; warn and document.
Date: 2012-04-24 13:21:36
Message-ID: E1SMfgW-0002sx-Vw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3ce7f18e92e9687308ed5d9e516eb7e2f0decadb

Modified Files
--------------
doc/src/sgml/ref/create_cast.sgml | 5 +++++
src/backend/commands/functioncmds.c | 11 +++++++++++
src/test/regress/expected/privileges.out | 1 +
3 files changed, 17 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2012-04-24 18:16:42 pgsql: Fix minor stylistic issue
Previous Message Robert Haas 2012-04-24 12:16:59 Re: pgsql: Lots of doc corrections.