INSERT before UPDATE?

Поиск
Список
Период
Сортировка
От Jiří Němec
Тема INSERT before UPDATE?
Дата
Msg-id 1709625296.20070816103001@menea.cz
обсуждение исходный текст
Ответы Re: INSERT before UPDATE?
Список 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 по дате отправления: