Re: pgsql: get_object_address: separate domain constraints from table const

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: get_object_address: separate domain constraints from table const
Date: 2014-12-23 12:37:49
Message-ID: 20141223123749.GK1768@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Alvaro Herrera wrote:
> get_object_address: separate domain constraints from table constraints
>
> Apart from enabling comments on domain constraints, this enables a
> future project to replicate object dropping to remote servers: with the
> current mechanism there's no way to distinguish between the two types of
> constraints, so there's no way to know what to drop.
>
> Also added support for the domain constraint comments in psql's \dd and
> pg_dump.
>
> Catalog version bumped due to the change in ObjectType enum.

Grrr. I neglected to "git add" the catversion.h change :-( Nevermind.
I'm committing another catalog-updating patch shortly.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2014-12-23 13:22:48 pgsql: Use a bitmask to represent role attributes
Previous Message Alvaro Herrera 2014-12-23 12:08:17 pgsql: get_object_address: separate domain constraints from table const