Subject: pgsql: Use double quotes for quoting xml attributes.
From: tgl@sss.pgh.pa.us (Tom Lane)
Date: 11/25/2007 1:05:10 PM
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
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
|