X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5C3A6D1B526 for ; Mon, 15 Sep 2003 15:34:21 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 94936-05 for ; Mon, 15 Sep 2003 12:33:49 -0300 (ADT) Received: from web21401.mail.yahoo.com (web21401.mail.yahoo.com [216.136.232.71]) by svr1.postgresql.org (Postfix) with SMTP id ED75DD1B532 for ; Mon, 15 Sep 2003 12:33:48 -0300 (ADT) Message-ID: <20030915153348.78123.qmail@web21401.mail.yahoo.com> Received: from [64.81.205.234] by web21401.mail.yahoo.com via HTTP; Mon, 15 Sep 2003 08:33:48 PDT Date: Mon, 15 Sep 2003 08:33:48 -0700 (PDT) From: ow Subject: Re: SET database TO ...? To: Achilleus Mantzios Cc: pgsql-sql@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/138 X-Sequence-Number: 15116 --- Achilleus Mantzios wrote: [...] > dynacom=# \c bab > You are now connected to database bab. > bab=# I'm actually looking for a way to set database from a *script*, not psql console, if this is possible (similar to "SET search_path TO whatever;"). Any ideas? Thanks __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com