Re: Safe upsert/merge from servlet

Поиск
Список
Период
Сортировка
От Richard Broersma
Тема Re: Safe upsert/merge from servlet
Дата
Msg-id 396486430910160752w4d7834d0of3287e174e65d846@mail.gmail.com
обсуждение исходный текст
Ответ на Safe upsert/merge from servlet  ("Jonas Donovan Hansen" <jonasdonovan@hotmail.com>)
Список pgsql-jdbc
On Fri, Oct 16, 2009 at 12:05 AM, Jonas Donovan Hansen
<jonasdonovan@hotmail.com> wrote:
> Postgres don’t have an upsert/merge command – how does everybody deal with
> this from an servlet (multi-thread)?


Postgresql doesn't have support for merge at this time as an SQL
command.  However, I've seen some functions developed to simulate
this: http://www.postgresql.org/docs/current/static/plpgsql-control-structures.html#PLPGSQL-UPSERT-EXAMPLE

Regarding the second point, the manual show the capabilities of the
JDBC driver and postgresql:
http://jdbc.postgresql.org/documentation/84/thread.html

--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

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

Предыдущее
От: "Jonas Donovan Hansen"
Дата:
Сообщение: Safe upsert/merge from servlet
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: TimeZone related issues in org.postgresql.jdbc2.TimestampUtils