pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Perdue <tim@perdue.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: pl/pgsql question
Date: Tue, 17 Dec 2002 23:26:18 -0500
Message-ID: <19736.1040185578@sss.pgh.pa.us> (raw)
In-Reply-To: <3DFFF5AB.1080004@perdue.net>
References: <3DFFF5AB.1080004@perdue.net>

Tim Perdue <tim@perdue.net> writes:
> I have created a function in pl/pgsql to modify a row before it gets put 
                                           ^^^^^^^^^^^^^^^^^^^
> into the database, but it seems my modification is being ignored, and 
> the unmodified row is being inserted.

> CREATE TRIGGER projtask_insert_depend_trig AFTER INSERT ON project_task
                                             ^^^^^^^^^^^^
>          FOR EACH ROW EXECUTE PROCEDURE projtask_insert_depend();

I believe I see your problem ...

			regards, tom lane



view thread (15+ messages)  latest in thread

Message-ID: <19736.1040185578@sss.pgh.pa.us>
Permalink:  ../19736.1040185578@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/19736.1040185578@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, tim@perdue.net
  Subject: Re: pl/pgsql question
  In-Reply-To: <19736.1040185578@sss.pgh.pa.us>

* 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