Updating & inserting in one shot!

From: Vittorio <vdemart1(at)tin(dot)it>
To: pgsql-general(at)postgresql(dot)org
Subject: Updating & inserting in one shot!
Date: 2006-04-10 08:40:21
Message-ID: 10a82f56549.vdemart1@tin.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

In my Postgresql 8.06 db I have a table in which the key fields are a
date and a code.

Now I need to load data from a text file (or a
temporary table) that either should update OR should be insert-ed into
that table.

Is there any ready-to-use, contributed function allowing
this 1-shot update-insert into a table?

Ciao
Vittorio

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2006-04-10 08:41:33 Re: Creating a trigger on n tables?
Previous Message surabhi.ahuja 2006-04-10 07:09:43 Re: postmaster going down own its on