Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21cf022

Browse files
committed
Fix version warning bug in recently applied adjustments to psql startup.
Gregory Stark
1 parentd4af2a6 commit21cf022

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/command.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2008, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.192 2008/07/01 00:08:18 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.193 2008/08/16 00:16:56 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"command.h"
@@ -1197,10 +1197,10 @@ do_connect(char *dbname, char *user, char *host, char *port)
11971197
* Replace the old connection with the new one, and update
11981198
* connection-dependent variables.
11991199
*/
1200-
connection_warnings();
12011200
PQsetNoticeProcessor(n_conn,NoticeProcessor,NULL);
12021201
pset.db=n_conn;
12031202
SyncVariables();
1203+
connection_warnings();/* Must be after SyncVariables */
12041204

12051205
/* Tell the user about the new connection */
12061206
if (!pset.quiet)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp