| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | lockhart(at)fourpalms(dot)org |
| Cc: | Keary Suska <hierophant(at)pcisys(dot)net>, Postgres General <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: FYI To Postgres Authors |
| Date: | 2001-10-26 03:00:36 |
| Message-ID: | 200110260300.f9Q30ag09203@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
> > 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Flancer | 2001-10-26 03:12:46 | Select limit... erm so.. |
| Previous Message | Thomas Lockhart | 2001-10-26 01:47:34 | Re: FYI To Postgres Authors |