diff options
| author | Bruce Momjian <bruce@momjian.us> | 2001-03-22 06:16:21 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2001-03-22 06:16:21 +0000 |
| commit | 0686d49da0a34ad92f61f791ea1039dec5d20f41 (patch) | |
| tree | 11c8f58fb4364f5904c3cbad5c7a28ccea5d4049 /src/interfaces/libpq/fe-lobj.c | |
| parent | 9e1552607a9dc6bc23e43d46770a9063ade4f3f0 (diff) | |
| download | postgresql-0686d49da0a34ad92f61f791ea1039dec5d20f41.tar.gz | |
Remove dashes in comments that don't need them, rewrap with pgindent.
Diffstat (limited to 'src/interfaces/libpq/fe-lobj.c')
| -rw-r--r-- | src/interfaces/libpq/fe-lobj.c | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/src/interfaces/libpq/fe-lobj.c b/src/interfaces/libpq/fe-lobj.c index 9231c05243..0759f053a5 100644 --- a/src/interfaces/libpq/fe-lobj.c +++ b/src/interfaces/libpq/fe-lobj.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.33 2001/02/10 02:31:30 tgl Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-lobj.c,v 1.34 2001/03/22 06:16:20 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -518,9 +518,8 @@ lo_initialize(PGconn *conn) const char *fname; Oid foid; - /* ---------------- + /* * Allocate the structure to hold the functions OID's - * ---------------- */ lobjfuncs = (PGlobjfuncs *) malloc(sizeof(PGlobjfuncs)); if (lobjfuncs == (PGlobjfuncs *) NULL) @@ -531,9 +530,8 @@ lo_initialize(PGconn *conn) } MemSet((char *) lobjfuncs, 0, sizeof(PGlobjfuncs)); - /* ---------------- + /* * Execute the query to get all the functions at once - * ---------------- */ res = PQexec(conn, "select proname, oid from pg_proc \ where proname = 'lo_open' \ @@ -559,9 +557,8 @@ lo_initialize(PGconn *conn) return -1; } - /* ---------------- + /* * Examine the result and put the OID's into the struct - * ---------------- */ for (n = 0; n < PQntuples(res); n++) { @@ -587,10 +584,9 @@ lo_initialize(PGconn *conn) PQclear(res); - /* ---------------- - * Finally check that we really got all large object - * interface functions. - * ---------------- + /* + * Finally check that we really got all large object interface + * functions. */ if (lobjfuncs->fn_lo_open == 0) { @@ -649,9 +645,8 @@ lo_initialize(PGconn *conn) return -1; } - /* ---------------- + /* * Put the structure into the connection control - * ---------------- */ conn->lobjfuncs = lobjfuncs; return 0; |
