X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 28843D1C4DC for ; Tue, 22 Jul 2003 20:52:25 +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 93026-01 for ; Tue, 22 Jul 2003 17:51:40 -0300 (ADT) Received: from osmtp1.electric.net (osmtp1.electric.net [216.129.90.28]) by svr1.postgresql.org (Postfix) with ESMTP id 14ED0D1C4C1 for ; Tue, 22 Jul 2003 17:52:23 -0300 (ADT) Received: from root by osmtp1.electric.net with emc1-ok (Exim 4.10) id 19f47T-0004jJ-0W for pgsql-admin@postgresql.org; Tue, 22 Jul 2003 13:52:23 -0700 Received: by emcmailer; Tue, Jul 22 2003 13:52:23 -0700 Received: from [204.50.0.66] (helo=sysadmin) by osmtp1.electric.net with smtp (Exim 4.10) id 19f47Q-0004iT-0W for pgsql-admin@postgresql.org; Tue, 22 Jul 2003 13:52:20 -0700 From: "Dilan Arumainathan" To: Subject: How can I set a default schema for a session Date: Tue, 22 Jul 2003 13:52:22 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Status: Scanned by norton X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/220 X-Sequence-Number: 9560 Hi, Every time I have to specify a table name in a query I find myself prefixing the name of the table with the schema name as in schema.table. Is there a way to force the queries to look in one particular schema whenever I do not specify a schema name? thanks dilan