libpq++.sgml fixes from Tom Vijlbrief

This commit is contained in:
Bruce Momjian 2000-04-19 21:21:38 +00:00
parent 0818dbc3cb
commit 0156fdf9a5
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.14 2000/04/14 15:10:57 thomas Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.15 2000/04/19 21:21:38 momjian Exp $
-->
<chapter id="libpqplusplus">
@ -736,11 +736,11 @@ $Header: /cvsroot/pgsql/doc/src/sgml/Attic/libpq++.sgml,v 1.14 2000/04/14 15:10:
PgDatabase data;
data.Exec("create table foo (a int4, b char(16), d float8)");
data.Exec("copy foo from stdin");
data.putline("3\etHello World\et4.5\en");
data.putline("4\etGoodbye World\et7.11\en");
data.PutLine("3\tHello World\t4.5\n");
data.PutLine("4\tGoodbye World\t7.11\n");
&amp;...
data.putline(".\en");
data.endcopy();
data.PutLine("\\.\n");
data.EndCopy();
</programlisting>
</para>
</sect1>