sort question - Mailing list pgsql-jdbc

From Glenn Holmer
Subject sort question
Date
Msg-id 3FDF41E7.3010302@weycogroup.com
Whole thread Raw
Responses Re: sort question  (Dave Cramer <pg@fastcrypt.com>)
Re: sort question  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-jdbc
I don't know if this is a JDBC thing or not, but if I issue this
query:

select distinct style, color, width, size from skiddata
where skidno = 'F3932' order by style, color, width, size;

I get the sizes in order '10 ', '10-', '11 ', '12 ', ' 9 ',
' 9-'.  Shouldn't ' 9 ' and ' 9-' come first?  Have I got
something set up wrong in Postgres?

I'm using Postgres 7.3.2 on SuSE Linux 8.2 (kernel 2.4.20), driver
pg73jdbc3.jar.

--
____________________________________________________________
Glenn Holmer                          gholmer@weycogroup.com
Programmer/Analyst                       phone: 414.908.1809
Weyco Group, Inc.                          fax: 414.908.1601


pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: FW: OID, compatible=7.1 and getBinaryStream() in 7.4
Next
From: Dave Cramer
Date:
Subject: Re: sort question