projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8522b80
)
Fix version warning bug in recently applied adjustments to psql startup.
author
Bruce Momjian
<bruce@momjian.us>
Sat, 16 Aug 2008 00:16:56 +0000
(
00:16
+0000)
committer
Bruce Momjian
<bruce@momjian.us>
Sat, 16 Aug 2008 00:16:56 +0000
(
00:16
+0000)
Gregory Stark
src/bin/psql/command.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/command.c
b/src/bin/psql/command.c
index 9e6923fea96dae1a19eb9af8f8cd59f0a8e735bb..291d449ac50897c0fc955bcd5c70e7d07a5e31ed 100644
(file)
--- 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)