split_part bug

Поиск
Список
Период
Сортировка
От John Hansen
Тема split_part bug
Дата
Msg-id 1100727650.32413.4.camel@localhost.localdomain
обсуждение исходный текст
Ответы Re: split_part bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
PostgreSQL 8.0b4 as released.

select split_part('a b c d e f g h i j k l m n o p q r s t u v w x y
z',' ',1);
select split_part('a b c d e f g h i j k l m n o p q r s t u v w x y
z',' ',2);
select split_part('a b c d e f g h i j k l m n o p q r s t u v w x y
z',' ',3);
select split_part('a b c d e f g h i j k l m n o p q r s t u v w x y
z',' ',4);

should return a b c, and d
returns a, null, null, null

select split_part('a b c d e f g h i j k l m n o p q r s t u v w x y
z',' ',2);
select split_part('a b c d e f g h i j k l m n o p q r s t u v w x y
z',' ',3);
select split_part('a b c d e f g h i j k l m n o p q r s t u v w x y
z',' ',4);

should return b c, and d
returns b, c, null

... John



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ambiguous column names in subqueries
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: ambiguous column names in subqueries