Re: [pgadmin-hackers] Handling connection loss

2011-07-25 Thread Guillaume Lelarge
On Tue, 2011-07-19 at 21:12 +0100, Dave Page wrote: > On Tue, Jul 19, 2011 at 7:47 PM, Guillaume Lelarge > wrote: > > I tried something else today. Suppose a database with two schemas. Both > > have objects in them, let's say two tables in each schema. Connect to > > the database, click on the + o

Re: [pgadmin-hackers] Handling connection loss

2011-07-19 Thread Dave Page
On Tue, Jul 19, 2011 at 7:47 PM, Guillaume Lelarge wrote: > I tried something else today. Suppose a database with two schemas. Both > have objects in them, let's say two tables in each schema. Connect to > the database, click on the + of the first schema. You'll see all objects > in it. Now, resta

Re: [pgadmin-hackers] Handling connection loss

2011-07-19 Thread Guillaume Lelarge
On Tue, 2011-07-19 at 10:56 +0100, Dave Page wrote: > On Tue, Jul 19, 2011 at 10:19 AM, Guillaume Lelarge > wrote: > > On Tue, 2011-07-19 at 09:53 +0100, Dave Page wrote: > >> On Mon, Jul 18, 2011 at 9:11 PM, Guillaume Lelarge > >> wrote: > >> > > >> > Did some tests and found something weird. I

Re: [pgadmin-hackers] Handling connection loss

2011-07-19 Thread Dave Page
On Tue, Jul 19, 2011 at 10:19 AM, Guillaume Lelarge wrote: > On Tue, 2011-07-19 at 09:53 +0100, Dave Page wrote: >> On Mon, Jul 18, 2011 at 9:11 PM, Guillaume Lelarge >> wrote: >> > >> > Did some tests and found something weird. I connect pgadmin to a >> > database, I look into some objects with

Re: [pgadmin-hackers] Handling connection loss

2011-07-19 Thread Guillaume Lelarge
On Tue, 2011-07-19 at 09:53 +0100, Dave Page wrote: > On Mon, Jul 18, 2011 at 9:11 PM, Guillaume Lelarge > wrote: > > > > Did some tests and found something weird. I connect pgadmin to a > > database, I look into some objects with pgAdmin's browser. Then, I stop > > PostgreSQL, and start it again.

Re: [pgadmin-hackers] Handling connection loss

2011-07-19 Thread Dave Page
On Mon, Jul 18, 2011 at 11:23 PM, Jasmin Dizdarevic wrote: > There are some unexpected errors, when reconnecting. > 1. Open Function collection, shutdown DB, click on a function: Result: > stacktrace.png > 2. Open Table collection, shutdown DB, click on a table, start DB, > reconnect: Result: stac

Re: [pgadmin-hackers] Handling connection loss

2011-07-19 Thread Dave Page
On Mon, Jul 18, 2011 at 9:11 PM, Guillaume Lelarge wrote: > > Did some tests and found something weird. I connect pgadmin to a > database, I look into some objects with pgAdmin's browser. Then, I stop > PostgreSQL, and start it again. Next object I click on will display a > nice "lost connection"

Re: [pgadmin-hackers] Handling connection loss

2011-07-18 Thread Guillaume Lelarge
On Mon, 2011-07-18 at 15:18 +0100, Dave Page wrote: > I've been sufficiently annoyed by Josh's discovery that the > reconnection changes in 1.14 are still broken in some situations that > I've spent most of the day hacking on this. It's become pretty clear > to me that the current code structure re