LIBPQ Exception

From: "Abraham, Danny" <danny_abraham(at)bmc(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: LIBPQ Exception
Date: 2007-12-12 12:36:35
Message-ID: E9DE7963E5EA6546B42A979EC28B4D0136B28E8C@hou-ex-02.adprod.bmc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

How do I program a DML statement that does not roll back using C.

res=PQexec(conn,"BEGIN; insert into x values(100); exception when others
then null; end;")

fails on syntax.

Any other alternative?

Thanks

Danny

Responses

Browse pgsql-general by date

  From Date Subject
Next Message A. Kretschmer 2007-12-12 12:37:48 Re: very slow query
Previous Message Pavel Stehule 2007-12-12 12:30:18 Re: Possible bug in PostgreSQL 8.3beta4 (postgres process segfaults)