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