Tiny typo in the 8.4 docs

View: New views
2 Messages — Rating Filter:   Alert me  

Tiny typo in the 8.4 docs

by Vesa-Matti Kari :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I was just wading through the new PG 8.4.0 documentation and found a
tiny typo in:

-------- begin sample -------------

9.16.3. NULLIF
[...]

SELECT NULLIF(value, '(none)') ...
If value1 is (none), return a null, otherwise return value1.

-------- end sample -------------

Either use 'value1' in the SELECT-clause too, or 'value' in the
explanation.

Nothing serious, but maybe for the sake of perfection, you may want to fix
it in next version. Thanks.

Regards,
vmk
--
************************************************************************
               Tietotekniikkaosasto / Helsingin yliopisto
                 IT Department / University of Helsinki
************************************************************************

--
Sent via pgsql-docs mailing list (pgsql-docs@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Re: Tiny typo in the 8.4 docs

by Peter Eisentraut-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tuesday 21 July 2009 20:50:39 Vesa-Matti J Kari wrote:

> 9.16.3. NULLIF
> [...]
>
> SELECT NULLIF(value, '(none)') ...
> If value1 is (none), return a null, otherwise return value1.
>
> -------- end sample -------------
>
> Either use 'value1' in the SELECT-clause too, or 'value' in the
> explanation.

Fixed.

--
Sent via pgsql-docs mailing list (pgsql-docs@...)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs