mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-11 19:20:40 +08:00
*** empty log message ***
This commit is contained in:
parent
b692c956ba
commit
19630e0cbc
@ -603,5 +603,9 @@ Wed Jun 16 20:21:42 CEST 1999
|
||||
Thu Jun 24 18:06:43 CEST 1999
|
||||
|
||||
- Fixed C comment bug that caused ecpg to not accept quoted quotes.
|
||||
|
||||
Fri Jun 25 07:17:10 CEST 1999
|
||||
|
||||
- Changed error message in ecpglib.c to list correct database name.
|
||||
- Set library version to 3.0.0
|
||||
- Set ecpg version to 2.6.0
|
||||
|
@ -1238,7 +1238,7 @@ ECPGconnect(int lineno, const char *dbname, const char *user, const char *passwd
|
||||
|
||||
actual_connection = all_connections = this;
|
||||
|
||||
ECPGlog("ECPGconnect: opening database %s %s%s\n", dbname ? dbname : "NULL", user ? "for user " : "", user ? user : "");
|
||||
ECPGlog("ECPGconnect: opening database %s %s%s\n", dbname ? dbname : "<DEFAULT>", user ? "for user " : "", user ? user : "");
|
||||
|
||||
sqlca.sqlcode = 0;
|
||||
|
||||
@ -1247,8 +1247,8 @@ ECPGconnect(int lineno, const char *dbname, const char *user, const char *passwd
|
||||
if (PQstatus(this->connection) == CONNECTION_BAD)
|
||||
{
|
||||
ECPGfinish(this);
|
||||
ECPGlog("connect: could not open database %s %s%s in line %d\n", dbname ? dbname : "NULL", user ? "for user " : "", user ? user : "", lineno);
|
||||
register_error(ECPG_CONNECT, "connect: could not open database %s.", dbname ? dbname : "NULL");
|
||||
ECPGlog("connect: could not open database %s %s%s in line %d\n", dbname ? dbname : "<DEFAULT>", user ? "for user " : "", user ? user : "", lineno);
|
||||
register_error(ECPG_CONNECT, "connect: could not open database %s.", dbname ? dbname : "<DEFAULT>");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user