doc bug: SELECT SUBSTRING example is missing keyword FROM

From: Arley Lewis <arleylewis(at)gmail(dot)com>
To: PostgreSQL Docs List <pgsql-docs(at)postgresql(dot)org>
Subject: doc bug: SELECT SUBSTRING example is missing keyword FROM
Date: 2009-04-28 18:34:37
Message-ID: 607ccf8a0904281134t5fc27233xa1d3d881bdc24012@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Hello doc team,

There's a doc bug on
http://www.postgresql.org/docs/8.3/static/functions-matching.html.

Two "FROM"s are missing from this section. Where it now says:
-------------
SELECT SUBSTRING('XY1234Z', 'Y*([0-9]{1,3})');
Result: 123
SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
Result: 1
----------------

You should fix it to say:
-------------------
SELECT SUBSTRING('XY1234Z' FROM 'Y*([0-9]{1,3})');
Result: 123
SELECT SUBSTRING('XY1234Z' FROM 'Y*?([0-9]{1,3})');
Result: 1
----------------------

Thanks,
Arley Lewis
arleylewis(at)gmail(dot)com

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2009-04-28 21:46:46 Re: doc bug: SELECT SUBSTRING example is missing keyword FROM
Previous Message Tom Lane 2009-04-28 01:39:24 Re: Re: [COMMITTERS] pgsql: Proofreading adjustments for first two parts of documentation