Re: pgsql: Use double quotes for quoting xml attributes. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Use double quotes for quoting xml attributes.
Date
Msg-id 18416.1196013910@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Use double quotes for quoting xml attributes.  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
Andrew Dunstan <andrew@dunslane.net> writes:
> Peter Eisentraut wrote:
>> Use double quotes for quoting xml attributes.

> Why? Just for consistency? Single quotes are perfectly legal.

Sure, but double quotes are nicer within data inside a SQL database.
They won't have to be doubled during COPY output, as an example.

            regards, tom lane

pgsql-committers by date:

Previous
From: heder@pgfoundry.org (User Heder)
Date:
Subject: randdataset - randdataset: * use EXTRA_DIST instead of
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous