Clean up partcollation handling for OID 0.

Robert Haas <rhaas@postgresql.org>

Commit: 2186b608b3cb859fe0ec04015a5c4e4cbf69caed
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-06-06T15:07:20Z
Releases: 10.0
Clean up partcollation handling for OID 0.

Consistent with what we do for indexes, we shouldn't try to record
dependencies on collation OID 0 or the default collation OID (which
is pinned).  Also, the fact that indcollation and partcollation can
contain zero OIDs when the data type is not collatable should be
documented.

Amit Langote, per a complaint from me.

Discussion: http://postgr.es/m/CA+Tgmoba5mtPgM3NKfG06vv8na5gGbVOj0h4zvivXQwLw8wXXQ@mail.gmail.com

Files

PathChange+/−
doc/src/sgml/catalogs.sgml modified +4 −2
src/backend/catalog/heap.c modified +8 −3

Documentation touched

Discussion