diff options
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; } } |