default value based on select - Mailing list pgsql-general

From Pedro Doria Meunier
Subject default value based on select
Date
Msg-id 200804051056.10433.pdoria@netmadeira.com
Whole thread Raw
Responses Re: default value based on select
Re: default value based on select
List pgsql-general
Hi,

Is it possible to have a table's column default value set to some form of
select?

e.g. picking another table's value for a given SELECT ... WHERE ...

Already thankful for any insight,
--
Pedro Doria Meunier
Ips. da Olaria, Edf. Jardins do Garajau, 4, r/c Y
9125-162 Caniço
Madeira - Portugal
--------------------------------------------------
Skype : pdoriam
Mobile: +351961720188

Attachment

pgsql-general by date:

Previous
From: Tomasz Ostrowski
Date:
Subject: Re: simple update queries take a long time - postgres 8.3.1
Next
From: "Pavel Stehule"
Date:
Subject: Re: default value based on select