Re: pgsql: Use double quotes for quoting xml attributes.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Peter Eisentraut <petere(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Use double quotes for quoting xml attributes.
Date: 2007-11-25 18:05:10
Message-ID: 18416.1196013910@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-11-25 18:53:38 Re: pgsql: Fix XML tag namespace change inadvertantly missed from previous
Previous Message User Heder 2007-11-25 17:59:42 randdataset - randdataset: * use EXTRA_DIST instead of