summaryrefslogtreecommitdiff
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:12 -0400
commitf719cd9bfbcf98ce9423b5c01184cf3bc627bbd7 (patch)
tree6015f120e896fe4323e963faf02f240a2784f894
parentccf893c4bdef19a778a621a4290c85716a257e72 (diff)
downloadpostgresql-f719cd9bfbcf98ce9423b5c01184cf3bc627bbd7.tar.gz
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 30ee939566..d920f664e3 100644
--- a/doc/src/sgml/ecpg.sgml
+++ b/doc/src/sgml/ecpg.sgml
@@ -8541,7 +8541,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.
@@ -8894,7 +8894,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>
@@ -8941,7 +8941,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>