Re: Proposal: move column defaults into pg_attribute along with attacl - Mailing list pgsql-hackers

From Alex Hunsaker
Subject Re: Proposal: move column defaults into pg_attribute along with attacl
Date
Msg-id [email protected]
Whole thread Raw
In response to Proposal: move column defaults into pg_attribute along with attacl  (Tom Lane <[email protected]>)
List pgsql-hackers
On Sun, Sep 21, 2008 at 11:09 AM, Tom Lane <[email protected]> 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Predictable order of SQL commands in pg_dump
Next
From: Simon Riggs
Date:
Subject: Re: Foreign key constraint for array-field?