Re: Clearing psql`s input buffer after auto-reconnect

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Clearing psql`s input buffer after auto-reconnect
Date: 2010-05-25 15:14:14
Message-ID: 2d32cd738cd9cf249febd49d3e740a64@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> 3. Have CheckConnection do longjmp(sigint_interrupt_jmp) after resetting
...
> Now #1 might be the best long-term solution but I have no particular
> appetite to tackle it, and #2 is just too ugly to contemplate. That
> leaves #3, which is a bit ugly in its own right but seems like the best
> fix we're likely to get.
>
> Comments, better ideas?

I like #3. If this were a more common event I might lean towards #1
but it's not so #3 seems fine.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201005251113
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkv76TYACgkQvJuQZxSWSsiP6wCePU5TDpfFiv7MQpQ0vdIMms0d
XZcAoMES58ilXZr2m5TEfeRUeiuuuss2
=36Z9
-----END PGP SIGNATURE-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hector Beyers 2010-05-25 15:30:41 Re: Hiding data in postgresql
Previous Message Bruce Momjian 2010-05-25 14:54:05 Re: pg_upgrade docs