Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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(-)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group