agora inbox for pgsql-sql@postgresql.org
help / color / mirror / Atom feedFrom: Eugen Gass <gass@intend.de>
To: pgsql-sql@postgresql.org
Subject: Trigger
Date: Wed, 16 Feb 2005 14:44:30 +0100
Message-ID: <LKEAIFJAEICHBHJOIFOCIEBPCAAA.gass@intend.de> (raw)
Hi,
I'm trying to create a trigger on PostgreSQL
it should be like an oracle(sql) sample code:
create or replace trigger frei_polygon_sync
after INSERT on frei_polygon
Referencing NEW as newROW
for each row
Begin
:newRow.objektid := :newRow.gid;
:
end;
Can sombody help me to do the same on Postrgres
Thanks
Best Regards
EG
view thread (14+ messages) latest in thread
Message-ID: <LKEAIFJAEICHBHJOIFOCIEBPCAAA.gass@intend.de>
Permalink: ../LKEAIFJAEICHBHJOIFOCIEBPCAAA.gass@intend.de/
Also on: postgresql.org/message-id/LKEAIFJAEICHBHJOIFOCIEBPCAAA.gass@intend.de
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: gass@intend.de
Subject: Re: Trigger
In-Reply-To: <LKEAIFJAEICHBHJOIFOCIEBPCAAA.gass@intend.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox