Fix syntax in extract() examples

Author: Erik Rijkers <er@xs4all.nl>
This commit is contained in:
Peter Eisentraut 2009-11-24 19:21:04 +00:00
parent 5e4b869f29
commit 7c605d5dfa

View File

@ -1,4 +1,4 @@
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.482.2.1 2009/08/16 19:55:28 tgl Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.482.2.2 2009/11/24 19:21:04 petere Exp $ -->
<chapter id="functions">
<title>Functions and Operators</title>
@ -5251,9 +5251,9 @@ SELECT SUBSTRING('XY1234Z', 'Y*?([0-9]{1,3})');
<listitem>
<para>
<function>to_char(..., 'ID')</function>'s day of the week numbering
matches the <function>extract('isodow', ...)</function> function, but
matches the <function>extract(isodow from ...)</function> function, but
<function>to_char(..., 'D')</function>'s does not match
<function>extract('dow', ...)</function>'s day numbering.
<function>extract(dow from ...)</function>'s day numbering.
</para>
</listitem>