Skip to content

Commit d2165a4

Browse files
committed
Fix incorrect example of CAST syntax (was missing required parentheses).
1 parent a222f3a commit d2165a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/syntax.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.23 2000/07/14 15:26:21 thomas Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.24 2000/08/07 19:53:27 tgl Exp $
33
-->
44

55
<chapter id="syntax">
@@ -502,7 +502,7 @@ float4 '1.23' -- string style
502502
<synopsis>
503503
<replaceable>type</replaceable> '<replaceable>string</replaceable>'
504504
'<replaceable>string</replaceable>'::<replaceable>type</replaceable>
505-
CAST '<replaceable>string</replaceable>' AS <replaceable>type</replaceable>
505+
CAST ( '<replaceable>string</replaceable>' AS <replaceable>type</replaceable> )
506506
</synopsis>
507507

508508
The value inside the string is passed to the input

0 commit comments

Comments
 (0)