Commit e8cb9359 authored by Bruce Momjian's avatar Bruce Momjian

Reverse sense of comparison in psql socket test, per Tom Lane.

parent 680d465b
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* Copyright 2000 by PostgreSQL Global Development Group * Copyright 2000 by PostgreSQL Global Development Group
* *
* $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.20 2001/08/24 16:59:10 momjian Exp $ * $Header: /cvsroot/pgsql/src/bin/psql/prompt.c,v 1.21 2001/08/24 19:59:54 momjian Exp $
*/ */
#include "postgres_fe.h" #include "postgres_fe.h"
#include "prompt.h" #include "prompt.h"
...@@ -129,7 +129,7 @@ get_prompt(promptStatus_t status) ...@@ -129,7 +129,7 @@ get_prompt(promptStatus_t status)
if (*p == 'm') if (*p == 'm')
buf[strcspn(buf, ".")] = '\0'; buf[strcspn(buf, ".")] = '\0';
} }
#ifndef HAVE_UNIX_SOCKETS #ifdef HAVE_UNIX_SOCKETS
/* UNIX socket */ /* UNIX socket */
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment