Re: Insert Or update

From: Igor Shevchenko <igor(at)carcass(dot)ath(dot)cx>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Insert Or update
Date: 2004-04-23 18:01:00
Message-ID: 200404232101.00957.igor@carcass.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 23 April 2004 20:41, Bruno Wolff III wrote:
> I suspect most of the people doing this have something wrong with their
> design in the first place.

Not really.

Here's a simple example. I have a set of mailboxes and I needed to implement a
gui widget to assign/remove them to/from a workspace. When the widget starts,
there are two lists: first with assigned, second with unassigned (all other)
mailboxes. User moves data from one list to another and some back, etc, and
hits "OK" button. It appeared that the easiest way to sync this widget's data
with the database was via insert-or-update path.

--
Best regards,
Igor Shevchenko

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sumita Biswas 2004-04-23 18:27:22 Re: Postgres DB
Previous Message Bruno Wolff III 2004-04-23 17:41:15 Re: Insert Or update