X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A6273528C1 for ; Fri, 17 Jun 2005 16:45:57 -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 06349-06 for ; Fri, 17 Jun 2005 19:45:51 +0000 (GMT) Received: from floppy.pyrenet.fr (news.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 4E00852828 for ; Fri, 17 Jun 2005 16:45:50 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id B9C6030B41; Fri, 17 Jun 2005 21:46:13 +0200 (MET DST) From: Noel X-Newsgroups: pgsql.interfaces.odbc Subject: Re: Can I specify a SCHEMA in the ODBC string? Date: Fri, 17 Jun 2005 20:45:10 +0100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Newsreader: Forte Agent 2.0/32.652 X-No-Archive: yes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@supernews.com Lines: 16 To: pgsql-odbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200506/62 X-Sequence-Number: 5449 On Fri, 17 Jun 2005 13:47:35 +0100, vladimir wrote: >> Is this possible? If so, what's the syntax? Is the syntax for ODBC >> connection strings documented anywhere? I've googled for this info, >> but unsuccessfully. >I think that you have to specify the schema in the select query: > >SELECT FROM myschema.mytable; Or you can set the schema search path in Page 2 of the Datasource Configuration window for the ODBC datasource. Simply put SET SEARCH_PATH to myschema, public in the Connect Settings box.