Update that inserts if necessary

From: Svend Larsen <svendlarsen(at)wanadoo(dot)dk>
To: pgsql-novice(at)postgresql(dot)org
Subject: Update that inserts if necessary
Date: 2001-01-28 12:29:16
Message-ID: 3A74109C.14640756@wanadoo.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello.

Is it possible to make a function that on UPDATE insert the post if
there was no post to update.

Svend Larsen.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message bh08248 2001-01-28 20:23:10 Re: Update that inserts if necessary
Previous Message Tom Lane 2001-01-27 19:53:19 Re: Still lockin up...