Re: Strange query behavior where clause produces odd behavior on '>' query

Поиск
Список
Период
Сортировка
От Dann Corbit
Тема Re: Strange query behavior where clause produces odd behavior on '>' query
Дата
Msg-id D425483C2C5C9F49B5B7A41F89441547010011EF@postal.corporate.connx.com
обсуждение исходный текст
Ответ на Re: Strange query behavior where clause produces odd behavior on '>' query  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Strange query behavior where clause produces odd behavior on '>' query  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: Thursday, October 30, 2008 5:31 PM
> To: Dann Corbit
> Cc: [HACKERS]; Sherry Griffin
> Subject: Re: [HACKERS] Strange query behavior where clause produces
odd
> behavior on '>' query
>
> "Dann Corbit" <DCorbit@connx.com> writes:
> > The following query:
> > SELECT * FROM Customers_connxstore where customerid > 'specd'
> > Returns the row containing Customers_connxstore.customerid ==
'SPECD'
>
> What encoding/locale are you using?

Whatever the default encoding/locale is.
I did not define any custom encoding, locale, or collating sequence.

> And while I'm asking, which PG
> version?

All versions from PostgreSQL 7.1.3 to "PostgreSQL 8.3.3, compiled by
Visual C++ build 1400" seem to display this behavior.
Are you unable to reproduce it?



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Robert Haas"
Дата:
Сообщение: Re: Sun Studio compiler warnings
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Strange query behavior where clause produces odd behavior on '>' query