X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id B86F6D1B4FC for ; Thu, 18 Sep 2003 03:44:49 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 58529-09 for ; Thu, 18 Sep 2003 00:44:18 -0300 (ADT) Received: from sd.tpf.co.jp (unknown [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id E3A56D1B503 for ; Thu, 18 Sep 2003 00:44:15 -0300 (ADT) Received: (qmail 4649 invoked from network); 18 Sep 2003 12:44:13 +0900 Received: from unknown (HELO viscomail.tpf.co.jp) (100.0.0.108) by sd2.tpf-fw-c.co.jp with SMTP; 18 Sep 2003 12:44:13 +0900 Received: from tpf.co.jp ([126.0.1.81]) by viscomail.tpf.co.jp (8.8.8+Sun/8.8.8) with ESMTP id MAA08211; Thu, 18 Sep 2003 12:44:12 +0900 (JST) Message-ID: <3F692A4D.F28B1D25@tpf.co.jp> Date: Thu, 18 Sep 2003 12:45:17 +0900 From: Hiroshi Inoue X-Mailer: Mozilla 4.73 [ja] (Windows NT 5.0; U) X-Accept-Language: ja MIME-Version: 1.0 To: Mikhail Umorin Cc: pgsql-odbc@postgresql.org Subject: Re: Delphi7, ADO, ODBC and PostgreSQL connection problems References: Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/71 X-Sequence-Number: 3269 Hi Mikhail, Aren't you turning on the *Use Declare/Fetch* option ? If so, please turn it off. regards, Hiroshi Inoue Mikhail Umorin wrote: > > Hiroshi -- > thanks for looking into my problem. > my connection string: > 'Provider=MSDASQL.1;Persist Security Info=False;User ID=lara;DataSource=PostgreSQL30;Mode=Read;lie=1' > > I tried it with your suggestion and the result is exactly the same. > that log excerpt did contain some error; what was it? I am a newbie to ADO/ODBC so, I can't tell. As far as I know, TADOConnection object I use in my Delphi program is a wrapper around MS ADO API. > > Now, what I also discovered on PostgreSQL site was that 7.2 docs contained a chapter on ODBC and mentioned that one must run odbc.sql on template1 in order to have ODBC-oriented functions in the database. However, ODBC documentation is absent in 7.3 (which I have) as well as odbc.sql. > What's up with that? > Do I still need to run odbc.sql against template1, or ODBC API functions are already implemented there? > > -- > Mikhail Umorin > mikeumo@onebox.com > > -----Original Message----- > From: Hiroshi Inoue > Sent: Wed, 17 Sep 2003 10:30:51 +0900 > To: Mikhail Umorin > Cc: pgsql-odbc@postgresql.org > Subject: Re: [ODBC] Delphi7, ADO, ODBC and PostgreSQL connection problems > > Mikhail Umorin wrote: > > > > here it is up until the message appears. After that I stopped the trace. > > Unfortunately I could find no clue in the log. > > How do you open the connection ? > Could you try to add a "lie=1" option to your connection string ? > > regards, > Hiroshi Inoue > http://www.geocities.jp/inocchichichi/psqlodbc/ -- Hiroshi Inoue http://www.geocities.jp/inocchichichi/psqlodbc/