Re: how to preserve \n in select statement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: how to preserve \n in select statement
Дата
Msg-id 17818.1071945326@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: how to preserve \n in select statement  ("Matt Van Mater" <nutter_@hotmail.com>)
Список pgsql-sql
"Matt Van Mater" <nutter_@hotmail.com> writes:
>> In particular, you have to separate data from SQL command if you want a
>> no-escape-processing behavior for data.

> right, I was looking for the alternate input methods that you allude to.  I 
> have been unable to find an example of exactly how to do this.

The best way at the moment is to use the parameterized-statement
features that are new in 7.4.  If using libpq, see PQexecParams()
and siblings.
        regards, tom lane


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

Предыдущее
От: "Matt Van Mater"
Дата:
Сообщение: Re: how to preserve \n in select statement
Следующее
От: Daniel Lau
Дата:
Сообщение: Get x from point?