Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y3Oii-0005yA-JQ for pgsql-committers@arkaria.postgresql.org; Tue, 23 Dec 2014 12:37:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y3Oih-0004Es-LE for pgsql-committers@arkaria.postgresql.org; Tue, 23 Dec 2014 12:37:47 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y3Oig-0004El-WC for pgsql-committers@postgresql.org; Tue, 23 Dec 2014 12:37:47 +0000 Received: from outmail149080.authsmtp.com ([62.13.149.80]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y3Oic-0001kw-Aj for pgsql-committers@postgresql.org; Tue, 23 Dec 2014 12:37:44 +0000 Received: from mail-c235.authsmtp.com (mail-c235.authsmtp.com [62.13.128.235]) by punt17.authsmtp.com (8.14.2/8.14.2/) with ESMTP id sBNCbep9085449 for ; Tue, 23 Dec 2014 12:37:40 GMT Received: from alvin.alvh.no-ip.org (pc-144-132-215-201.cm.vtr.net [201.215.132.144]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id sBNCbbB6032390 for ; Tue, 23 Dec 2014 12:37:39 GMT Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id B85BB79B; Tue, 23 Dec 2014 09:37:49 -0300 (CLST) Date: Tue, 23 Dec 2014 09:37:49 -0300 From: Alvaro Herrera To: pgsql-committers@postgresql.org Subject: Re: pgsql: get_object_address: separate domain constraints from table const Message-ID: <20141223123749.GK1768@alvh.no-ip.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Server-Quench: 7b4d119c-8aa0-11e4-b396-002590a15da7 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZcSBoa BzkeAQdJTRslYBtL RB4bawxAL0wRWh9I NgNRKV9WMUEASEtC cyZUGBADEggyGD9r NEgGIwdefT4bDBpo UElNUlNQHgZvCx8I SBweUwdwdgBYeX1y e0dmWm9eVENldQg+ MDAnRz90Y2djamMW UA5ZcwdRPgQYektE a1ksSXtcMGUaZ3s1 Q0o5ZGFveG0HcnkE GghUcF4bHlAxE2x0 dDslOBAOIXEofR4G ZwQpMUcYTg4eP1kF NlEjVFkEBBYeBhdT BFofSDRUP1AbTjYm RQ9dWEcfFl8VSiBa GQEyKx5OHicaVDBf AQNZQhsLBmtOVy9T VF4A X-Authentic-SMTP: 61633235383639.1023:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 201.215.132.144/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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 -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers