[postgis-users] Trigger

Eugen Gass gass at intend.de
Wed Feb 16 06:54:43 PST 2005


Hi,

I'm trying to create a trigger on PostgreSQL+PostGIS

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 please to do the same on Postrgres

Thanks 

Best Regards

EG



More information about the postgis-users mailing list