Re: use of dblink_build_sql_insert() induces a server crash

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: use of dblink_build_sql_insert() induces a server crash
Дата
Msg-id 4B69BB90.5050607@joeconway.com
обсуждение исходный текст
Ответ на use of dblink_build_sql_insert() induces a server crash  (Rushabh Lathia <rushabh.lathia@gmail.com>)
Ответы Re: use of dblink_build_sql_insert() induces a server crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 02/03/2010 04:49 AM, Rushabh Lathia wrote:
>
> create table foo (a  int );
> postgres=# SELECT dblink_build_sql_insert('foo','1 2',2,'{\"0\",
> \"a\"}','{\"99\", \"xyz\"}');
> HINT:  Use the escape string syntax for escapes, e.g., E'\r\n'.
> server closed the connection unexpectedly

The problem exists with all three dblink_build_sql_* functions. Here is
a more complete patch. If there are no objections I'll apply this to
HEAD and look at back-patching -- these functions have hardly been
touched since inception.

Joe

Вложения

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

Предыдущее
От: Aidan Van Dyk
Дата:
Сообщение: Re: PG 9.0 and standard_conforming_strings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: use of dblink_build_sql_insert() induces a server crash