Re: use of dblink_build_sql_insert() induces a server crash

From: Joe Conway <mail(at)joeconway(dot)com>
To: Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: use of dblink_build_sql_insert() induces a server crash
Date: 2010-02-03 17:26:52
Message-ID: 4B69B1DC.8030208@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2010-02-03 17:27:27 Re: Add on_trusted_init and on_untrusted_init to plperl UPDATED [PATCH]
Previous Message Alex Hunsaker 2010-02-03 17:21:49 Re: Add on_trusted_init and on_untrusted_init to plperl UPDATED [PATCH]