pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Refactor check_functional_grouping() to use get_primary_key_attn
Date: Thu, 11 Feb 2016 22:52:11 +0000
Message-ID: <E1aU05r-000650-4R@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Refactor check_functional_grouping() to use get_primary_key_attnos().

If we ever get around to allowing functional dependency to be proven
from other things besides simple primary keys, this code will need to
be rethought, but that was true anyway.  In the meantime, we might as
well not have two very-similar routines for scanning pg_constraint.

David Rowley, reviewed by Julien Rouhaud

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f144f73242acef574bc27a4c70e809a64806e4a4

Modified Files
--------------
src/backend/catalog/pg_constraint.c | 110 +++++++++---------------------------
1 file changed, 26 insertions(+), 84 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1aU05r-000650-4R@gemulon.postgresql.org>
Permalink:  ../E1aU05r-000650-4R@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1aU05r-000650-4R@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Refactor check_functional_grouping() to use get_primary_key_attn
  In-Reply-To: <E1aU05r-000650-4R@gemulon.postgresql.org>
  References: <E1aU05r-000650-4R@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox