pgsql: Fix bogus logic for skipping unnecessary partcollationdependenc - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix bogus logic for skipping unnecessary partcollationdependenc
Date
Msg-id E1gXXKm-0007sI-Bb@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/84d514887f9ca673ae688d00f8b544e70f1ab270

Modified Files
--------------
src/backend/catalog/heap.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: pgsql: Fix wrong backpatching of ginRedoDeletePage() deadlock fix
Next
From: Andres Freund
Date:
Subject: pgsql: Create a separate oid range for oids assigned by genbki.pl.