Re: int8 becames string in BDE :-( - Mailing list pgsql-odbc

From Hiroshi Inoue
Subject Re: int8 becames string in BDE :-(
Date
Msg-id 3D03FBB7.D6A97D64@tpf.co.jp
Whole thread Raw
In response to Re: int8 becames string in BDE :-(  ("Dave Page" <dpage@vale-housing.co.uk>)
List pgsql-odbc
Dave Page wrote:
>
> > -----Original Message-----
> > From: Hiroshi Inoue [mailto:Inoue@tpf.co.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/

pgsql-odbc by date:

Previous
From: "Dave Page"
Date:
Subject: Re: ODBC error - Password authentication
Next
From: Hiroshi Inoue
Date:
Subject: Re: ODBC error - Password authentication