Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-29 Thread Robert Haas
On Tue, Jul 21, 2009 at 3:55 PM, Dickson S. Guedeslis...@guedesoft.net wrote: I think there is enough support for the patch.  So please adjust it to report the server version correctly. Thanks Peter, I'll adjust the patch and post a new version ASAP. As this patch was reviewed over a week ago

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-21 Thread Peter Eisentraut
On Friday 17 July 2009 23:24:16 Dickson S. Guedes wrote: An use case that i can figure out is an user that connects in multiples instances in a lot of remote sites (like home-officer for example) and needs this information in the prompt to don't lost the context of your work. Is this valid? Is

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-21 Thread Dickson S. Guedes
Em Tue, 21 Jul 2009 16:52:48 -0300, Peter Eisentraut pete...@gmx.net escreveu: On Friday 17 July 2009 23:24:16 Dickson S. Guedes wrote: An use case that i can figure out is an user that connects in multiples instances in a lot of remote sites (like home-officer for example) and needs this

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-19 Thread Robert Haas
On Sat, Jul 18, 2009 at 6:14 AM, Dimitri Fontainedfonta...@hi-media.com wrote: Le 17 juil. 09 à 23:24, Tom Lane a écrit : It seems unlikely that the DB version number would be worth the prompt space.  In situations like that you'd much more likely need identifying info like the DB hostname

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-18 Thread Dimitri Fontaine
Hi, Le 17 juil. 09 à 23:24, Tom Lane a écrit : It seems unlikely that the DB version number would be worth the prompt space. In situations like that you'd much more likely need identifying info like the DB hostname and port number. At work we have a fair number of database servers, some

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-17 Thread Dickson S. Guedes
Em Thu, 16 Jul 2009 17:40:45 -0300, Peter Eisentraut pete...@gmx.net escreveu: On Thursday 07 May 2009 05:23:41 Dickson S. Guedes wrote: This is a WIP patch (for the TODO item in the subject) that I'm putting in the Commit Fest queue for 8.5. More generally, does anyone actually need this

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-17 Thread Tom Lane
Dickson S. Guedes lis...@guedesoft.net writes: Em Thu, 16 Jul 2009 17:40:45 -0300, Peter Eisentraut pete...@gmx.net escreveu: More generally, does anyone actually need this feature? psql complains loudly enough if the version numbers are not the right ones. I don't know why this would

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-16 Thread Peter Eisentraut
On Thursday 07 May 2009 05:23:41 Dickson S. Guedes wrote: This is a WIP patch (for the TODO item in the subject) that I'm putting in the Commit Fest queue for 8.5. The problem I'm seeing with this is that currently it resolves %v (client) = 8.5devel %V (server) = 8.5.0 Besides being

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-14 Thread Jaime Casanova
2009/5/7 Dickson S. Guedes lis...@guedesoft.net: Em Qui, 2009-05-07 às 10:11 +0300, Peter Eisentraut escreveu: On Thursday 07 May 2009 05:23:41 Dickson S. Guedes wrote: This is a WIP patch (for the TODO item in the subject) that I'm putting in the Commit Fest queue for 8.5. How about you

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-07-14 Thread Peter Eisentraut
On Tuesday 14 July 2009 09:12:21 Jaime Casanova wrote: 2009/5/7 Dickson S. Guedes lis...@guedesoft.net: Em Qui, 2009-05-07 às 10:11 +0300, Peter Eisentraut escreveu: On Thursday 07 May 2009 05:23:41 Dickson S. Guedes wrote: This is a WIP patch (for the TODO item in the subject) that I'm

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-05-07 Thread Peter Eisentraut
On Thursday 07 May 2009 05:23:41 Dickson S. Guedes wrote: This is a WIP patch (for the TODO item in the subject) that I'm putting in the Commit Fest queue for 8.5. How about you just put the values in a variable and use the existing facility to put those variables in the prompt? -- Sent via

Re: [HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-05-07 Thread Dickson S. Guedes
Em Qui, 2009-05-07 às 10:11 +0300, Peter Eisentraut escreveu: On Thursday 07 May 2009 05:23:41 Dickson S. Guedes wrote: This is a WIP patch (for the TODO item in the subject) that I'm putting in the Commit Fest queue for 8.5. How about you just put the values in a variable and use the

[HACKERS] WIP patch for TODO Item: Add prompt escape to display the client and server versions

2009-05-06 Thread Dickson S. Guedes
This is a WIP patch (for the TODO item in the subject) that I'm putting in the Commit Fest queue for 8.5. regards... -- Dickson S. Guedes mail/xmpp: gue...@guedesoft.net - skype: guediz http://guedesoft.net - http://www.postgresql.org.br psql_escape_client_server_version.patch.bz2