Re: Proposal: move column defaults into pg_attribute along with attacl

Поиск
Список
Период
Сортировка
От Alex Hunsaker
Тема Re: Proposal: move column defaults into pg_attribute along with attacl
Дата
Msg-id 34d269d40809211339t60efcb67r4f727cb792df3a10@mail.gmail.com
обсуждение исходный текст
Ответ на Proposal: move column defaults into pg_attribute along with attacl  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Sep 21, 2008 at 11:09 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> A possible objection to this plan is that if the column-level privileges
> patch doesn't get in, then we're left with a useless column in
> pg_attribute.  But an always-null column doesn't cost much of anything,
> and we know that sooner or later we will support per-column ACLs:
> they are clearly useful as well as required by spec.  So any
> inefficiency would only be transient anyway.
>
> Thoughts, objections?

Hrm, I thought if anything we wanted to put them in pg_constraints (at
least inherited ones).  Now maybe I have defaults confused with NOT
NULLs... But don't we want to be able to give defaults names and and
such?


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Predictable order of SQL commands in pg_dump
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Foreign key constraint for array-field?