Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-12 Thread Eugene Lisitsky
2009/11/12 Dave Page > On Thu, Nov 12, 2009 at 11:55 AM, Eugene Lisitsky > wrote: > > > > $ wx-config --cflags > > -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 > > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread > > Not sure what to suggest then. I just insta

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-12 Thread Dave Page
On Thu, Nov 12, 2009 at 11:55 AM, Eugene Lisitsky wrote: > > $ wx-config --cflags > -I/usr/lib/wx/include/base-unicode-release-2.8 -I/usr/include/wx-2.8 > -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DwxUSE_GUI=0 -pthread Not sure what to suggest then. I just installed on a Karmic box I'm testing here,

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-12 Thread Eugene Lisitsky
2009/11/12 Dave Page > On Thu, Nov 12, 2009 at 10:32 AM, Eugene Lisitsky > wrote: > >> I can't get excited at the thought of cluttering the UI to resolve a > >> minor issue. I'd rather we tried to read the pgpass file so we could > >> default the password. Not sure how much effort that would tak

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-12 Thread Dave Page
On Thu, Nov 12, 2009 at 10:32 AM, Eugene Lisitsky wrote: >> I can't get excited at the thought of cluttering the UI to resolve a >> minor issue. I'd rather we tried to read the pgpass file so we could >> default the password. Not sure how much effort that would take, but we >> can probably lift mu

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-12 Thread Eugene Lisitsky
> > I can't get excited at the thought of cluttering the UI to resolve a > minor issue. I'd rather we tried to read the pgpass file so we could > default the password. Not sure how much effort that would take, but we > can probably lift much of the code from libpq. > Excellent idea! How do you writ

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-12 Thread Dave Page
2009/11/11 Eugene Lisitsky : > > What do you think of adding one more button to the dialog "Use stored pass" > which just does nothing only sends the connection request? I can't get excited at the thought of cluttering the UI to resolve a minor issue. I'd rather we tried to read the pgpass file so

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-11 Thread Eugene Lisitsky
2009/11/11 Dave Page > On Wed, Nov 11, 2009 at 3:33 PM, Eugene Lisitsky > wrote: > > > Is it possible to check error and fail reason: network, connection > refused, > > password incorrect, no access to such DB? > > Not reliably, because we only get CONNECTION_GOOD, CONNECTION_BAD as > connection

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-11 Thread Dave Page
On Wed, Nov 11, 2009 at 3:33 PM, Eugene Lisitsky wrote: > Is it possible to check error and fail reason: network, connection refused, > password incorrect, no access to such DB? Not reliably, because we only get CONNECTION_GOOD, CONNECTION_BAD as connection status flags from libpq, and in the ev

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-11 Thread Eugene Lisitsky
Thank you, Dave! 2009/11/11 Dave Page > On Wed, Nov 11, 2009 at 2:17 PM, Eugene Lisitsky > wrote: > > Hi! > > Thank you for the great program and constant improvement! > > I meet only several troubles usign it, one of them is: > > If you have stored password in connections and a connection atte

Re: [pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-11 Thread Dave Page
On Wed, Nov 11, 2009 at 2:17 PM, Eugene Lisitsky wrote: > Hi! > Thank you for the great program and constant improvement! > I meet only several troubles usign it, one of them is: > If you have stored password in connections and a connection attempt was > failed (due to some network problems for ex

[pgadmin-support] PgAdmin forgets stored password on connection problem

2009-11-11 Thread Eugene Lisitsky
Hi! Thank you for the great program and constant improvement! I meet only several troubles usign it, one of them is: If you have stored password in connections and a connection attempt was failed (due to some network problems for example) then PgAdmin asks you to prompt the password again on next