]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commitcc5de7ba255dad24e57fd77578a70581a17a8b2c
treedc0fb0168e270737417d002355e7f773bb3439e8
parent030da9b6fd5254a0878bcf9fab10cf70c86d4927
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: https://postgr.es/m/CACJufxHMR8_4WooDPjjvEdaxB2hQ5a49qthci8fpKP0MKemVRQ@mail.gmail.com
doc/src/sgml/ref/create_domain.sgml