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:
Josh Kupershmidt
2012-09-19 17:04:42 -07:00
committed by Daniele Varrazzo
parent 2226f2011d
commit 370e572cfc
2 changed files with 4 additions and 27 deletions

View File

@ -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)