Re: update column based on postgis query on anther table - Mailing list pgsql-sql

From ssylla
Subject Re: update column based on postgis query on anther table
Date
Msg-id 1373961468438-5763904.post@n5.nabble.com
Whole thread Raw
In response to Re: update column based on postgis query on anther table  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: update column based on postgis query on anther table
List pgsql-sql
Hi Tom,

I tried changing the trigger to be BEFORE instead of AFTER:

create trigger test1_point_get_id_test1_poly before insert or update on test1_point for each row execute procedure
test1_point_get_id_test1_poly();

But the problem persits, the column id_test1_poly remains empty.

Stefan



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/update-column-based-on-postgis-query-on-anther-table-tp5763886p5763904.html
Sent from the PostgreSQL - sql mailing list archive at Nabble.com.



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: update column based on postgis query on anther table
Next
From: Igor Neyman
Date:
Subject: Re: update column based on postgis query on anther table