]> 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)
commitd6d9ea0a468bd5a8bf0feb98e41f1ecb4b8a173d
treee51d4e73a182577ac62db036b7d1bd9ff4587e82
parent3f7f06738529f4a71cf33c79654954e6178972a1
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