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 B407056494 for ; Tue, 15 Mar 2005 09:32:44 +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 66416-07 for ; Tue, 15 Mar 2005 09:32:34 +0000 (GMT) Received: from mx1.mail.bg (mx1.mail.bg [193.201.172.114]) by svr1.postgresql.org (Postfix) with ESMTP id 4183E563AA for ; Tue, 15 Mar 2005 09:32:33 +0000 (GMT) Received: from localhost (web1.mail.bg [193.201.172.98]) by mx1.mail.bg (Postfix) with ESMTP id 1FE704270B for ; Tue, 15 Mar 2005 11:32:34 +0200 (EET) Received: from kraev.ddns.HomeLan.BG (kraev.ddns.HomeLan.BG [83.97.31.75]) by mail.bg (mail.bG Webmail 4.0.1) with HTTP for ; Tue, 15 Mar 2005 11:32:33 +0200 Message-ID: <1110879153.aef3c71a275f0@mail.bg> Date: Tue, 15 Mar 2005 11:32:33 +0200 From: Ivan Petrov To: pgsql-odbc@postgresql.org Subject: relation %s does not exist ??? It actually does. MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="=_f494e302d61560276cc324" Content-Transfer-Encoding: 7bit User-Agent: mail.bG Webmail 4.0-cvs X-Originating-IP: 83.97.31.75 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.789 tagged_above=0 required=5 tests=HTML_50_60, HTML_IMAGE_ONLY_16, HTML_MESSAGE, HTML_TEXT_AFTER_BODY, HTML_TEXT_AFTER_HTML, HTML_TITLE_EMPTY, HTML_WEB_BUGS X-Spam-Level: * X-Archive-Number: 200503/56 X-Sequence-Number: 5074 This message is in MIME format. --=_f494e302d61560276cc324 Content-Type: text/plain; charset="Windows-1251" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello guys, 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=3D# select user_id auto-# from sec_users auto-# where user_name =3D 'postgres' auto-# and is_locked =3D false auto-# and passwd =3D 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 ...
-----------= ------------------
=93=D3=E1=E8=E9=F1=F2=E2=E5=ED =EF=FA=E7=E5=EB=94 =96 =E2=FA=EB=ED=F3=E2=E0= =F9 =EA=E0=F2=EE =93=D1=E5=E4=E5=EC=94 =E8 =93=CC=FA=EB=F7=E0=ED=E8=E5=F2=EE= =ED=E0 =E0=E3=ED=E5=F2=E0=F2=E0=94.
=C2 =EA=E8=ED=E0=F2=E0 =EE=F2 11 =EC=E0=F0=F2.
http://www.newfilms-bg.com/
3D'' --=_f494e302d61560276cc324 Content-Type: text/html; charset="windows-1251" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable


=A0 Hello guys,

=A0 I= am using ODBC driver to connect to Postgres via Delphi. It works fine, except a probl= em "ERROR: relation "sec_users" does not exist" and table sec_users exists in t= he database. I tried with public.sec_users and it is the same.

=A0 = In psql console application :
auto=3D#=A0=A0 select user_id
auto-#=A0= =A0 from sec_users
auto-#=A0=A0 where user_name =3D 'postgres'
auto-#=A0=A0= =A0=A0 and is_locked =3D false
auto-#=A0=A0=A0=A0 and passwd =3D md5('postgres')auto-#=A0=A0=A0=A0 and (password_expire_date > current_timestamp or
auto(#=A0=A0=A0=A0= =A0=A0=A0=A0=A0 password_expire_date is null);
=A0user_id
---------
=A0=A0=A0= =A0=A0=A0 1
(1 row)

=A0 But I can not figure out why it doesn't work from O= DBC ...


-----------------------------
=93=D3=E1=E8=E9=F1=F2=E2=E5=ED =EF=FA=E7=E5=EB=94 =96 =E2=FA=EB=ED=F3=E2=E0= =F9 =EA=E0=F2=EE =93=D1=E5=E4=E5=EC=94 =E8 =93=CC=FA=EB=F7=E0=ED=E8=E5=F2=EE= =ED=E0 =E0=E3=ED=E5=F2=E0=F2=E0=94.
=C2 =EA=E8=ED=E0=F2=E0 =EE=F2 11 =EC=E0=F0=F2.
http://www.newfilms-bg.com/
3D'' --=_f494e302d61560276cc324--