Doc: clarify the default collation behavior of domains.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Jun 2022 21:47:09 +0000 (17:47 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Jun 2022 21:47:09 +0000 (17:47 -0400)
commitbe35a6456901cfdf4df91697370dc5edac7e58c5
tree26676c386111746f1e9366fafe48e10e32b01043
parent164d174bbf9a3aba719c845497863cd3c49a3ad0
Doc: clarify the default collation behavior of domains.

The previous wording was "the underlying data type's default collation
is used", which is wrong or at least misleading.  The domain inherits
the base type's collation behavior, which if "default" actually can
mean that we use some non-default collation obtained from elsewhere.

Per complaint from Jian He.

Discussion: http://postgr.es/m/CACJufxHMR8_4WooDPjjvEdaxB2hQ5a49qthci8fpKP0MKemVRQ@mail.gmail.com
doc/src/sgml/ref/create_domain.sgml