diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c index ac9430745f..8580d4a30b 100644 --- a/src/interfaces/libpq/fe-print.c +++ b/src/interfaces/libpq/fe-print.c @@ -10,7 +10,7 @@ * didn't really belong there. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.65 2006/02/06 02:23:07 momjian Exp $ + * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.66 2006/02/07 00:26:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -256,7 +256,7 @@ PQprint(FILE *fout, const PGresult *res, const PQprintOpt *po) { if (po->html3) fprintf(fout, - "
%s | " - "%s |
%s | " + "%s | %s | ", + fprintf(fout, "%s | ", fieldNotNum[j] ? "left" : "right", fieldNames[j]); } else @@ -546,7 +546,7 @@ output_row(FILE *fout, const PQprintOpt *po, const int nFields, char **fields, char *p = fields[row_index * nFields + field_index]; if (po->html3) - fprintf(fout, "%s | ", + fprintf(fout, "%s | ", fieldNotNum[field_index] ? "left" : "right", p ? p : ""); else {
---|