INSERT OU UPDATE WITHOUT SELECT?

Поиск
Список
Период
Сортировка
От Waldomiro
Тема INSERT OU UPDATE WITHOUT SELECT?
Дата
Msg-id 447C8F1D.8090404@shx.com.br
обсуждение исходный текст
Ответы Re: INSERT OU UPDATE WITHOUT SELECT?
Список pgsql-performance
Hi,

Is there a command to Insert a record If It does not exists and a update if It exists?

I do not want to do a select before a insert or update.

I mean the postgres should test if a record exist before insert and if It exist then the postgres must do an update instead an insert.

Thanks,

WMiro.


В списке pgsql-performance по дате отправления:

Предыдущее
От: Anthony Ransley
Дата:
Сообщение: Split select completes, single select doesn't and becomes IO bound!
Следующее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: INSERT OU UPDATE WITHOUT SELECT?