pgsql: Use double quotes for quoting xml attributes.
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)
Peter Eisentraut wrote:
Log Message:
-----------
Use double quotes for quoting xml attributes.
Why? Just for consistency? Single quotes are perfectly legal.
cheers
andrew
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