Re: [HACKERS] Re-run query on automatic reconnect

2005-09-27 Thread Jim C. Nasby
On Mon, Sep 26, 2005 at 02:52:02PM -0600, Michael Fuhr wrote: On Mon, Sep 26, 2005 at 01:23:03PM -0500, Jim C. Nasby wrote: Is there any particular reason why psql doesn't re-run a query that failed due to disconnect from the server after re-connecting? I've thought maybe it's because it

Re: [HACKERS] Re-run query on automatic reconnect

2005-09-26 Thread Michael Fuhr
On Mon, Sep 26, 2005 at 01:23:03PM -0500, Jim C. Nasby wrote: Is there any particular reason why psql doesn't re-run a query that failed due to disconnect from the server after re-connecting? I've thought maybe it's because it might somehow be dangerous, but I can't think of any case where

[HACKERS] Re-run query on automatic reconnect

2005-09-26 Thread Jim C. Nasby
Is there any particular reason why psql doesn't re-run a query that failed due to disconnect from the server after re-connecting? I've thought maybe it's because it might somehow be dangerous, but I can't think of any case where that's actually true. -- Jim C. Nasby, Sr. Engineering Consultant

Re: [HACKERS] Re-run query on automatic reconnect

2005-09-26 Thread Tom Lane
Jim C. Nasby [EMAIL PROTECTED] writes: Is there any particular reason why psql doesn't re-run a query that failed due to disconnect from the server after re-connecting? I've thought maybe it's because it might somehow be dangerous, but I can't think of any case where that's actually true. You