Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: Re-run query on automatic reconnect


  • From: Michael Fuhr <mike(at)fuhr(dot)org>
  • To: "Jim C. Nasby" <jnasby(at)pervasive(dot)com>
  • Cc: pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: Re-run query on automatic reconnect
  • Date: Mon, 26 Sep 2005 14:52:02 -0600
  • Message-id: <20050926205202(dot)GA37038(at)winnie(dot)fuhr(dot)org>

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 that's actually true.

What if the query itself resulted in the disconnect by causing the
backend to crash?  Re-running such a query automatically would be
a bad idea.  Or did I misunderstand what you're asking?

-- 
Michael Fuhr



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group