diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:16:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-14 19:16:20 +0000 |
commit | 323bcca5249c707b68d9f6d921d86fd750bcf33e (patch) | |
tree | 07b4722c510482f5ee2fdcc3d381fc77747b0178 /doc/src/sgml/ecpg.sgml | |
parent | Adding debian version 16.2-2. (diff) | |
download | postgresql-16-323bcca5249c707b68d9f6d921d86fd750bcf33e.tar.xz postgresql-16-323bcca5249c707b68d9f6d921d86fd750bcf33e.zip |
Merging upstream version 16.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/src/sgml/ecpg.sgml')
-rw-r--r-- | doc/src/sgml/ecpg.sgml | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/src/sgml/ecpg.sgml b/doc/src/sgml/ecpg.sgml index 73351a9..b72dab5 100644 --- a/doc/src/sgml/ecpg.sgml +++ b/doc/src/sgml/ecpg.sgml @@ -3316,7 +3316,7 @@ int PGTYPEStimestamp_fmt_asc(timestamp *ts, char *output, int str_len, char *fmt <literal>%z</literal> - is replaced by the time zone offset from UTC; a leading plus sign stands for east of UTC, a minus sign for west of UTC, hours and minutes follow with two digits each and no - delimiter between them (common form for <ulink url="https://tools.ietf.org/html/rfc822">RFC 822</ulink> date headers). + delimiter between them (common form for <ulink url="https://datatracker.ietf.org/doc/html/rfc822">RFC 822</ulink> date headers). </para> </listitem> <listitem> @@ -5790,6 +5790,14 @@ EXEC SQL UPDATE Tbl SET col = MYNUMBER; embedded SQL query because in this case the embedded SQL precompiler is not able to see this declaration. </para> + + <para> + If multiple input files are named on the <command>ecpg</command> + preprocessor's command line, the effects of <literal>EXEC SQL + DEFINE</literal> and <literal>EXEC SQL UNDEF</literal> do not carry + across files: each file starts with only the symbols defined + by <option>-D</option> switches on the command line. + </para> </sect2> <sect2 id="ecpg-ifdef"> @@ -8882,7 +8890,7 @@ int dectodbl(decimal *np, double *dblp); <term><function>dectoint</function></term> <listitem> <para> - Convert a variable to type decimal to an integer. + Convert a variable of type decimal to an integer. <synopsis> int dectoint(decimal *np, int *ip); </synopsis> @@ -8908,7 +8916,7 @@ int dectoint(decimal *np, int *ip); <term><function>dectolong</function></term> <listitem> <para> - Convert a variable to type decimal to a long integer. + Convert a variable of type decimal to a long integer. <synopsis> int dectolong(decimal *np, long *lngp); </synopsis> |