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.


-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql

Reply via email to