]> granicus.if.org Git - postgresql/commit
Clean up partcollation handling for OID 0.
authorRobert Haas <rhaas@postgresql.org>
Tue, 6 Jun 2017 15:07:20 +0000 (11:07 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 6 Jun 2017 15:07:20 +0000 (11:07 -0400)
commit2186b608b3cb859fe0ec04015a5c4e4cbf69caed
tree1a2c70b47bd97c0ad34ce99fdda0c5e00b927ae9
parent0f33ee0e3b7527fb0c88abf0ae8a49a9c38d9c0e
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
doc/src/sgml/catalogs.sgml
src/backend/catalog/heap.c