> > The description of the "substring" function in the 7.1 docs is still wrong:
> > substring('Thomas' from 2 for 3) -> 'oma'
> > No, it's 'hom'.
>
> Yup. I should have used the database to calculate it, eh? Will be fixed.
> Thanks.
I see in SGML:
<entry><literal>substring('Thomas' from 2 for 3)</literal></entry>
<entry><literal>hom</literal></entry>
Looks OK to me, and in the database:
test=> select substring('Thomas' from 2 for 3);
substring
-----------
hom
(1 row)
My guess is that we fixed it after 7.1.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026