Re: Old/New - Mailing list pgsql-general

From Tom Lane
Subject Re: Old/New
Date
Msg-id 21062.1264197902@sss.pgh.pa.us
Whole thread Raw
In response to Re: Old/New  ("Bob Pawley" <rjpawley@shaw.ca>)
Responses Re: Old/New  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-general
"Bob Pawley" <rjpawley@shaw.ca> writes:
> Instead I get two identical rows inserted containing  the fluid_id = '3501'
> and 'Pump #1'.

Seems like the only way that's possible with the INSERT .. VALUES
formulation is if the trigger function gets executed twice.  Maybe you
accidentally created two instances of the trigger?  psql's \d on the
table should list the triggers for you.

            regards, tom lane

pgsql-general by date:

Previous
From: "Informatica-Cooperativa Cnel. Oviedo"
Date:
Subject: Sugerencia de opcion
Next
From: Adrian Klaver
Date:
Subject: Re: Old/New