| From: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
|---|---|
| To: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | "[HACKERS]" <pgsql-hackers(at)postgresql(dot)org>, "Sherry Griffin" <sgriffin(at)connx(dot)com> |
| Subject: | Re: Strange query behavior where clause produces odd behavior on '>' query |
| Date: | 2008-10-31 01:28:26 |
| Message-ID: | D425483C2C5C9F49B5B7A41F89441547010011EF@postal.corporate.connx.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> -----Original Message-----
> From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)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(at)connx(dot)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?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jason Long | 2008-10-31 01:29:24 | Re: Decreasing WAL size effects |
| Previous Message | Greg Smith | 2008-10-31 01:18:08 | Re: Decreasing WAL size effects |