pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hiroshi Inoue <Inoue@tpf.co.jp>
To: Alain Picard <Alain.Picard@memetrics.com>
Cc: Nick Gorham <nick@easysoft.com>
Cc: Peter Harvey <pharvey@codebydesign.com>
Cc: pgsql-odbc@postgresql.org
Cc: claudio.natoli@memetrics.com
Subject: Re: unixODBC, PostgreSQL 7.3 + ODBC V3 drivers?
Date: Wed, 05 Feb 2003 09:37:06 +0900
Message-ID: <3E405CB2.6163F291@tpf.co.jp> (raw)
References: <15935.11848.278897.343335@outback.memetrics.local>
	<3E3F8C0B.C6E195DA@tpf.co.jp>
	<15936.16797.475953.234542@outback.memetrics.local>

Alain Picard wrote:
> 
> >>>>> Hiroshi Inoue writes:
> 
> Hiroshi> How did you build the driver ?
> Hiroshi> Did you link odbcapi30.o, pgapi30.o and info30.o ?
> 
> Yes.  Initially I didn't, and got unresolved symbols.
> 
> What I did was:
>  * check things out from CVS
>  * update by libtool, aclocal, etc to the versions specified
>    in the README.unix file
>  * Issue the following commands
>     psqlodbc % cp /usr/share/aclocal/libtool.m4 .
>     psqlodbc % aclocal -I . -I $PGSRC/config
>     (PGSRC points to a checkout of the PostgreSQL 7.3 sources)
>     psqlodbc % ./configure --prefix=/tmp --with-unixodbc
>     edit config.h and add the line
>      #define ODBCVER 0x351
>      at the end of it
>     make install
> 
> Nick Gorham, maintainer of unixODBC, thinks the problem is in
> psqlodbc; I tend to agree although I'm not sure I understand
> what's going on.  I got psqlodbc to spit out reams of logging
> and debugging data, which I can send you, if you think it'll help.

I checked unixODBC sources a little. ISTM unixODBC checks
the existence of the function SQLColAttributes and if it 
exists, it calls SQLColAttributes( not SQLColAttribute) 
passing through the Field Identifier parameter. 
Is it right ?

regards,
Hiroshi Inoue
	http://www.geocities.jp/inocchichichi/psqlodbc/



view thread (10+ messages)  latest in thread

Message-ID: <3E405CB2.6163F291@tpf.co.jp>
Permalink:  ../3E405CB2.6163F291@tpf.co.jp/
Also on:    postgresql.org/message-id/3E405CB2.6163F291@tpf.co.jp

 · 

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: Inoue@tpf.co.jp, Alain.Picard@memetrics.com, nick@easysoft.com, pharvey@codebydesign.com, claudio.natoli@memetrics.com
  Subject: Re: unixODBC, PostgreSQL 7.3 + ODBC V3 drivers?
  In-Reply-To: <3E405CB2.6163F291@tpf.co.jp>
  References: <15935.11848.278897.343335@outback.memetrics.local> <3E3F8C0B.C6E195DA@tpf.co.jp> <15936.16797.475953.234542@outback.memetrics.local> <3E405CB2.6163F291@tpf.co.jp>

* 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