Re: Updating psql for features of new FE/BE protocol

From: greg(at)turnstep(dot)com
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Updating psql for features of new FE/BE protocol
Date: 2003-06-25 19:51:14
Message-ID: 7fcced5a73c4780c472ac7d613145804@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Since libpq now keeps track of transaction state, it would be a simple
> matter to add a prompt-string % construct to show something that indicates
> the state

greg=> SELECT 'I am idle';
greg=*> SELECT 'I am in a transaction';
greg=!> SELECT 'I am in a failed transaction, please save me.';

> Not sure how important that really is, given that we don't recommend
> running psql against servers of different versions.

We also do not check the version or throw a warning on a mismatched
version, something I think it may be time to reevaluate.

Everything else sounds good.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200306251455
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

iD8DBQE++fzOvJuQZxSWSsgRApyZAKDQbTVR6u6sFGgl4FWgYy23VQ/U8ACfTHyU
FGkdjEg6CCIsOQo9NSYen8g=
=9fFL
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message johnnnnnn 2003-06-25 19:56:24 Re: [GENERAL] Physical Database Configuration
Previous Message Tom Lane 2003-06-25 19:42:03 Re: Two weeks to feature freeze