aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-04-15 20:44:10 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-04-15 20:54:19 -0400
commit56aa0f142d8e450bc0f94bb39b50f16aff3296df (patch)
tree1aabd4670eb77a13fc7d9de1cf517b082e09576e
parentd7dbc882d3deecee3c00cfe9fd50eb0903c5651a (diff)
downloadpostgresql-56aa0f142d8e450bc0f94bb39b50f16aff3296df.tar.gz
postgresql-56aa0f142d8e450bc0f94bb39b50f16aff3296df.zip
doc: Add missing parentheses
From: Alexander Law <exclusion@gmail.com>
-rw-r--r--doc/src/sgml/ecpg.sgml6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml
index c304d7c7aff..0eb7b900c45 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -8548,7 +8548,7 @@ int dectolong(decimal *np, long *lngp);
int rdatestr(date d, char *str);
</synopsis>
The function receives two arguments, the first one is the date to
- convert (<literal>d</> and the second one is a pointer to the target
+ convert (<literal>d</>) and the second one is a pointer to the target
string. The output format is always <literal>yyyy-mm-dd</>, so you need
to allocate at least 11 bytes (including the zero-byte terminator) for the
string.
@@ -8901,7 +8901,7 @@ int dttoasc(timestamp *ts, char *output);
</synopsis>
The function receives a pointer to the timestamp variable to convert
(<literal>ts</>) and the string that should hold the result of the
- operation <literal>output</>). It converts <literal>ts</> to its
+ operation (<literal>output</>). It converts <literal>ts</> to its
textual representation according to the SQL standard, which is
be <literal>YYYY-MM-DD HH:MM:SS</literal>.
</para>
@@ -8948,7 +8948,7 @@ int intoasc(interval *i, char *str);
</synopsis>
The function receives a pointer to the interval variable to convert
(<literal>i</>) and the string that should hold the result of the
- operation <literal>str</>). It converts <literal>i</> to its
+ operation (<literal>str</>). It converts <literal>i</> to its
textual representation according to the SQL standard, which is
be <literal>YYYY-MM-DD HH:MM:SS</literal>.
</para>