PQfinish(conn);
/* fclose(debug); */
+ return 0;
+
}
/* close the connection to the database and cleanup */
PQfinish(conn);
+ return 0;
}
/* close the connection to the database and cleanup */
PQfinish(conn);
+ return 0;
}
fclose(debug);
#endif /* DEBUG */
- exit(0);
+ return 0;
}
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.14 2000/01/26 05:58:49 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.15 2000/04/25 16:39:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
res = PQexec(conn, "end");
PQclear(res);
PQfinish(conn);
- exit(0);
+ return 0;
}
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.13 2000/01/26 05:58:49 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.14 2000/04/25 16:39:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
res = PQexec(conn, "end");
PQclear(res);
PQfinish(conn);
- exit(0);
+ return 0;
}