Re: default value based on select - Mailing list pgsql-general

From Volkan YAZICI
Subject Re: default value based on select
Date
Msg-id 87hcegbk1e.fsf@alamut.mobiliz.com.tr
Whole thread Raw
In response to Re: default value based on select  (Pedro Doria Meunier <pdoria@netmadeira.com>)
List pgsql-general
On Sat, 5 Apr 2008, Pedro Doria Meunier <pdoria@netmadeira.com> writes:
> The record being created has a column with an Id that has to be passed as an
> argument to the function that, in turn, fills the other column in the same
> record.

Doesn't BEFORE INSERT/UPDATE trigger solve this problem? (If not, I
wonder what is missing.)


Regards.

pgsql-general by date:

Previous
From: Pedro Doria Meunier
Date:
Subject: Re: default value based on select
Next
From: Glyn Astill
Date:
Subject: Re: [Slony1-general] ERROR: XX000: cache lookup failed for relation