diff options
author | Bruce Momjian <bruce@momjian.us> | 1996-12-26 17:52:46 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1996-12-26 17:52:46 +0000 |
commit | b1765f46376d6ed29ccb8424b1697149e018d35f (patch) | |
tree | a4be633bc54a7f077b95cdd0b29f66bfb550e325 | |
parent | 89b28071704916b42c9d15171fdd387d5f0f1e0f (diff) | |
download | postgresql-b1765f46376d6ed29ccb8424b1697149e018d35f.tar.gz postgresql-b1765f46376d6ed29ccb8424b1697149e018d35f.zip |
Note the => changes to == after a connect and stays that way on subsequent
database changes.
To fix, apply the following patch:-
Keith Parks.
-rw-r--r-- | src/bin/psql/psql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c index 6d5072e2a7f..e5fc9895cb2 100644 --- a/src/bin/psql/psql.c +++ b/src/bin/psql/psql.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.39 1996/12/14 08:20:18 vadim Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.40 1996/12/26 17:52:46 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -791,7 +791,7 @@ do_connect(const char *new_dbname, PsqlSettings * settings) PQfinish(olddb); free(settings->prompt); settings->prompt = malloc(strlen(PQdb(settings->db)) + 10); - sprintf(settings->prompt, "%s%s ", PQdb(settings->db), PROMPT); + sprintf(settings->prompt, "%s%s", PQdb(settings->db), PROMPT); } } } |