pgsql: Fix make_greater_string to not have an undocumented collation as

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix make_greater_string to not have an undocumented collation as
Date: 2011-04-08 21:40:48
Message-ID: E1Q8JQ8-0005js-Qf@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix make_greater_string to not have an undocumented collation assumption.

The previous coding worked only if ltproc->fn_collation was always either
DEFAULT_COLLATION_OID or a C-compatible locale. While that's true at the
moment, it wasn't documented (and in fact wasn't true when this code was
committed...). But it only takes a couple more lines to make its internal
caching behavior locale-aware, so let's do that.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/466dac8656c11317b91c1a4bfd5cfca4508cba94

Modified Files
--------------
src/backend/utils/adt/selfuncs.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Hinoue 2011-04-08 22:35:42 psqlodbc - psqlodbc: Resolve the trouble introduced by the change
Previous Message Robert Haas 2011-04-08 20:52:55 pgsql: Truncate the predicate lock SLRU to empty, instead of almost emp