Re: [INTERFACES] escaping characters ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [INTERFACES] escaping characters ...
Дата
Msg-id 14678.947022205@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [INTERFACES] escaping characters ...  (Michael Meskes <meskes@postgresql.org>)
Список pgsql-interfaces
Michael Meskes <meskes@postgreSQL.org> writes:
> On Tue, Jan 04, 2000 at 01:12:58PM -0500, Tom Lane wrote:
>> When generating quoted strings for use in SQL commands, you should
>> prefix single-quote (') and backslash (\) characters with a backslash.

> Isn't the correct way to quote a single-quote with yet another single-quote?

Yeah, doubled '' works too (but only in SQL literals, not in COPY data).
Take your pick...
        regards, tom lane


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [INTERFACES] escaping characters ...
Следующее
От: "Joe Shevland"
Дата:
Сообщение: Re: [INTERFACES] escaping characters ...