aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-08-07 19:53:27 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-08-07 19:53:27 +0000
commitd2165a4a5d7786ecd43becf8e040c5764d35ca16 (patch)
tree104572188ac99e6a1742120d1fe1c78c9b80000e
parenta222f3afe9748ce35a1b37e93cdec1471b654686 (diff)
downloadpostgresql-d2165a4a5d7786ecd43becf8e040c5764d35ca16.tar.gz
postgresql-d2165a4a5d7786ecd43becf8e040c5764d35ca16.zip
Fix incorrect example of CAST syntax (was missing required parentheses).
-rw-r--r--doc/src/sgml/syntax.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml
index 7f85c67baa1..957067008cd 100644
--- a/doc/src/sgml/syntax.sgml
+++ b/doc/src/sgml/syntax.sgml
@@ -1,5 +1,5 @@
<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.23 2000/07/14 15:26:21 thomas Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.24 2000/08/07 19:53:27 tgl Exp $
-->
<chapter id="syntax">
@@ -502,7 +502,7 @@ float4 '1.23' -- string style
<synopsis>
<replaceable>type</replaceable> '<replaceable>string</replaceable>'
'<replaceable>string</replaceable>'::<replaceable>type</replaceable>
-CAST '<replaceable>string</replaceable>' AS <replaceable>type</replaceable>
+CAST ( '<replaceable>string</replaceable>' AS <replaceable>type</replaceable> )
</synopsis>
The value inside the string is passed to the input