Tiny typo in the 8.4 docs
Tiny typo in the 8.4 docs
От:
Vesa-Matti J Kari <vmkari@cc.helsinki.fi>
Дата:
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
************************************************************************
Re: Tiny typo in the 8.4 docs
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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.