Get rid of support for PG versions 8.2 and earlier. These have been unsupported for some time, and the #defines do clutter up the codebase.
This commit is contained in:
committed by
Daniele Varrazzo
parent
2226f2011d
commit
370e572cfc
@ -389,13 +389,6 @@ prompt_for_password(void)
|
||||
return simple_prompt("Password: ", 100, false);
|
||||
}
|
||||
|
||||
#if PG_VERSION_NUM < 80300
|
||||
static bool
|
||||
PQconnectionNeedsPassword(PGconn *conn)
|
||||
{
|
||||
return strcmp(PQerrorMessage(conn), PQnoPasswordSupplied) == 0 && !feof(stdin);
|
||||
}
|
||||
#endif
|
||||
|
||||
PGconn *
|
||||
pgut_connect(const char *info, YesNo prompt, int elevel)
|
||||
|
Reference in New Issue
Block a user