pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc
3+ messages / 1 participants
[nested] [flat]

* pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc
@ 2018-12-13 20:11 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2018-12-13 20:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc
@ 2018-12-13 20:11 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2018-12-13 20:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/171cae1579124a400e234f89c1fc80f3caed5f68

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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc
@ 2018-12-13 20:11 Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2018-12-13 20:11 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2018-12-13 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-12-13 20:11 pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc Tom Lane <tgl@sss.pgh.pa.us>
2018-12-13 20:11 pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc Tom Lane <tgl@sss.pgh.pa.us>
2018-12-13 20:11 pgsql: Fix bogus logic for skipping unnecessary partcollation dependenc Tom Lane <tgl@sss.pgh.pa.us>

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