1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-12 02:37:31 +03:00

A few cosmetic fixes and code cleanup.

This commit is contained in:
Neil Conway
2004-05-23 22:20:10 +00:00
parent 9d6570b8a4
commit 256d4639c9
2 changed files with 16 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2003, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.86 2004/05/07 00:24:58 tgl Exp $
* $PostgreSQL: pgsql/src/bin/psql/common.c,v 1.87 2004/05/23 22:20:10 neilc Exp $
*/
#include "postgres_fe.h"
#include "common.h"
@@ -802,7 +802,8 @@ PrintQueryResults(PGresult *results)
char buf[10];
success = true;
sprintf(buf, "%u", (unsigned int) PQoidValue(results));
snprintf(buf, sizeof(buf),
"%u", (unsigned int) PQoidValue(results));
if (!QUIET())
{
if (pset.popt.topt.format == PRINT_HTML)