X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7CB64D1B17C for ; Mon, 7 Jun 2004 19:28:34 -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 72308-08 for ; Mon, 7 Jun 2004 22:28:35 +0000 (GMT) Received: from e-greek.net (dev.e-greek.net [66.92.67.95]) by svr1.postgresql.org (Postfix) with SMTP id 8A0ADD1CC8D for ; Mon, 7 Jun 2004 19:28:32 -0300 (ADT) Received: (qmail 6360 invoked from network); 7 Jun 2004 22:28:37 -0000 Received: from 192.168.1.138 (HELO e-greek.net) (192.168.1.138) by e-greek.net with SMTP; 7 Jun 2004 22:28:37 -0000 Message-ID: <40C4EC17.4060208@e-greek.net> Date: Mon, 07 Jun 2004 18:28:39 -0400 From: Andrew Biagioni User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jeff Stout Cc: pgsql-admin@postgresql.org Subject: Re: Syntax question References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/85 X-Sequence-Number: 13745 Jeff, you need to look under "\?" (psql commands), not "\h" (SQL commands). Anyway, what you need is: \c[onnect] [DBNAME|- [USER]] connect to new database (currently "[...]") Jeff Stout wrote: > I am fairly new to postgres, I need to know how to switch > databases once I'm in a psql session. I can't seem to find the > command for \h , maybe I just blind |-; > > Thank you in advance > > Jeff Stout > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: the planner will ignore your desire to choose an index scan if your > joining column's datatypes do not match > > >