Is this a BUG? Is there anyone has the same problem?

Поиск
Список
Период
Сортировка
От jack
Тема Is this a BUG? Is there anyone has the same problem?
Дата
Msg-id 001401c1e93a$00565f40$1400a8c0@jac
обсуждение исходный текст
Ответы Re: Is this a BUG? Is there anyone has the same problem?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
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




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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Trying to get query to work
Следующее
От: "postgresql"
Дата:
Сообщение: Re: accept AD35- 6FA9 -9515