Re: Can I get the default value for an attribute (field) ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can I get the default value for an attribute (field) ?
Дата
Msg-id 2689.986166165@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Can I get the default value for an attribute (field) ?  (Joel Burton <jburton@scw.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Ok, why isn't it using *this* index?
Следующее
От: Paul Tomblin
Дата:
Сообщение: Re: Ok, why isn't it using *this* index?