From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc
Date: Thu, 13 Dec 2018 20:11:48 +0000
Message-ID: <E1gXXKm-0007sL-Bq@gemulon.postgresql.org> (raw)
Fix bogus logic for skipping unnecessary partcollation dependencies.
The idea here is to not call recordDependencyOn for the default collation,
since we know that's pinned. But what the code actually did was to record
the partition key's dependency on the opclass twice, instead.
Evidently introduced by sloppy coding in commit 2186b608b. Back-patch
to v10 where that came in.
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/8b90174e3f0638ff542bef7f367429750d18b08c
Modified Files
--------------
src/backend/catalog/heap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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: Fix bogus logic for skipping unnecessary partcollation dependenc
In-Reply-To: <E1gXXKm-0007sL-Bq@gemulon.postgresql.org>
References: <E1gXXKm-0007sL-Bq@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