Re: int8 becames string in BDE :-(

From: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
To: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: int8 becames string in BDE :-(
Date: 2002-06-10 01:07:03
Message-ID: 3D03FBB7.D6A97D64@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

Dave Page wrote:
>
> > -----Original Message-----
> > From: Hiroshi Inoue [mailto:Inoue(at)tpf(dot)co(dot)jp]
> >
> > OK but as for CommLog and Mylog in default settings, they
> > not only mean defaults but also decide if the driver should
> > take the log info before connection is established.
> > How should we handle the options ?
> >
>
> Hmm, good question!
>
> Is there much reason to have the logging enabled during setup or before
> the DSN is known? I don't recall anyone reporting problems during these
> periods.

The following is a Mylog using MS Access. You can't see the log
unless you check the Default Mylog option.

EN_add_connection: self = 162268416, conn = 162231696
added at i =0, conn->henv = 162268416, conns[i]->henv = 162268416
[SQLGetInfo]PGAPI_GetInfo: entering...fInfoType=77
PGAPI_GetInfo: p='02.50', len=0, value=0, cbMax=12
[SQLSetConnectionOption]PGAPI_SetConnectOption: entering fOption = 103
vParam = 20
[SQLGetConnectOption]PGAPI_GetConnectOption: entering...
CONN ERROR: func=PGAPI_GetConnectOption, desc='fOption=30002',
errnum=205, errmsg='Unknown connect option (Get)'
[SQLSetConnectionOption]PGAPI_SetConnectOption: entering fOption = 30002
vParam = 149101976
Microsoft Jet !!!!
[SQLDriverConnect]PGAPI_DriverConnect: entering...
**** PGAPI_DriverConnect: fDriverCompletion=1, connStrIn='DSN=tako;'
our_connect_string = 'DSN=tako;'
attribute = 'DSN', value = 'tako'
copyAttributes:
DSN='tako',server='',dbase='',user='',passwd='',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
globals.extra_systable_prefixes = 'dd_;'
our_connect_string = 'DSN=tako;'
attribute = 'DSN', value = 'tako'
CopyCommonAttributes:
A7=100;A8=4096;A9=0;B0=254;B1=8191;B2=1;B3=1;B4=1;B5=1;B6=0;B7=0;B8=0;B9=0;C0=0;C1=0;C2=dd_;

You can see the subsequent log info if you check the Mylog
option per DSN.

CC_connect: entering...

We can't see e.g. connect string if we turn off the
Default Mylog option.

regards,
Hiroshi Inoue
http://w2422.nsk.ne.jp/~inoue/

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2002-06-10 05:15:54 Re: ODBC error - Password authentication
Previous Message Dave Page 2002-06-07 14:58:30 Re: ODBC error - Password authentication