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

Commitb1765f4

Browse files
committed
Note the => changes to == after a connect and stays that way on subsequent
database changes.To fix, apply the following patch:-Keith Parks.
1 parent89b2807 commitb1765f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/psql/psql.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.39 1996/12/14 08:20:18 vadim Exp $
10+
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.40 1996/12/26 17:52:46 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -791,7 +791,7 @@ do_connect(const char *new_dbname, PsqlSettings * settings)
791791
PQfinish(olddb);
792792
free(settings->prompt);
793793
settings->prompt=malloc(strlen(PQdb(settings->db))+10);
794-
sprintf(settings->prompt,"%s%s",PQdb(settings->db),PROMPT);
794+
sprintf(settings->prompt,"%s%s",PQdb(settings->db),PROMPT);
795795
}
796796
}
797797
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp