Re: pg_dump error - LOCALIZATION PROBLEM - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: pg_dump error - LOCALIZATION PROBLEM
Date
Msg-id Pine.LNX.4.30.0109170100180.856-100000@peter.localdomain
Whole thread Raw
In response to Re: pg_dump error - LOCALIZATION PROBLEM  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dump error - LOCALIZATION PROBLEM
List pgsql-general
Tom Lane writes:

> Hmm.  Given that we expect the lexer to have downcased any unquoted
> words, this seems like a workable solution --- where else are we using
> strcasecmp() unnecessarily?

I've identified several other such places.  However, in reality we have to
consider every single strcasecmp() call suspicious.  In many places an
ASCII-only alternative is needed or the code needs to be rewritten.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: Bolt Thrower
Date:
Subject: sequences: log_cnt?
Next
From: Tom Lane
Date:
Subject: Re: pg_dump error - LOCALIZATION PROBLEM