Re: Can I get the default value for an attribute (field) ? - Mailing list pgsql-general

From Tom Lane
Subject Re: Can I get the default value for an attribute (field) ?
Date
Msg-id 2689.986166165@sss.pgh.pa.us
Whole thread Raw
In response to Can I get the default value for an attribute (field) ?  (Joel Burton <jburton@scw.org>)
List pgsql-general
Joel Burton <jburton@scw.org> writes:
> Is there a way to get what the default value for a field would be when a
> new record is added?

pg_attrdef is it.  Sorry it's not pretty enough for you ...

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Ok, why isn't it using *this* index?
Next
From: Paul Tomblin
Date:
Subject: Re: Ok, why isn't it using *this* index?