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 85EDD53200 for ; Sun, 3 Apr 2005 12:42:47 +0100 (BST) 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 34278-03 for ; Sun, 3 Apr 2005 11:42:43 +0000 (GMT) Received: from mx1.mail.bg (mx1.mail.bg [193.201.172.114]) by svr1.postgresql.org (Postfix) with ESMTP id 26275531E0 for ; Sun, 3 Apr 2005 12:42:42 +0100 (BST) Received: from localhost (web1.mail.bg [193.201.172.98]) by mx1.mail.bg (Postfix) with ESMTP id 2856C72C0954 for ; Sun, 3 Apr 2005 14:42:44 +0300 (EEST) Received: from 217.75.146.63 ([217.75.146.63]) by mail.bg (mail.bG Webmail 4.0.1) with HTTP for ; Sun, 3 Apr 2005 14:42:43 +0300 Message-ID: <1112528563.1ed75f13f56d9@mail.bg> Date: Sun, 3 Apr 2005 14:42:43 +0300 From: Ivan Petrov To: pgsql-odbc@postgresql.org Subject: URGENT: schema mess MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1251" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: mail.bG Webmail 4.0-cvs X-Originating-IP: 217.75.146.63 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.818 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/12 X-Sequence-Number: 5171 Hello guys, I have the following problem: My Delphi application connect to PostgreSQL via ADO and ODBC driver. I have properly set the ODBC data source and everything was working file while all my tables where in public schema. I decided to group my tables in different schemas. So I created additional schema "system" and moved the few tables there. After that I updated the "search_path" variable to pg_catalog, public, system. But when I try to select something from table system.sec_users I receive empty recordset. If I try the same SQL from EMS PostgreSQL Manager or the console application psql - it returns me what it should. Where is the problem ? ----------------------------- MP3 player APACER 256MB - =D1=E0=EC=EE =E7=E0 99 =EB=E2. http://best.bg/stock.asp?cat_id=3D737&id=3D3789