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

Commite8cb935

Browse files
committed
Reverse sense of comparison in psql socket test, per Tom Lane.
1 parent680d465 commite8cb935

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/prompt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.20 2001/08/2416:59:10 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.21 2001/08/2419:59:54 momjian Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"prompt.h"
@@ -129,7 +129,7 @@ get_prompt(promptStatus_t status)
129129
if (*p=='m')
130130
buf[strcspn(buf,".")]='\0';
131131
}
132-
#ifndefHAVE_UNIX_SOCKETS
132+
#ifdefHAVE_UNIX_SOCKETS
133133
/* UNIX socket */
134134
else
135135
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp