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 B596356860 for ; Tue, 15 Mar 2005 19:51:22 +0000 (GMT) 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 91410-06 for ; Tue, 15 Mar 2005 19:51:16 +0000 (GMT) Received: from mx1.mail.bg (mx1.mail.bg [193.201.172.114]) by svr1.postgresql.org (Postfix) with ESMTP id B69E6566D7 for ; Tue, 15 Mar 2005 19:51:14 +0000 (GMT) Received: from localhost (web1.mail.bg [193.201.172.98]) by mx1.mail.bg (Postfix) with ESMTP id 359FE42451; Tue, 15 Mar 2005 21:50:59 +0200 (EET) Received: from 217.75.146.63 ([217.75.146.63]) by mail.bg (mail.bG Webmail 4.0.1) with HTTP for ; Tue, 15 Mar 2005 21:50:58 +0200 Message-ID: <1110916258.16cf32ea6f287@mail.bg> Date: Tue, 15 Mar 2005 21:50:58 +0200 From: Ivan Petrov To: Tom Lane Cc: pgsql-odbc@postgresql.org Subject: Re: relation %s does not exist ??? It actually does. References: <1110879153.aef3c71a275f0@mail.bg> <6029.1110898242@sss.pgh.pa.us> In-Reply-To: <6029.1110898242@sss.pgh.pa.us> 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=1.635 tagged_above=0 required=5 tests=RAZOR2_CF_RANGE_51_100, RAZOR2_CHECK X-Spam-Level: * X-Archive-Number: 200503/58 X-Sequence-Number: 5076 The same database, same user, same table. The only difference is that in the first case I am connected through ODBC, the second - through psql console application. When I tried with PostgresDAC from microolap.com - it works fine. It seems it is something with the ODBC driver... =D6=E8=F2=E0=F2 =ED=E0 =EF=E8=F1=EC=EE =EE=F2 Tom Lane : > Ivan Petrov writes: > > I am using ODBC driver to connect to Postgres via > Delphi. > > It works fine, except a problem "ERROR: relation > > "sec_users" does not exist" and table sec_users exists > in > > the database. I tried with public.sec_users and it is > the > > same. > > > In psql console application : > > auto=3D3D# select user_id > > auto-# from sec_users > > auto-# where user_name =3D3D 'postgres' > > auto-# and is_locked =3D3D false > > auto-# and passwd =3D3D md5('postgres') > > auto-# and (password_expire_date > > current_timestamp or > > auto(# password_expire_date is null); > > user_id > > --------- > > 1 > > (1 row) > > > But I can not figure out why it doesn't work from > ODBC ... > > Sure you're connecting to the same database in both > cases? As the same > user? (If they are different users, maybe one has a > different schema > search_path set by default?) > > =09=09=09regards, tom lane > > ---------------------------(end of > broadcast)--------------------------- > TIP 2: you can get off all lists at once with the > unregister command > (send "unregister YourEmailAddressHere" to > majordomo@postgresql.org) > -------------------------------------- =D2=EE=E2=E0 =EF=E8=F1=EC=EE =E5 =E8=E7=EF=F0=E0=F2=E5=ED=EE =EE=F2 www.mai= l.bg =C1=E5=E7=EF=EB=E0=F2=ED=E0=F2=E0 =EF=EE=F9=E0 =E2 mail.bg =EF=F0=E5=E4=EB= =E0=E3=E0: - =D1=E8=EB=ED=E0 =E7=E0=F9=E8=F2=E0 =F1=F0=E5=F9=F3 =D1=CF=C0=CC/=F0=E5=EA= =EB=E0=EC=ED=E8 =EF=E8=F1=EC=E0 - 30MB =E1=E5=E7=EF=EB=E0=F2=ED=EE (SMS =EE=F2 2=EB=E2=3D3GB!) - 30MB =EC=E0=EA=F1. =F0=E0=E7=EC=E5=F0 =ED=E0 =EF=F0=E8=EA=E0=F7=E5=ED =F4= =E0=E9=EB - SMS =E7=E0 =ED=EE=E2=EE =EF=E8=F1=EC=EE (=E2=F1=E8=F7=EA=E8 =EE=EF=E5=F0= =E0=F2=EE=F0=E8) - WAP =E4=EE=F1=F2=FA=EF =EE=F2 GSM =E8 =E1=E5=E7 =EA=EE=EC=EF=FE=F2=FA=F0 - =C1=E5=E7=EF=EB=E0=F2=E5=ED POP3 =E4=EE=F1=F2=FA=EF - 24 =F7=E0=F1=EE=E2 =F2=E5=EB=E5=F4=EE=ED =E7=E0 =EF=EE=EC=EE=F9/=EF=EE=E4= =E4=F0=FA=E6=EA=E0 ______________________________________ =C1=C5=C7 =C8=C7=CB=C8=D8=CD=C8 =C2=DA=CF=D0=CE=D1=C8 =D0=C5=C3=C8=D1=D2=D0= =C8=D0=C0=C9=D2=C5 =D1=C2=CE=C9 =C1=C5=C7=CF=CB=C0=D2=C5=CD =C0=C4=D0=C5=D1 =CD=C0 http://www.mail.bg