Re: pgsql problem - Mailing list pgsql-sql

From Grignon Etienne
Subject Re: pgsql problem
Date
Msg-id 006f01c2de9f$6eb112e0$0201a8c0@zimmer
Whole thread Raw
In response to Re: pgsql problem  (Christoph Haller <ch@rodos.fzk.de>)
Responses Re: pgsql problem  ("Victor Yegorov" <viy@pirmabanka.lv>)
List pgsql-sql

> >
> > 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



pgsql-sql by date:

Previous
From: "Dan Langille"
Date:
Subject: Re: Analyse article
Next
From: Tom Lane
Date:
Subject: Re: GiST, Not Using Index