Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id 8D1362E0044 for ; Mon, 31 Mar 2008 01:10:33 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 42946-07 for ; Mon, 31 Mar 2008 01:10:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by developer.postgresql.org (Postfix) with SMTP id 1C3112E003F for ; Mon, 31 Mar 2008 01:10:28 -0300 (ADT) Received: (qmail 8347 invoked from network); 31 Mar 2008 13:10:26 +0900 Received: from unknown (HELO ?127.0.0.1?) (100.0.32.195) by sd2.tpf-fw-c.co.jp with SMTP; 31 Mar 2008 13:10:26 +0900 Message-ID: <47F06431.4040105@tpf.co.jp> Date: Mon, 31 Mar 2008 13:10:25 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Kenneth Porter CC: PostgreSQL ODBC Subject: Re: Default schema in DSN References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200803/44 X-Sequence-Number: 9460 Kenneth Porter wrote: > Is there some way to specify a schema in a DSN so that individual table > references in an app don't need to specify it, and so that the app > doesn't need to know what DB is on the back end? (The latter constraint > means I can't set the schema search path in the app.) I tried using > "mydb.public" as the DB name but the Data Source editor doesn't like that.) > > I'm trying to migrate an old Paradox app to a client/server paradigm. I > installed psqlodbc_08_03_0100 on XP SP2 and have an 8.1.11 server on > Linux. The app uses the Borland Database Engine (BDE) to access the > database. > > I don't see a place in the Data Source configuration tool to set the > schema or a search path for a DSN. Please use the Connect Settings option. You can set the command like 'set search_path to ....' for the option. regards, Hiroshi Inoue