Re: pgsql: Use double quotes for quoting xml attributes.
Re: pgsql: Use double quotes for quoting xml attributes.
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
Andrew Dunstan 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: Use double quotes for quoting xml attributes.
От:
petere@postgresql.org (Peter Eisentraut)
Дата:
Log Message:
-----------
Use double quotes for quoting xml attributes.
Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.59 -> r1.60)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c?r1=1.59&r2=1.60)
Re: pgsql: Use double quotes for quoting xml attributes.
От:
Andrew Dunstan <andrew@dunslane.net>
Дата:
Peter Eisentraut wrote: > Log Message: > ----------- > Use double quotes for quoting xml attributes. > > > Why? Just for consistency? Single quotes are perfectly legal. cheers andrew