pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikhail Umorin <mikeumo@onebox.com>
To: Inoue@tpf.co.jp
Cc: pgsql-odbc@postgresql.org
Subject: Re: Delphi7,  ADO, ODBC and PostgreSQL connection problems
Date: Wed, 17 Sep 2003 19:18:21 -0400
Message-ID: <B0014327550@vljcms08.ucmretail.internal.callsciences.com> (raw)

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 <Inoue@tpf.co.jp>
Sent:     Wed, 17 Sep 2003 10:30:51 +0900
To:       Mikhail Umorin <mikeumo@onebox.com>
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/





view thread (17+ messages)  latest in thread

Message-ID: <B0014327550@vljcms08.ucmretail.internal.callsciences.com>
Permalink:  ../B0014327550@vljcms08.ucmretail.internal.callsciences.com/
Also on:    postgresql.org/message-id/B0014327550@vljcms08.ucmretail.internal.callsciences.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: mikeumo@onebox.com, Inoue@tpf.co.jp
  Subject: Re: Delphi7,  ADO, ODBC and PostgreSQL connection problems
  In-Reply-To: <B0014327550@vljcms08.ucmretail.internal.callsciences.com>
  References: <B0014327550@vljcms08.ucmretail.internal.callsciences.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox