X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 34A4752E84 for ; Tue, 26 Jul 2005 10:49:02 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 14602-02 for ; Tue, 26 Jul 2005 13:48:56 +0000 (GMT) Received: from web52714.mail.yahoo.com (web52714.mail.yahoo.com [206.190.48.237]) by svr1.postgresql.org (Postfix) with SMTP id 85CD852E7F for ; Tue, 26 Jul 2005 10:48:54 -0300 (ADT) Received: (qmail 26479 invoked by uid 60001); 26 Jul 2005 13:48:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.br; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=gtAckfELjUKLADsYH99ut2qxUlg8g6ijAZKP93RwHOg0UadO1p/W07AMT6Zl9RRmTwL1CLaGDdWqYztOzc3Z8UXXuLCzUqvAl/AEtKlhVbiDc6JW+zAnhCyOmubhP1rh8U7Hk+ZYmy9Ajg9nfl38j4DcvtHJGjzybCkHdkbGILg= ; Message-ID: <20050726134855.26477.qmail@web52714.mail.yahoo.com> Received: from [201.8.95.31] by web52714.mail.yahoo.com via HTTP; Tue, 26 Jul 2005 13:48:55 GMT Date: Tue, 26 Jul 2005 13:48:55 +0000 (GMT) From: Halley Pacheco de Oliveira Subject: Re: PostgreSQL 8.0.3 Documentation - Chapter 23. Monitoring Database Activity To: pgsql-docs@postgresql.org Cc: Peter Eisentraut In-Reply-To: <200507261233.44176.peter_e@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.444 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200507/25 X-Sequence-Number: 3151 There is no problem, just a surprise. Once I was connected to one database I didn't expect that a connection to another database inside psql would close one process and fork a new process. Once the chapter is about Monitoring Database Activity, I think that it would be good to alert the readers about this fact. Maybe other users dont't expect this fact too. Just that. Regards, Halley --- Peter Eisentraut escreveu: > Am Dienstag, 26. Juli 2005 12:06 schrieb Halley Pacheco de Oliveira: > > The user, database, and connection source host items remain the same for > > the life of the client connection, but the activity indicator changes. > > > So the database name didn't remain the same, neither the process id. > > Connecting to another database creates a brand new connection using other > > server process as it seems to be. I think it should be written in this > > paragraph. I couldn't imagine that, for me the process was still the same. > > What is the problem here? You create a new connection, so you get the > information in the new connection, as documented. > > -- > Peter Eisentraut > http://developer.postgresql.org/~petere/ > _______________________________________________________ Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! http://br.acesso.yahoo.com/