Re: Triggers - Mailing list pgsql-general

From Jean-Christian Imbeault
Subject Re: Triggers
Date
Msg-id 3D5D0DDC.5090305@mega-bucks.co.jp
Whole thread Raw
In response to Re: Triggers  (Darren Ferguson <darren@crystalballinc.com>)
Responses Re: Triggers - with a little change  (GB Clark <postgres@vsservices.com>)
List pgsql-general
Darren Ferguson wrote:
>
> Seems really odd that you would do it this way. I can't think why you
> would not get the value first and then insert inot the table. I am
> assuming you get the value via (a).

I'm doing it this way for speed. I'm using PHP for the client and having
the client look up a value is much slower than having a trigger look it
up for me. At least I hope so ...

Jc


pgsql-general by date:

Previous
From: Darren Ferguson
Date:
Subject: Re: Triggers
Next
From: Tom Lane
Date:
Subject: Re: Triggers