pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ssylla <stefansylla@gmx.de>
To: pgsql-sql@postgresql.org
Subject: Re: update column based on postgis query on anther table
Date: Tue, 16 Jul 2013 00:57:48 -0700 (PDT)
Message-ID: <1373961468438-5763904.post@n5.nabble.com> (raw)
In-Reply-To: <317.1373952273@sss.pgh.pa.us>
References: <51E4B5A5.4040805@gmx.de>
	<317.1373952273@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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-tp57638...
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



view thread (5+ messages)  latest in thread

Message-ID: <1373961468438-5763904.post@n5.nabble.com>
Permalink:  ../1373961468438-5763904.post@n5.nabble.com/
Also on:    postgresql.org/message-id/1373961468438-5763904.post@n5.nabble.com

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: stefansylla@gmx.de
  Subject: Re: update column based on postgis query on anther table
  In-Reply-To: <1373961468438-5763904.post@n5.nabble.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox