INSERT before UPDATE? - Mailing list pgsql-general

From Jiří Němec
Subject INSERT before UPDATE?
Date
Msg-id 1709625296.20070816103001@menea.cz
Whole thread Raw
Responses Re: INSERT before UPDATE?  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
List pgsql-general
Hello,

I would like to ask you for an advice.

There are two tables in my PostgreSQL database - main table with datas and
second with translations for all languages of these records.

When I try to UPDATE a record in the language table and this record
doesn't exists there I need to INSERT into the language table (from
default language version) and execute UPDATE statement again.

Could you tell me if is this possible and if so - how to do it?

Thank you in advance.

--
Jiri Nemec
http://www.meneashop.cz/


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: UTF-8 encoding problem
Next
From: "A. Kretschmer"
Date:
Subject: Re: INSERT before UPDATE?