Thread: Use of obsolete libpq API

Use of obsolete libpq API

From
Craig Ringer
Date:
Hi

PgAdmin-III still uses the obsolete macro PQnoPasswordSupplied .

It should instead use PQconnectionNeedsPassword(...).

Context:

pgadmin/dlg/dlgSelectConnection.cpp:
newconn->GetLastError().Cmp(wxString(PQnoPasswordSupplied,
wxConvUTF8)) == 0)


-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services