Re: pgsql problem

From: "Grignon Etienne" <egrignon(at)egrignon(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: pgsql problem
Date: 2003-02-27 20:33:04
Message-ID: 006f01c2de9f$6eb112e0$0201a8c0@zimmer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)egrignon(dot)com
http://www.egrignon.com
http://www.hans-zimmer.com

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-02-27 20:51:42 Re: GiST, Not Using Index
Previous Message Dan Langille 2003-02-27 19:59:46 Re: Analyse article