transaction

From: "H(dot)J(dot) Sanders" <hjs(at)worldonline(dot)nl>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: transaction
Date: 2004-04-20 19:14:48
Message-ID: KIEBKBGIGGNDKKJJNKCFOELJCJAA.hjs@worldonline.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Hello list.

We are migrating from Informix to PSQL.

In Informix we used to do:

- BEGIN WORK

- INSERT ROW

- IF FAILED THEN UPDATE ROW

- COMMIT WORK

In PSQL this does not seem to work because after the first error (the
insert)
everything is omitted.

Has someone found a solution for this (we have 1000's of this type).

Henk Sanders

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message ow 2004-04-20 19:25:25 Follow-up: FK constraint performance
Previous Message James Robinson 2004-04-20 15:35:39 Re: Prepared Statements and large where-id-in constant blocks?