diff options
| author | Tom Lane | 2019-05-22 16:55:34 +0000 |
|---|---|---|
| committer | Tom Lane | 2019-05-22 16:55:34 +0000 |
| commit | be76af171cdb3e7465c4ef234af403f97ad79b7b (patch) | |
| tree | 1fa62d2b7a6680a4237a1548f7002fa0b234b143 /src/bin/psql/crosstabview.c | |
| parent | 66a4bad83aaa6613a45a00a488c04427f9969fb4 (diff) | |
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent.
I thought it would be good to commit this separately,
so as to document the differences between 2.0 and 2.1 behavior.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/bin/psql/crosstabview.c')
| -rw-r--r-- | src/bin/psql/crosstabview.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/psql/crosstabview.c b/src/bin/psql/crosstabview.c index 390f750c412..184ebe6d21c 100644 --- a/src/bin/psql/crosstabview.c +++ b/src/bin/psql/crosstabview.c @@ -227,7 +227,7 @@ PrintResultsInCrosstab(const PGresult *res) if (piv_columns.count > CROSSTABVIEW_MAX_COLUMNS) { pg_log_error("\\crosstabview: maximum number of columns (%d) exceeded", - CROSSTABVIEW_MAX_COLUMNS); + CROSSTABVIEW_MAX_COLUMNS); goto error_return; } @@ -396,10 +396,10 @@ printCrosstab(const PGresult *results, if (cont.cells[idx] != NULL) { pg_log_error("\\crosstabview: query result contains multiple data values for row \"%s\", column \"%s\"", - rp->name ? rp->name : - (popt.nullPrint ? popt.nullPrint : "(null)"), - cp->name ? cp->name : - (popt.nullPrint ? popt.nullPrint : "(null)")); + rp->name ? rp->name : + (popt.nullPrint ? popt.nullPrint : "(null)"), + cp->name ? cp->name : + (popt.nullPrint ? popt.nullPrint : "(null)")); goto error; } @@ -644,7 +644,7 @@ indexOfColumn(char *arg, const PGresult *res) if (idx < 0 || idx >= PQnfields(res)) { pg_log_error("\\crosstabview: column number %d is out of range 1..%d", - idx + 1, PQnfields(res)); + idx + 1, PQnfields(res)); return -1; } } |
