summaryrefslogtreecommitdiff
path: root/src/test/examples
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-05-25 16:15:34 +0000
committerBruce Momjian <bruce@momjian.us>1999-05-25 16:15:34 +0000
commit07842084fe3e11041f83563c851236395f481470 (patch)
treeab9960e67325bec5a97b8b4dd4b2075ce60cc420 /src/test/examples
parent4b04b01aaa460f1e52980f24173dc7a4535efd2d (diff)
pgindent run over code.
Diffstat (limited to 'src/test/examples')
-rw-r--r--src/test/examples/testlo.c8
-rw-r--r--src/test/examples/testlo2.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/src/test/examples/testlo.c b/src/test/examples/testlo.c
index 672a78ae88e..e0b2e9bbc88 100644
--- a/src/test/examples/testlo.c
+++ b/src/test/examples/testlo.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.12 1999/05/20 09:30:36 ishii Exp $
+ * $Header: /cvsroot/pgsql/src/test/examples/testlo.c,v 1.13 1999/05/25 16:15:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -83,9 +83,7 @@ pickout(PGconn *conn, Oid lobjId, int start, int len)
lobj_fd = lo_open(conn, lobjId, INV_READ);
if (lobj_fd < 0)
- {
fprintf(stderr, "can't open large object %u", lobjId);
- }
lo_lseek(conn, lobj_fd, start, SEEK_SET);
buf = malloc(len + 1);
@@ -113,9 +111,7 @@ overwrite(PGconn *conn, Oid lobjId, int start, int len)
lobj_fd = lo_open(conn, lobjId, INV_READ);
if (lobj_fd < 0)
- {
fprintf(stderr, "can't open large object %u", lobjId);
- }
lo_lseek(conn, lobj_fd, start, SEEK_SET);
buf = malloc(len + 1);
@@ -154,9 +150,7 @@ exportFile(PGconn *conn, Oid lobjId, char *filename)
*/
lobj_fd = lo_open(conn, lobjId, INV_READ);
if (lobj_fd < 0)
- {
fprintf(stderr, "can't open large object %u", lobjId);
- }
/*
* open the file to be written to
diff --git a/src/test/examples/testlo2.c b/src/test/examples/testlo2.c
index 6345f2cc034..168dd51e3df 100644
--- a/src/test/examples/testlo2.c
+++ b/src/test/examples/testlo2.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.11 1999/05/20 09:30:36 ishii Exp $
+ * $Header: /cvsroot/pgsql/src/test/examples/Attic/testlo2.c,v 1.12 1999/05/25 16:15:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -79,9 +79,7 @@ pickout(PGconn *conn, Oid lobjId, int start, int len)
lobj_fd = lo_open(conn, lobjId, INV_READ);
if (lobj_fd < 0)
- {
fprintf(stderr, "can't open large object %u", lobjId);
- }
lo_lseek(conn, lobj_fd, start, SEEK_SET);
buf = malloc(len + 1);
@@ -109,9 +107,7 @@ overwrite(PGconn *conn, Oid lobjId, int start, int len)
lobj_fd = lo_open(conn, lobjId, INV_READ);
if (lobj_fd < 0)
- {
fprintf(stderr, "can't open large object %u", lobjId);
- }
lo_lseek(conn, lobj_fd, start, SEEK_SET);
buf = malloc(len + 1);
@@ -150,9 +146,7 @@ exportFile(PGconn *conn, Oid lobjId, char *filename)
*/
lobj_fd = lo_open(conn, lobjId, INV_READ);
if (lobj_fd < 0)
- {
fprintf(stderr, "can't open large object %u", lobjId);
- }
/*
* open the file to be written to