pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grignon Etienne <egrignon@egrignon.com>
To: pgsql-sql@postgresql.org
Subject: Re: pgsql problem
Date: Thu, 27 Feb 2003 21:33:04 +0100
Message-ID: <006f01c2de9f$6eb112e0$0201a8c0@zimmer> (raw)
References: <3E5E23B1.5D8049C5@rodos.fzk.de>



> >
> > CREATE TRIGGER OnCreateUser
> > AFTER INSERT
> > ON users FOR EACH ROW
> > EXECUTE PROCEDURE CreateUserTrig();
> >
> Have you thought of using BEFORE INSERT instead of AFTER INSERT?


Well, no, but I want to do it only after the insert because I will use the
primary key to insert it in an other table, so I have to be sure that it has
been inserted.
Could you explain to me why it doesn't work ?

--
GRIGNON Etienne
Epitech Promo 2005
egrignon@egrignon.com
http://www.egrignon.com
http://www.hans-zimmer.com




view thread (6+ messages)  latest in thread

Message-ID: <006f01c2de9f$6eb112e0$0201a8c0@zimmer>
Permalink:  ../006f01c2de9f$6eb112e0$0201a8c0@zimmer/
Also on:    postgresql.org/message-id/006f01c2de9f$6eb112e0$0201a8c0@zimmer

 · 

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: egrignon@egrignon.com
  Subject: Re: pgsql problem
  In-Reply-To: <006f01c2de9f$6eb112e0$0201a8c0@zimmer>

* 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