1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.88 2009/04/27 16:27:35 momjian Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/ecpg.sgml,v 1.89 2009/05/18 11:08:24 petere Exp $ -->
2
2
3
3
<chapter id="ecpg">
4
4
<title><application>ECPG</application> - Embedded <acronym>SQL</acronym> in C</title>
@@ -1137,8 +1137,9 @@ date PGTYPESdate_from_asc(char *str, char **endptr);
1137
1137
currently no variable to change that within ecpg.
1138
1138
</para>
1139
1139
<para>
1140
- The following input formats are allowed:
1141
- <table>
1140
+ <xref linkend="ecpg-pgtypesdate-from-asc-table"> shows the allowed input formats.
1141
+ </para>
1142
+ <table id="ecpg-pgtypesdate-from-asc-table">
1142
1143
<title>Valid input formats for <function>PGTYPESdate_from_asc</function></title>
1143
1144
<tgroup cols="2">
1144
1145
<thead>
@@ -1219,7 +1220,6 @@ date PGTYPESdate_from_asc(char *str, char **endptr);
1219
1220
</tbody>
1220
1221
</tgroup>
1221
1222
</table>
1222
- </para>
1223
1223
</listitem>
1224
1224
</varlistentry>
1225
1225
@@ -1392,10 +1392,11 @@ int PGTYPESdate_fmt_asc(date dDate, char *fmtstring, char *outbuf);
1392
1392
All other characters are copied 1:1 to the output string.
1393
1393
</para>
1394
1394
<para>
1395
- The following table indicates a few possible formats. This will give
1395
+ <xref linkend="ecpg-pgtypesdate-fmt-asc-example- table"> indicates a few possible formats. This will give
1396
1396
you an idea of how to use this function. All output lines are based on
1397
- the same date: November, 23rd, 1959.
1398
- <table>
1397
+ the same date: November 23, 1959.
1398
+ </para>
1399
+ <table id="ecpg-pgtypesdate-fmt-asc-example-table">
1399
1400
<title>Valid input formats for <function>PGTYPESdate_fmt_asc</function></title>
1400
1401
<tgroup cols="2">
1401
1402
<thead>
@@ -1456,7 +1457,6 @@ int PGTYPESdate_fmt_asc(date dDate, char *fmtstring, char *outbuf);
1456
1457
</tbody>
1457
1458
</tgroup>
1458
1459
</table>
1459
- </para>
1460
1460
</listitem>
1461
1461
</varlistentry>
1462
1462
@@ -1483,9 +1483,10 @@ int PGTYPESdate_defmt_asc(date *d, char *fmt, char *str);
1483
1483
day.
1484
1484
</para>
1485
1485
<para>
1486
- The following table indicates a few possible formats. This will give
1486
+ <xref linkend="ecpg-rdefmtdate-example- table"> indicates a few possible formats. This will give
1487
1487
you an idea of how to use this function.
1488
- <table>
1488
+ </para>
1489
+ <table id="ecpg-rdefmtdate-example-table">
1489
1490
<title>Valid input formats for <function>rdefmtdate</function></title>
1490
1491
<tgroup cols="3">
1491
1492
<thead>
@@ -1564,7 +1565,6 @@ int PGTYPESdate_defmt_asc(date *d, char *fmt, char *str);
1564
1565
</tbody>
1565
1566
</tgroup>
1566
1567
</table>
1567
- </para>
1568
1568
</listitem>
1569
1569
</varlistentry>
1570
1570
</variablelist>
@@ -1612,8 +1612,9 @@ timestamp PGTYPEStimestamp_from_asc(char *str, char **endptr);
1612
1612
specifiers are silently discarded.
1613
1613
</para>
1614
1614
<para>
1615
- The following table contains a few examples for input strings:
1616
- <table>
1615
+ <xref linkend="ecpg-pgtypestimestamp-from-asc-example-table"> contains a few examples for input strings.
1616
+ </para>
1617
+ <table id="ecpg-pgtypestimestamp-from-asc-example-table">
1617
1618
<title>Valid input formats for <function>PGTYPEStimestamp_from_asc</function></title>
1618
1619
<tgroup cols="2">
1619
1620
<thead>
@@ -1642,7 +1643,6 @@ timestamp PGTYPEStimestamp_from_asc(char *str, char **endptr);
1642
1643
</tbody>
1643
1644
</tgroup>
1644
1645
</table>
1645
- </para>
1646
1646
</listitem>
1647
1647
</varlistentry>
1648
1648
0 commit comments