diff options
Diffstat (limited to 'src/test/examples/testlibpq3.c')
-rw-r--r-- | src/test/examples/testlibpq3.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c index 16035585fed..4b75763b5f0 100644 --- a/src/test/examples/testlibpq3.c +++ b/src/test/examples/testlibpq3.c @@ -39,20 +39,20 @@ exit_nicely(PGconn * conn) main() { - char *pghost, - *pgport, - *pgoptions, - *pgtty; - char *dbName; - int nFields; - int i, - j; - int i_fnum, - d_fnum, - p_fnum; - - PGconn *conn; - PGresult *res; + char *pghost, + *pgport, + *pgoptions, + *pgtty; + char *dbName; + int nFields; + int i, + j; + int i_fnum, + d_fnum, + p_fnum; + + PGconn *conn; + PGresult *res; /* * begin, by setting the parameters for a backend connection if the @@ -132,10 +132,10 @@ main() } for (i = 0; i < PQntuples(res); i++) { - int *ival; - float *dval; - int plen; - POLYGON *pval; + int *ival; + float *dval; + int plen; + POLYGON *pval; /* we hard-wire this to the 3 fields we know about */ ival = (int *) PQgetvalue(res, i, i_fnum); |