Re: [HACKERS] BUG #4822: xmlattributes encodes '&' twice

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Itagaki Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: [HACKERS] BUG #4822: xmlattributes encodes '&' twice
Date: 2009-06-09 22:01:29
Message-ID: 200906100101.31614.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

On Thursday 28 May 2009 13:31:16 Itagaki Takahiro wrote:
> Here is a patch to fix the bug. I added a parameter 'encode' to
> map_sql_value_to_xml_value() and pass false for xml attributes.

I have committed your patch with minor editing. Thanks.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2009-06-09 22:06:39 Re: [HACKERS] BUG #4822: xmlattributes encodes '&' twice
Previous Message Tom Lane 2009-06-09 18:33:18 Re: [HACKERS] Re: Cursor with hold emits the same row more than once across commits in 8.3.7

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2009-06-09 22:03:57 Re: postmaster recovery and automatic restart suppression
Previous Message Simon Riggs 2009-06-09 21:54:08 Re: page is uninitialized --- fixing