From: jack <datactrl@tpg.com.au>
To: pgsql-sql@postgresql.org
Subject: Is this a BUG? Is there anyone has the same problem?
Date: Sun, 21 Apr 2002 23:39:44 +1000
Message-ID: <001401c1e93a$00565f40$1400a8c0@jac> (raw)
Providing there is simple table, called "test_xx", which has only one
column, called
"aa" CHAR(16), and the column is set as primary key. Put in some data such
as following.
( _ stands for a space character)
'AA_B'
'AAB'
'BB_123'
'BB123'
Execute following statement with psql.
SELECT * FROM test_xx ORDER BY aa;
I 've got ...
'AAB'
'AA_B'
'BB123'
'BB_123'
But if excute
SELECT subStr(aa, 1,4) FROM test_xx ORDER BY aa;
I've got ..
'AA_B'
'AAB'
BB_12'
BB123'
jack
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: datactrl@tpg.com.au
Subject: Re: Is this a BUG? Is there anyone has the same problem?
In-Reply-To: <001401c1e93a$00565f40$1400a8c0@jac>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox