From: | John Hansen <john(at)geeknet(dot)com(dot)au> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | split_part bug |
Date: | 2004-11-17 21:40:50 |
Message-ID: | 1100727650.32413.4.camel@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs 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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-11-17 21:58:27 | Re: [HACKERS] split_part bug |
Previous Message | Tom Lane | 2004-11-17 21:23:37 | pgsql: Remove ill-considered suppression of gcc warnings in plperl, and |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-11-17 21:41:09 | Re: ambiguous column names in subqueries |
Previous Message | Tom Lane | 2004-11-17 21:39:05 | Re: pg_resetxlog options |