From c44898ea604c7b26e996cd79fac64f48621fd4a3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 16 Aug 2008 00:16:56 +0000 Subject: [PATCH] Fix version warning bug in recently applied adjustments to psql startup. Gregory Stark --- src/bin/psql/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index 9e6923fea9..291d449ac5 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -1197,10 +1197,10 @@ do_connect(char *dbname, char *user, char *host, char *port) * Replace the old connection with the new one, and update * connection-dependent variables. */ - connection_warnings(); PQsetNoticeProcessor(n_conn, NoticeProcessor, NULL); pset.db = n_conn; SyncVariables(); + connection_warnings(); /* Must be after SyncVariables */ /* Tell the user about the new connection */ if (!pset.quiet) -- 2.39.5