Skip to content

Commit e8cb935

Browse files
committed
Reverse sense of comparison in psql socket test, per Tom Lane.
1 parent 680d465 commit e8cb935

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/24 16:59:10 momjian Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.21 2001/08/24 19: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-
#ifndef HAVE_UNIX_SOCKETS
132+
#ifdef HAVE_UNIX_SOCKETS
133133
/* UNIX socket */
134134
else
135135
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy