Re: use of dblink_build_sql_insert() induces a server crash

Joe Conway <mail@joeconway.com>

From: Joe Conway <mail@joeconway.com>
To: Rushabh Lathia <rushabh.lathia@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2010-02-03T17:26:52Z
Lists: pgsql-hackers
On 02/03/2010 04:49 AM, Rushabh Lathia wrote:
> Testcase:
> 
> 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

Thanks for the report -- will have a look later today.

Joe