diff options
author | Bruce Momjian | 2000-04-25 16:39:07 +0000 |
---|---|---|
committer | Bruce Momjian | 2000-04-25 16:39:07 +0000 |
commit | 123498183676812df9eab00a97f386d10206a21d (patch) | |
tree | 5ba673a08bcf6f3ffc4a26a4bad99621d3d2530d /doc/src | |
parent | 56e09ddf0c8c0fbfe2a76578250a776fd8bd93b8 (diff) |
Fix libpq example return values
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/libpq.sgml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 1188d02b7dd..0693d9695fe 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.36 2000/03/31 03:27:40 thomas Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.37 2000/04/25 16:39:07 momjian Exp $ --> <chapter id="libpq-chapter"> @@ -2031,6 +2031,8 @@ main() PQfinish(conn); /* fclose(debug); */ + return 0; + } </programlisting> </para> @@ -2152,6 +2154,7 @@ main() /* close the connection to the database and cleanup */ PQfinish(conn); + return 0; } </programlisting> </para> @@ -2334,6 +2337,7 @@ main() /* close the connection to the database and cleanup */ PQfinish(conn); + return 0; } </programlisting> </para> |