summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorBruce Momjian2005-11-22 18:17:34 +0000
committerBruce Momjian2005-11-22 18:17:34 +0000
commit436a2956d80db29ac1dff640b631620d856b4f70 (patch)
treedb2252048385dd23a7d7a196e8685cb0a5816f7a /src/test
parente196eedd8a95380fb392c00b9e7ea88a0e46053e (diff)
Re-run pgindent, fixing a problem where comment lines after a blank
comment line where output as too long, and update typedefs for /lib directory. Also fix case where identifiers were used as variable names in the backend, but as typedefs in ecpg (favor the backend for indenting). Backpatch to 8.1.X.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/examples/testlibpq3.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/test/examples/testlibpq3.c b/src/test/examples/testlibpq3.c
index c7e4e097322..97ed023c14a 100644
--- a/src/test/examples/testlibpq3.c
+++ b/src/test/examples/testlibpq3.c
@@ -18,9 +18,9 @@
* b = (5 bytes) \000\001\002\003\004
*
* tuple 0: got
- * i = (4 bytes) 2
- * t = (8 bytes) 'ho there'
- * b = (5 bytes) \004\003\002\001\000
+ * i = (4 bytes) 2
+ * t = (8 bytes) 'ho there'
+ * b = (5 bytes) \004\003\002\001\000
*/
#include <stdio.h>
#include <stdlib.h>
@@ -137,10 +137,10 @@ main(int argc, char **argv)
* out-of-line parameters, as well as binary transmission of data.
*
* This first example transmits the parameters as text, but receives the
- * results in binary format. By using out-of-line parameters we can
- * avoid a lot of tedious mucking about with quoting and escaping, even
- * though the data is text. Notice how we don't have to do anything
- * special with the quote mark in the parameter value.
+ * results in binary format. By using out-of-line parameters we can avoid
+ * a lot of tedious mucking about with quoting and escaping, even though
+ * the data is text. Notice how we don't have to do anything special with
+ * the quote mark in the parameter value.
*/
/* Here is our out-of-line parameter value */
@@ -167,8 +167,8 @@ main(int argc, char **argv)
PQclear(res);
/*
- * In this second example we transmit an integer parameter in binary
- * form, and again retrieve the results in binary form.
+ * In this second example we transmit an integer parameter in binary form,
+ * and again retrieve the results in binary form.
*
* Although we tell PQexecParams we are letting the backend deduce
* parameter type, we really force the decision by casting the parameter