Re: Updating psql for features of new FE/BE protocol - Mailing list pgsql-hackers

From greg@turnstep.com
Subject Re: Updating psql for features of new FE/BE protocol
Date
Msg-id 7fcced5a73c4780c472ac7d613145804@biglumber.com
Whole thread Raw
In response to Updating psql for features of new FE/BE protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Updating psql for features of new FE/BE protocol  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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@turnstep.com
PGP Key: 0x14964AC8 200306251455
-----BEGIN PGP SIGNATURE-----
Comment: http://www.turnstep.com/pgp.html

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




pgsql-hackers by date:

Previous
From: johnnnnnn
Date:
Subject: Re: [GENERAL] Physical Database Configuration
Next
From: nolan@celery.tssi.com
Date:
Subject: Re: [GENERAL] Physical Database Configuration