Skip to content

Commit ea8cadb

Browse files
committed
Remove using puts() to print messages. Instead use TPRINTF.
1 parent b1e4b56 commit ea8cadb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/tcop/postgres.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.146 2000/02/22 09:55:18 inoue Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.147 2000/03/01 02:39:46 ishii Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -1470,10 +1470,10 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
14701470
#ifdef MULTIBYTE
14711471
/* set default client encoding */
14721472
if (Verbose)
1473-
puts("\treset_client_encoding()..");
1473+
TPRINTF(TRACE_VERBOSE, "reset_client_encoding()..");
14741474
reset_client_encoding();
14751475
if (Verbose)
1476-
puts("\treset_client_encoding() done.");
1476+
TPRINTF(TRACE_VERBOSE, "reset_client_encoding() done.");
14771477
#endif
14781478

14791479
on_shmem_exit(remove_all_temp_relations, NULL);
@@ -1503,7 +1503,7 @@ PostgresMain(int argc, char *argv[], int real_argc, char *real_argv[])
15031503
if (!IsUnderPostmaster)
15041504
{
15051505
puts("\nPOSTGRES backend interactive interface ");
1506-
puts("$Revision: 1.146 $ $Date: 2000/02/22 09:55:18 $\n");
1506+
puts("$Revision: 1.147 $ $Date: 2000/03/01 02:39:46 $\n");
15071507
}
15081508

15091509
/*

0 commit comments

Comments
 (0)