Thread: Trigger

Trigger

From
"Eugen Gass"
Date:
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

Best Regards

EG