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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Use double quotes for quoting xml attributes.
Дата
Msg-id 18416.1196013910@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Use double quotes for quoting xml attributes.  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-committers
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

В списке pgsql-committers по дате отправления: