mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 05:47:04 +02:00
586b98fdf1
The "name" comparison operators now all support collations, making them
functionally equivalent to "text" comparisons, except for the different
physical representation of the datatype. They do, in fact, mostly share
the varstr_cmp and varstr_sortsupport infrastructure, which has been
slightly enlarged to handle the case.
To avoid changes in the default behavior of the datatype, set name's
typcollation to C_COLLATION_OID not DEFAULT_COLLATION_OID, so that
by default comparisons to a name value will continue to use strcmp
semantics. (This would have been the case for system catalog columns
anyway, because of commit
|
||
---|---|---|
.. | ||
plperl | ||
plpgsql | ||
plpython | ||
tcl | ||
Makefile |