pgsql: Infer functional dependency past RelabelType

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Infer functional dependency past RelabelType
Date: 2017-10-12 15:34:48
Message-ID: E1e2fVY-0003J8-5S@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Infer functional dependency past RelabelType

Vars hidden within a RelabelType would not be detected as compatible
with some functional dependency. Repair by properly ignoring the
RelabelType.

Author: David Rowley
Reviewed-by: Tomas Vondra
Discussion: https://postgr.es/m/CAKJS1f-y-UEy=rsBXynBOgiW1fKMr_LVoYSGL9QOc36mLEC-ww@mail.gmail.com

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a01a3d931e5a14d60eec75f7945d5e66ff9cc575

Modified Files
--------------
src/backend/statistics/dependencies.c | 8 ++++++++
1 file changed, 8 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-10-12 15:36:29 pgsql: Doc: fix typo in release notes.
Previous Message Tom Lane 2017-10-12 15:30:00 Re: pgsql: Add configure infrastructure to detect support for C99's restric