Re: FYI To Postgres Authors - Mailing list pgsql-general

From Bruce Momjian
Subject Re: FYI To Postgres Authors
Date
Msg-id 200110260300.f9Q30ag09203@candle.pha.pa.us
Whole thread Raw
In response to Re: FYI To Postgres Authors  (Thomas Lockhart <lockhart@fourpalms.org>)
Responses Re: FYI To Postgres Authors  (Keary Suska <hierophant@pcisys.net>)
List 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@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

pgsql-general by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: FYI To Postgres Authors
Next
From: "jack"
Date:
Subject: temporary table