X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id D16C811F6CD1 for ; Wed, 5 Apr 2006 23:05:26 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 06400-05 for ; Wed, 5 Apr 2006 23:05:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.utiba.com.au (eth2643.vic.adsl.internode.on.net [150.101.158.82]) by postgresql.org (Postfix) with ESMTP id A6ECF11F6C96 for ; Wed, 5 Apr 2006 23:05:21 -0300 (ADT) Received: from localhost (scan1.utiba.com.au [127.0.0.1]) by mail.utiba.com.au (Postfix) with ESMTP id BE8F943F99; Thu, 6 Apr 2006 12:05:19 +1000 (EST) Received: from mail.utiba.com.au ([127.0.0.1]) by localhost (scan1.utiba.com.au [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22813-08; Thu, 6 Apr 2006 12:05:15 +1000 (EST) Received: from mail1.utiba.com (ser1 [192.168.0.1]) by mail.utiba.com.au (Postfix) with ESMTP id A0C0F43F97; Thu, 6 Apr 2006 12:05:15 +1000 (EST) Received: from rotate-the-shield-harmonics.utiba.com (localhost [127.0.0.1]) by mail1.utiba.com (Postfix) with ESMTP id 6EF5215BA8D; Thu, 6 Apr 2006 12:05:14 +1000 (EST) From: Philip Yarra Organization: Utiba Pty Ltd To: Neil Conway Subject: Re: psql \c error Date: Thu, 6 Apr 2006 12:05:12 +1000 User-Agent: KMail/1.7.2 Cc: pgsql-hackers@postgresql.org References: <200603301120.09969.philip@utiba.com> <1144008804.21012.43.camel@localhost.localdomain> In-Reply-To: <1144008804.21012.43.camel@localhost.localdomain> X-enigma: Naturally a smoked function is living MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200604061205.13091.philip@utiba.com> X-Utiba-MailScanner-Information: Please contact the Systems Administrator at Utiba for more information X-Utiba-MailScanner: Found to be clean Utiba-MailScanner-MCPCheck: X-MailScanner-From: philip@utiba.com X-Virus-Scanned: amavisd-new at utiba.com.au X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200604/197 X-Sequence-Number: 81920 On Mon, 3 Apr 2006 06:13 am, Neil Conway wrote: > I've committed a patch to HEAD that should improve this behavior. Let me > know if the current behavior is still unsatisfactory. Yes, thanks, it fixes the stuff that bugged me: [pyarra@punky pgsql]$ psql -p5434 -dpyarra [snip opening car chase] pyarra=# \c foo You are now connected to database "foo". foo=# \c philip - - 5432 You are now connected to database "philip" at port "5432". philip=# Regards, Philip. -- "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan ----------------- Utiba Pty Ltd This message has been scanned for viruses and dangerous content by Utiba mail server and is believed to be clean.