pgsql: Fix map_sql_value_to_xml_value() to treat domains like their bas

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix map_sql_value_to_xml_value() to treat domains like their bas
Date: 2013-03-04 00:32:42
Message-ID: E1UCJKc-0004Ch-VA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix map_sql_value_to_xml_value() to treat domains like their base types.

This was already the case for domains over arrays, but not for domains
over certain built-in types such as boolean. The special formatting
rules for those types should apply to domains over them as well.
Per discussion.

While this is a bug fix, it's also a behavioral change that seems likely
to trip up some applications. So no back-patch.

Pavel Stehule

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/bc61878682051678ade5f59da7bfd90ab72ce13b

Modified Files
--------------
src/backend/utils/adt/xml.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Kevin Grittner 2013-03-04 00:34:44 Re: Materialized views WIP patch
Previous Message Josh Berkus 2013-03-04 00:27:02 Re: Materialized views WIP patch