pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedDelphi7, ADO, ODBC and PostgreSQL connection problems
17+ messages / 6 participants
[nested] [flat]
* Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-16 20:40 Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 2 replies; 17+ messages in thread
From: Mikhail Umorin @ 2003-09-16 20:40 UTC (permalink / raw)
To: pgsql-odbc
Hello --
How to set up PostgreSQL ODBC provider so I can access PostgreSQL database
on a LAN? I use ODBC3.0 driver from GBorg (psqlodbc.dll) on WinME and
PostgreSQL 7.3.2 on Mandrake 9.1. So far I tried setting up
File DSN and get rintime error: "Object or provider is not capable of performing requested operation". (log provided below)I
specified server IP address, database name, user and password in the provider entry
(through Control Panel) and then used TADOConnection to connect to ODBC
provider. The error comes up when I set Connected property of the connection object to True.
I do not want to use VitaVoom SQL connection driver as the free (demo)
version requires running Delphi.
Thanks,
Mikhail.
--
Mikhail Umorin
mikeumo@onebox.com
here is an excerpt from mylog_xxxx.log (let me know if you need more info):
..
[-240017]READING ATTTYPMOD
[-240017]CI_read_fields: fieldname='pg_client_encoding', adtid=19, adtsize=64, atttypmod=-1
[-240017]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[-240017]MALLOC: tuple_size = 100, size = 800
[-240017]next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101
[-240017]qresult: len=9, buffer='SQL_ASCII'
[-240017]end of tuple list -- setting inUse to false: this = 33951312
[-240017]_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[-240017]send_query: got id = 'Z'
[-240017]QResult: in DESTRUCTOR
[-240017]QResult: free memory in, fcount=1
[-240017]row = 0, num_fields = 1
[-240017]free [lf=0] 33951568
[-240017]QResult: free memory out
[-240017]QResult: exit DESTRUCTOR
[-240017]CC_connect: returning...
[-240017]szConnStrOut = 'DRIVER={PostgreSQL Legacy};DATABASE=lara;SERVER=192.168.1.2;PORT=5432;UID=lara;PWD=xxxxxxx;ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=254;MaxLongVarcharSize=8190;Debug=1;CommLog=1;Optimizer=0;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=1;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=pg_;LFConversion=0;UpdatableCursors=0;DisallowPremature=0;TrueIsMinus1=0;BI=2;ByteaAsLongVarBinary=0;UseServerSidePrepare=0' len=560,1024
[-240017]PGAPI_DriverConnect: returning 0
[-240017][SQLError][-240017]**** PGAPI_Error: henv=0, hdbc=32833656 hstmt=0
[-240017]**** PGAPI_ConnectError: hdbc=32833656 <512>
[-240017]enter CC_get_error
[-240017]enter CC_create_errormsg
[-240017]msg = ''
[-240017]exit CC_create_errormsg
[-240017]exit CC_get_error
[-240017]CC_Get_error returned nothing.
[-240017]**** PGAPI_Error exit code=100
[-240017][SQLGetFunctions][-240017]PGAPI_GetFunctions: entering...0
..
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-16 23:34 Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 0 replies; 17+ messages in thread
From: Mikhail Umorin @ 2003-09-16 23:34 UTC (permalink / raw)
To: mikeumo@onebox.com; pgsql-odbc
That was a log from the legacy driver (2.5) I tried just in case. I also tried Unicode (beta) with same "success". But here is the part of the log from the ODBC3.0 psqlodbc.dll driver (it has slightly different diagnostics):
...
[-787737]READING ATTTYPMOD
[-787737]CI_read_fields: fieldname='pg_client_encoding', adtid=19, adtsize=64, atttypmod=-1
[-787737]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[-787737]MALLOC: tuple_size = 100, size = 800
[-787737]next_tuple: inTuples = true, falling through: fcount = 101, fetch_count = 101
[-787737]qresult: len=9, buffer='SQL_ASCII'
[-787737]end of tuple list -- setting inUse to false: this = 33951312
[-787737]_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[-787737]send_query: got id = 'Z'
[-787737]QResult: in DESTRUCTOR
[-787737]QResult: free memory in, fcount=1
[-787737]row = 0, num_fields = 1
[-787737]free [lf=0] 33951568
[-787737]QResult: free memory out
[-787737]QResult: exit DESTRUCTOR
[-787737]CC_connect: returning...
[-787737]szConnStrOut = 'DRIVER={PostgreSQL};DATABASE=lara;SERVER=192.168.1.2;PORT=5432;UID=lara;PWD=xxxxxxx;ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=1;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=1;MaxVarcharSize=254;MaxLongVarcharSize=8190;Debug=1;CommLog=1;Optimizer=0;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=1;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=pg_;LFConversion=0;UpdatableCursors=0;DisallowPremature=0;TrueIsMinus1=0;BI=2;ByteaAsLongVarBinary=0;UseServerSidePrepare=1' len=553,1024
[-787737]PGAPI_DriverConnect: returning 0
[-787737][[SQLGetDiagRec]]
[-787737]PGAPI_GetDiagRec entering rec=1[-787737]**** PGAPI_ConnectError: hdbc=32833656 <0>
[-787737]enter CC_get_error
[-787737]enter CC_create_errormsg
[-787737]msg = ''
[-787737]exit CC_create_errormsg
[-787737]exit CC_get_error
[-787737]CC_Get_error returned nothing.
[-787737]PGAPI_GetDiagRec exiting 100
[-787737][SQLGetFunctions][-787737][SQLGetInfo(30)][-787737]PGAPI_GetInfo: entering...fInfoType=23
[-787737]PGAPI_GetInfo: p='<NULL>', len=2, value=1, cbMax=2
..
etc
Mikhail.
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-17 00:02 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Mikhail Umorin <mikeumo@onebox.com>
1 sibling, 0 replies; 17+ messages in thread
From: Hiroshi Inoue @ 2003-09-17 00:02 UTC (permalink / raw)
To: Mikhail Umorin <mikeumo@onebox.com>; +Cc: pgsql-odbc
Mikhail Umorin wrote:
>
> Hello --
> How to set up PostgreSQL ODBC provider so I can access PostgreSQL database
> on a LAN? I use ODBC3.0 driver from GBorg (psqlodbc.dll) on WinME and
> PostgreSQL 7.3.2 on Mandrake 9.1. So far I tried setting up
> File DSN and get rintime error: "Object or provider is not capable of performing requested operation". (log provided below)I
> specified server IP address, database name, user and password in the provider entry
> (through Control Panel) and then used TADOConnection to connect to ODBC
> provider. The error comes up when I set Connected property of the connection object to True.
> I do not want to use VitaVoom SQL connection driver as the free (demo)
> version requires running Delphi.
> Thanks,
I see no serious error in the log.
Could you send me the ODBC trace ?
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-17 01:04 Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 1 reply; 17+ messages in thread
From: Mikhail Umorin @ 2003-09-17 01:04 UTC (permalink / raw)
To: Inoue@tpf.co.jp; mikeumo@onebox.com; +Cc: pgsql-odbc
here it is up until the message appears. After that I stopped the trace.
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLAllocEnv
HENV * 1F6EB570
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x1F6EB570 ( 0x01c4ff7c)
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetEnvAttr
SQLHENV 01C4FF7C
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER 4
SQLINTEGER * 0x006FEEBC
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetEnvAttr with return code 0 (SQL_SUCCESS)
SQLHENV 01C4FF7C
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER 4
SQLINTEGER * 0x006FEEBC (527113474)
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLAllocEnv
HENV * 1F6EB574
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x1F6EB574 ( 0x01b501c0)
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLSetEnvAttr
SQLHENV 01B501C0
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
SQLHENV 01B501C0
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLAllocConnect
HENV 01C4FF7C
HDBC * 006FF5EC
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
HENV 01C4FF7C
HDBC * 0x006FF5EC ( 0x01b50260)
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 10 <SQL_ODBC_VER>
PTR 0x006FF5B8
SWORD 22
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 10 <SQL_ODBC_VER>
PTR 0x006FF5B8
SWORD 22
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 101 <SQL_ATTR_ACCESS_MODE>
SQLPOINTER 0x00000001
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 101 <SQL_ATTR_ACCESS_MODE>
SQLPOINTER 0x00000001 (BADMEM)
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 103 <SQL_ATTR_LOGIN_TIMEOUT>
SQLPOINTER 0x0000000F
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 103 <SQL_ATTR_LOGIN_TIMEOUT>
SQLPOINTER 0x0000000F (BADMEM)
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLDriverConnectW
HDBC 01B50260
HWND 00000000
WCHAR * 0x1F7D8B70 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x1F7D8B70
SWORD 8
SWORD * 0x00000000
UWORD 0 <SQL_DRIVER_NOPROMPT>
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLDriverConnectW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
HWND 00000000
WCHAR * 0x1F7D8B70 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x1F7D8B70
SWORD 8
SWORD * 0x00000000
UWORD 0 <SQL_DRIVER_NOPROMPT>
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 77 <SQL_DRIVER_ODBC_VER>
PTR 0x006FF5B0
SWORD 24
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 77 <SQL_DRIVER_ODBC_VER>
PTR 0x006FF5B0
SWORD 24
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 79 <SQL_POS_OPERATIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 79 <SQL_POS_OPERATIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 83 <SQL_STATIC_SENSITIVITY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 83 <SQL_STATIC_SENSITIVITY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 78 <SQL_LOCK_TYPES>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 78 <SQL_LOCK_TYPES>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 81 <SQL_GETDATA_EXTENSIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 81 <SQL_GETDATA_EXTENSIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 72 <SQL_TXN_ISOLATION_OPTION>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 72 <SQL_TXN_ISOLATION_OPTION>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 82 <SQL_BOOKMARK_PERSISTENCE>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 82 <SQL_BOOKMARK_PERSISTENCE>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 44 <SQL_SCROLL_OPTIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 44 <SQL_SCROLL_OPTIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 43 <SQL_SCROLL_CONCURRENCY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 43 <SQL_SCROLL_CONCURRENCY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 144 <SQL_DYNAMIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 144 <SQL_DYNAMIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 150 <SQL_KEYSET_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 150 <SQL_KEYSET_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 167 <SQL_STATIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 167 <SQL_STATIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 146 <SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 146 <SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 151 <SQL_KEYSET_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 151 <SQL_KEYSET_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 168 <SQL_STATIC_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 168 <SQL_STATIC_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 111 <SQL_NEED_LONG_DATA_LEN>
PTR 0x006FF38C
SWORD 512
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 111 <SQL_NEED_LONG_DATA_LEN>
PTR 0x006FF38C
SWORD 512
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 16 <SQL_DATABASE_NAME>
PTR 0x00000000
SWORD 0
SWORD * 0x006FF592
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 16 <SQL_DATABASE_NAME>
PTR 0x00000000
SWORD 0
SWORD * 0x006FF592 (0)
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 23 <SQL_CURSOR_COMMIT_BEHAVIOR>
PTR 0x006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 23 <SQL_CURSOR_COMMIT_BEHAVIOR>
PTR 0x006FF594 (1)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 24 <SQL_CURSOR_ROLLBACK_BEHAVIOR>
PTR 0x006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 24 <SQL_CURSOR_ROLLBACK_BEHAVIOR>
PTR 0x006FF594 (1)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 46 <SQL_TXN_CAPABLE>
PTR 0x006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 46 <SQL_TXN_CAPABLE>
PTR 0x006FF594 (2)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 1 <SQL_ATTR_MAX_ROWS>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 1 <SQL_ATTR_MAX_ROWS>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 0 <SQL_ATTR_QUERY_TIMEOUT>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 0 <SQL_ATTR_QUERY_TIMEOUT>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetFunctions
HDBC 01B50260
UWORD 999
UWORD * 0x01251EE4
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetFunctions with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 999
UWORD * 0x01251EE4 (4294967294)
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 1 <SQL_ACTIVE_STATEMENTS>
PTR 0x006FF5D4
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 1 <SQL_ACTIVE_STATEMENTS>
PTR 0x006FF5D4 (0)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 109 <SQL_ATTR_CURRENT_CATALOG>
SQLPOINTER 0x006FF39C
SQLINTEGER 514
SQLINTEGER * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 109 <SQL_ATTR_CURRENT_CATALOG>
SQLPOINTER 0x006FF39C
SQLINTEGER 514
SQLINTEGER * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 ENTER SQLGetInfoW
HDBC 01B50260
UWORD 26 <SQL_DEFAULT_TXN_ISOLATION>
PTR 0x006FF5A0
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff2d20b-fff2fd37 EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 26 <SQL_DEFAULT_TXN_ISOLATION>
PTR 0x006FF5A0 (2)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLAllocEnv
HENV * 1F6EB570
LaraSchedVCL fff25db7-fff25fff EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x1F6EB570 ( 0x01c4ff7c)
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetEnvAttr
SQLHENV 01C4FF7C
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER 4
SQLINTEGER * 0x006FEEBC
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetEnvAttr with return code 0 (SQL_SUCCESS)
SQLHENV 01C4FF7C
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER 4
SQLINTEGER * 0x006FEEBC (527113474)
LaraSchedVCL fff25db7-fff25fff ENTER SQLAllocEnv
HENV * 1F6EB574
LaraSchedVCL fff25db7-fff25fff EXIT SQLAllocEnv with return code 0 (SQL_SUCCESS)
HENV * 0x1F6EB574 ( 0x01b501c0)
LaraSchedVCL fff25db7-fff25fff ENTER SQLSetEnvAttr
SQLHENV 01B501C0
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff EXIT SQLSetEnvAttr with return code 0 (SQL_SUCCESS)
SQLHENV 01B501C0
SQLINTEGER 201 <unknown>
SQLPOINTER [Unknown attribute 201]
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff ENTER SQLAllocConnect
HENV 01C4FF7C
HDBC * 006FF5EC
LaraSchedVCL fff25db7-fff25fff EXIT SQLAllocConnect with return code 0 (SQL_SUCCESS)
HENV 01C4FF7C
HDBC * 0x006FF5EC ( 0x01b50260)
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 10 <SQL_ODBC_VER>
PTR 0x006FF5B8
SWORD 22
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 10 <SQL_ODBC_VER>
PTR 0x006FF5B8
SWORD 22
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 101 <SQL_ATTR_ACCESS_MODE>
SQLPOINTER 0x00000001
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 101 <SQL_ATTR_ACCESS_MODE>
SQLPOINTER 0x00000001 (BADMEM)
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 103 <SQL_ATTR_LOGIN_TIMEOUT>
SQLPOINTER 0x0000000F
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 103 <SQL_ATTR_LOGIN_TIMEOUT>
SQLPOINTER 0x0000000F (BADMEM)
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff ENTER SQLDriverConnectW
HDBC 01B50260
HWND 00000000
WCHAR * 0x1F7D8B70 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x1F7D8B70
SWORD 8
SWORD * 0x00000000
UWORD 0 <SQL_DRIVER_NOPROMPT>
LaraSchedVCL fff25db7-fff25fff EXIT SQLDriverConnectW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
HWND 00000000
WCHAR * 0x1F7D8B70 [ -3] "******\ 0"
SWORD -3
WCHAR * 0x1F7D8B70
SWORD 8
SWORD * 0x00000000
UWORD 0 <SQL_DRIVER_NOPROMPT>
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 77 <SQL_DRIVER_ODBC_VER>
PTR 0x006FF5B0
SWORD 24
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 77 <SQL_DRIVER_ODBC_VER>
PTR 0x006FF5B0
SWORD 24
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 79 <SQL_POS_OPERATIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 79 <SQL_POS_OPERATIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 83 <SQL_STATIC_SENSITIVITY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 83 <SQL_STATIC_SENSITIVITY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 78 <SQL_LOCK_TYPES>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 78 <SQL_LOCK_TYPES>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 81 <SQL_GETDATA_EXTENSIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 81 <SQL_GETDATA_EXTENSIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 72 <SQL_TXN_ISOLATION_OPTION>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 72 <SQL_TXN_ISOLATION_OPTION>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 82 <SQL_BOOKMARK_PERSISTENCE>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 82 <SQL_BOOKMARK_PERSISTENCE>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 44 <SQL_SCROLL_OPTIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 44 <SQL_SCROLL_OPTIONS>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 43 <SQL_SCROLL_CONCURRENCY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 43 <SQL_SCROLL_CONCURRENCY>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 144 <SQL_DYNAMIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 144 <SQL_DYNAMIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 150 <SQL_KEYSET_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 150 <SQL_KEYSET_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 167 <SQL_STATIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 167 <SQL_STATIC_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 146 <SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 146 <SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 151 <SQL_KEYSET_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 151 <SQL_KEYSET_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 168 <SQL_STATIC_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 168 <SQL_STATIC_CURSOR_ATTRIBUTES2>
PTR 006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 111 <SQL_NEED_LONG_DATA_LEN>
PTR 0x006FF38C
SWORD 512
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 111 <SQL_NEED_LONG_DATA_LEN>
PTR 0x006FF38C
SWORD 512
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 16 <SQL_DATABASE_NAME>
PTR 0x00000000
SWORD 0
SWORD * 0x006FF592
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 16 <SQL_DATABASE_NAME>
PTR 0x00000000
SWORD 0
SWORD * 0x006FF592 (0)
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 23 <SQL_CURSOR_COMMIT_BEHAVIOR>
PTR 0x006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 23 <SQL_CURSOR_COMMIT_BEHAVIOR>
PTR 0x006FF594 (1)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 24 <SQL_CURSOR_ROLLBACK_BEHAVIOR>
PTR 0x006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 24 <SQL_CURSOR_ROLLBACK_BEHAVIOR>
PTR 0x006FF594 (1)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 46 <SQL_TXN_CAPABLE>
PTR 0x006FF594
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 46 <SQL_TXN_CAPABLE>
PTR 0x006FF594 (2)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 1 <SQL_ATTR_MAX_ROWS>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 1 <SQL_ATTR_MAX_ROWS>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff ENTER SQLSetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 0 <SQL_ATTR_QUERY_TIMEOUT>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff EXIT SQLSetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 0 <SQL_ATTR_QUERY_TIMEOUT>
SQLPOINTER 0x00000000
SQLINTEGER -6
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 6 <SQL_DRIVER_NAME>
PTR 0x006FF344
SWORD 52
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetFunctions
HDBC 01B50260
UWORD 999
UWORD * 0x01251EE4
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetFunctions with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 999
UWORD * 0x01251EE4 (4294967294)
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 1 <SQL_ACTIVE_STATEMENTS>
PTR 0x006FF5D4
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 1 <SQL_ACTIVE_STATEMENTS>
PTR 0x006FF5D4 (0)
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetConnectAttrW
SQLHDBC 01B50260
SQLINTEGER 109 <SQL_ATTR_CURRENT_CATALOG>
SQLPOINTER 0x006FF39C
SQLINTEGER 514
SQLINTEGER * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetConnectAttrW with return code 0 (SQL_SUCCESS)
SQLHDBC 01B50260
SQLINTEGER 109 <SQL_ATTR_CURRENT_CATALOG>
SQLPOINTER 0x006FF39C
SQLINTEGER 514
SQLINTEGER * 0x00000000
LaraSchedVCL fff25db7-fff25fff ENTER SQLGetInfoW
HDBC 01B50260
UWORD 26 <SQL_DEFAULT_TXN_ISOLATION>
PTR 0x006FF5A0
SWORD 4
SWORD * 0x00000000
LaraSchedVCL fff25db7-fff25fff EXIT SQLGetInfoW with return code 0 (SQL_SUCCESS)
HDBC 01B50260
UWORD 26 <SQL_DEFAULT_TXN_ISOLATION>
PTR 0x006FF5A0 (2)
SWORD 4
SWORD * 0x00000000
--
Mikhail Umorin
mikeumo@onebox.com
-----Original Message-----
From: Hiroshi Inoue <Inoue@tpf.co.jp>
Sent: Wed, 17 Sep 2003 09:02:52 +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:
>
> Hello --
> How to set up PostgreSQL ODBC provider so I can access PostgreSQL database
> on a LAN? I use ODBC3.0 driver from GBorg (psqlodbc.dll) on WinME and
> PostgreSQL 7.3.2 on Mandrake 9.1. So far I tried setting up
> File DSN and get rintime error: "Object or provider is not capable of performing requested operation". (log provided below)I
> specified server IP address, database name, user and password in the provider entry
> (through Control Panel) and then used TADOConnection to connect to ODBC
> provider. The error comes up when I set Connected property of the connection object to True.
> I do not want to use VitaVoom SQL connection driver as the free (demo)
> version requires running Delphi.
> Thanks,
I see no serious error in the log.
Could you send me the ODBC trace ?
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-17 01:30 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 0 replies; 17+ messages in thread
From: Hiroshi Inoue @ 2003-09-17 01:30 UTC (permalink / raw)
To: Mikhail Umorin <mikeumo@onebox.com>; +Cc: pgsql-odbc
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/
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-17 04:42 Thomas Wegner <thomas@wegner24.de>
parent: Mikhail Umorin <mikeumo@onebox.com>
1 sibling, 0 replies; 17+ messages in thread
From: Thomas Wegner @ 2003-09-17 04:42 UTC (permalink / raw)
To: pgsql-odbc
User DbExpress to connect to postgresql! This is the
best and fastest way from Delphi.
--
Thomas Wegner
""Mikhail Umorin"" <mikeumo@onebox.com> schrieb im Newsbeitrag
news:B0014792881@vljcms11.ucmretail.internal.callsciences.com...
Hello --
How to set up PostgreSQL ODBC provider so I can access PostgreSQL database
on a LAN? I use ODBC3.0 driver from GBorg (psqlodbc.dll) on WinME and
PostgreSQL 7.3.2 on Mandrake 9.1. So far I tried setting up
File DSN and get rintime error: "Object or provider is not capable of
performing requested operation". (log provided below)I
specified server IP address, database name, user and password in the
provider entry
(through Control Panel) and then used TADOConnection to connect to ODBC
provider. The error comes up when I set Connected property of the connection
object to True.
I do not want to use VitaVoom SQL connection driver as the free (demo)
version requires running Delphi.
Thanks,
Mikhail.
--
Mikhail Umorin
mikeumo@onebox.com
here is an excerpt from mylog_xxxx.log (let me know if you need more info):
..
[-240017]READING ATTTYPMOD
[-240017]CI_read_fields: fieldname='pg_client_encoding', adtid=19,
adtsize=64, atttypmod=-1
[-240017]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[-240017]MALLOC: tuple_size = 100, size = 800
[-240017]next_tuple: inTuples = true, falling through: fcount = 101,
fetch_count = 101
[-240017]qresult: len=9, buffer='SQL_ASCII'
[-240017]end of tuple list -- setting inUse to false: this = 33951312
[-240017]_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[-240017]send_query: got id = 'Z'
[-240017]QResult: in DESTRUCTOR
[-240017]QResult: free memory in, fcount=1
[-240017]row = 0, num_fields = 1
[-240017]free [lf=0] 33951568
[-240017]QResult: free memory out
[-240017]QResult: exit DESTRUCTOR
[-240017]CC_connect: returning...
[-240017]szConnStrOut = 'DRIVER={PostgreSQL
Legacy};DATABASE=lara;SERVER=192.168.1.2;PORT=5432;UID=lara;PWD=xxxxxxx;Read
Only=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSyste
mTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=
254;MaxLongVarcharSize=8190;Debug=1;CommLog=1;Optimizer=0;Ksqo=1;UseDeclareF
etch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=1;BoolsAsChar=1;Parse=0;Can
celAsFreeStmt=0;ExtraSysTablePrefixes=pg_;LFConversion=0;UpdatableCursors=0;
DisallowPremature=0;TrueIsMinus1=0;BI=2;ByteaAsLongVarBinary=0;UseServerSide
Prepare=0' len=560,1024
[-240017]PGAPI_DriverConnect: returning 0
[-240017][SQLError][-240017]**** PGAPI_Error: henv=0, hdbc=32833656 hstmt=0
[-240017]**** PGAPI_ConnectError: hdbc=32833656 <512>
[-240017]enter CC_get_error
[-240017]enter CC_create_errormsg
[-240017]msg = ''
[-240017]exit CC_create_errormsg
[-240017]exit CC_get_error
[-240017]CC_Get_error returned nothing.
[-240017]**** PGAPI_Error exit code=100
[-240017][SQLGetFunctions][-240017]PGAPI_GetFunctions: entering...0
..
---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-17 22:31 Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 0 replies; 17+ messages in thread
From: Mikhail Umorin @ 2003-09-17 22:31 UTC (permalink / raw)
To: thomas@wegner24.de; +Cc: pgsql-odbc
like I already said I do not want to use dbExpress because
D7 pro does not come with Postgresql support (only MySQL and MS SQL Server) so, I must find a 3'rd party driver, which would be VitaVoom. But,what I can get for free requires running Delphi IDE at runtime or $150. I am not going to make profit from my DB client, so the price is too steep for me.
--
Mikhail Umorin
mikeumo@onebox.com
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-17 23:18 Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 1 reply; 17+ messages in thread
From: Mikhail Umorin @ 2003-09-17 23:18 UTC (permalink / raw)
To: Inoue@tpf.co.jp; +Cc: pgsql-odbc
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/
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-18 00:58 Richard Combs <RichardNCombs@netscape.net>
0 siblings, 0 replies; 17+ messages in thread
From: Richard Combs @ 2003-09-18 00:58 UTC (permalink / raw)
To: pgsql-odbc
I have been able to successfully connect to PostgreSQL using D7 and ADO.
Environment:
D7 on W2K workstation
MDAC v2.8
PostgreSQL ODBC driver v7.03.01.00
PostgeSQL v7.3.4 on SuSE Linux 8.2
(Compiled with odbc switch, odbc.sql applied to template1
before creating new databse)
With ODBC
Create system DSN pointing to databse on server
(use standard driver)
In D7
New project
Add ADOConnection
Build Connection String (using the system DSN you just
created)
- Mine looks like this:
Provider=MSDASQL.1;Password=sysdba;Persist
Security Info=True;
User ID=postgres;Data Source=Manpower-pg;
Extended
Properties="DSN=Manpower-pg;DATABASE=manpower;
SERVER=192.168.0.3;PORT=5432;
UID=postgres;PWD=sysdba;ReadOnly=0;
Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=1;
ShowSystemTables=0;ConnSettings=;Fetch=100;
Socket=4096;UnknownSizes=2;MaxVarcharSize=254;
MaxLongVarcharSize=32764;Debug=0;CommLog=0;
Optimizer=1;Ksqo=1;UseDeclareFetch=1;
TextAsLongVarchar=1;UnknownsAsLongVarchar=1;
BoolsAsChar=1;Parse=1;CancelAsFreeStmt=0;
ExtraSysTablePrefixes=dd_;;LFConversion=1;
UpdatableCursors=1;DisallowPremature=1;TrueIsMinus1=0;
BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=1"
Test the connection after building it - it should test ok
Set the connection to active - you should have a valid
connection
Add some other stuff to the form to verify you are getting data
In my case, I added an ADOTable, DataSource, and DataGrid
(grid points to source, source to table, table to
connection)
You can view the full table contents.
Some other things to check:
1. Check your pg_hba.conf - are you allowing access to your client
machine?
2. Check your postgresql.conf - do you allow tcpip_sockets,
have you changed your default port from 5432?
3. Do you have proper rights to the database - are you logging in
with the
same user name and password as you used to create the database?
You can always try using dbExpress using the openODBC driver available
on sourceforge.
However, I have had problems getting all rows of a table to return.
Only the first row
shows up. Checking logs and packet sniffing reveals PostgreSQL is
returning all rows.
IMHO dbExpress is not yet ready for primetime - it is too quirky. Too
bad as I would like
to use it in place of ADO.
HTH
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-18 02:52 Richard Combs <rncombs@covad.net>
0 siblings, 0 replies; 17+ messages in thread
From: Richard Combs @ 2003-09-18 02:52 UTC (permalink / raw)
To: pgsql-odbc
I have been able to successfully connect to PostgreSQL using D7 and ADO.
Environment:
D7 on W2K workstation
MDAC v2.8
PostgreSQL ODBC driver v7.03.01.00
PostgeSQL v7.3.4 on SuSE Linux 8.2
(Compiled with odbc switch, odbc.sql applied to template1
before creating new databse)
With ODBC
Create system DSN pointing to databse on server
(use standard driver)
In D7
New project
Add ADOConnection
Build Connection String (using the system DSN you just
created)
- Mine looks like this:
Provider=MSDASQL.1;Password=sysdba;Persist
Security Info=True;
User ID=postgres;Data Source=Manpower-pg;
Extended
Properties="DSN=Manpower-pg;DATABASE=manpower;
SERVER=192.168.0.3;PORT=5432;
UID=postgres;PWD=sysdba;ReadOnly=0;
Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=1;
ShowSystemTables=0;ConnSettings=;Fetch=100;
Socket=4096;UnknownSizes=2;MaxVarcharSize=254;
MaxLongVarcharSize=32764;Debug=0;CommLog=0;
Optimizer=1;Ksqo=1;UseDeclareFetch=1;
TextAsLongVarchar=1;UnknownsAsLongVarchar=1;
BoolsAsChar=1;Parse=1;CancelAsFreeStmt=0;
ExtraSysTablePrefixes=dd_;;LFConversion=1;
UpdatableCursors=1;DisallowPremature=1;TrueIsMinus1=0;
BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=1"
Test the connection after building it - it should test ok
Set the connection to active - you should have a valid
connection
Add some other stuff to the form to verify you are getting data
In my case, I added an ADOTable, DataSource, and DataGrid
(grid points to source, source to table, table to
connection)
You can view the full table contents.
Some other things to check:
1. Check your pg_hba.conf - are you allowing access to your client
machine?
2. Check your postgresql.conf - do you allow tcpip_sockets,
have you changed your default port from 5432?
3. Do you have proper rights to the database - are you logging in
with the
same user name and password as you used to create the database?
You can always try using dbExpress using the openODBC driver available
on sourceforge.
However, I have had problems getting all rows of a table to return.
Only the first row
shows up. Checking logs and packet sniffing reveals PostgreSQL is
returning all rows.
IMHO dbExpress is not yet ready for primetime - it is too quirky. Too
bad as I would like
to use it in place of ADO.
HTH
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems
@ 2003-09-18 03:45 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 0 replies; 17+ messages in thread
From: Hiroshi Inoue @ 2003-09-18 03:45 UTC (permalink / raw)
To: Mikhail Umorin <mikeumo@onebox.com>; +Cc: pgsql-odbc
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 <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/
--
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: SUCCESS!
@ 2003-09-18 14:57 Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 3 replies; 17+ messages in thread
From: Mikhail Umorin @ 2003-09-18 14:57 UTC (permalink / raw)
To: Inoue@tpf.co.jp; noelrv@nipahut.org; rncombs@covad.net; +Cc: pgsql-odbc
Thanks everyone for helping me! Especially, Hiroshi, Noel and Richard!
Following Noel's suggestion I installed pgAdmin (II, 1.6.0). It connected fine and I could see values in the tables without any other changes to client and server PCs. So, I decided to try the same connection string that pgAdmin uses (I could conveniently cut and paste it from pgAdmin window: thanks, pgAdmin!) - and it worked! The string was:
Provider=MSDASQL.1;Extended Properties="DRIVER={PostgreSQL};DATABASE=lara;
SERVER=192.168.1.2;PORT=5432;UID=lara;PWD=********;
ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;
RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;
Socket=4096;UnknownSizes=0;MaxVarcharSize=254;
MaxLongVarcharSize=65536;Debug=0;CommLog=0;Optimizer=1;Ksqo=1;
UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;
BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;
ExtraSysTablePrefixes=dd_;LFConversion=1;UpdatableCursors=1;
DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;
UseServerSidePrepare=0"
I think the problem was that when I specified a file DSN or would build a connection string using Delphi's tools it was not handled properly or constructed properly by Delphi's TADOConnection object. So, what OLE DB driver for ODBC would get was partially illegal; so, the driver would connect but would not communicate beyond the handshake.
Now, the driver's log contains no errors (so, there was something serious there, Hiroshi). And I am going to try Richard's suggestion: run odbc.sql against the database. But my question is:
Where can I get odbc.sql?
I installed my PostgreSQL 7.3.2 from RPMs (Mandrake 9.1) and it was not in any contrib dirs. I also searched PostgreSQL, GBorg and Google sites with no success.
Thanks again,
--
Mikhail Umorin
mikeumo@onebox.com
-----Original Message-----
From: Hiroshi Inoue <Inoue@tpf.co.jp>
Sent: Thu, 18 Sep 2003 12:45:17 +0900
To: Mikhail Umorin <mikeumo@onebox.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Delphi7, ADO, ODBC and PostgreSQL connection problems
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 <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/
--
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems:
@ 2003-09-18 20:29 Richard Combs <rncombs@covad.net>
parent: Mikhail Umorin <mikeumo@onebox.com>
2 siblings, 0 replies; 17+ messages in thread
From: Richard Combs @ 2003-09-18 20:29 UTC (permalink / raw)
To: Mikhail Umorin <mikeumo@onebox.com>; pgsql-odbc
There are 2 sql scripts included in the source file for the odbc driver
(latest version
psqlodbc-07.03.0100.tar.gz available by following the link to psqlodbc
on postgreSQL home page). They are: odbc.sql and odbc-drop.sql These are
the scripts that add/drop certain odbc functions to/from your database.
I apply them to template1 so that they are in all newly created databases.
Mikhail Umorin wrote:
>But my question is:
>
>Where can I get odbc.sql?
>
>I installed my PostgreSQL 7.3.2 from RPMs (Mandrake 9.1) and it was not in any contrib dirs. I also searched PostgreSQL, GBorg and Google sites with no success.
>
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems:
@ 2003-09-18 23:53 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Mikhail Umorin <mikeumo@onebox.com>
2 siblings, 1 reply; 17+ messages in thread
From: Hiroshi Inoue @ 2003-09-18 23:53 UTC (permalink / raw)
To: Mikhail Umorin <mikeumo@onebox.com>; +Cc: noelrv@nipahut.org; rncombs@covad.net; pgsql-odbc
Mikhail Umorin wrote:
>
> Thanks everyone for helping me! Especially, Hiroshi, Noel and Richard!
>
> Following Noel's suggestion I installed pgAdmin (II, 1.6.0). It connected fine and I could see values in the tables without any other changes to client and server PCs. So, I decided to try the same connection string that pgAdmin uses (I could conveniently cut and paste it from pgAdmin window: thanks, pgAdmin!) - and it worked! The string was:
> Provider=MSDASQL.1;Extended Properties="DRIVER={PostgreSQL};DATABASE=lara;
> SERVER=192.168.1.2;PORT=5432;UID=lara;PWD=********;
> ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;
> RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;
> Socket=4096;UnknownSizes=0;MaxVarcharSize=254;
> MaxLongVarcharSize=65536;Debug=0;CommLog=0;Optimizer=1;Ksqo=1;
> UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;
> BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;
> ExtraSysTablePrefixes=dd_;LFConversion=1;UpdatableCursors=1;
> DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;
> UseServerSidePrepare=0"
>
> I think the problem was that when I specified a file DSN or
> would build a connection string using Delphi's tools it was
> not handled properly or constructed properly by Delphi's
> TADOConnection object. So, what OLE DB driver for ODBC would
> get was partially illegal; so, the driver would connect but
> would not communicate beyond the handshake.
>
> Now, the driver's log contains no errors (so, there was
> something serious there, Hiroshi).
I'm still suspecting that the *use declare/fetch option*
is turned on. Could you try to add "UseDeclareFetch=0" option
to your connection string ?
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: SUCCESS!
@ 2003-09-19 00:07 Noel R. Villamor <noelrv@nipahut.org>
parent: Mikhail Umorin <mikeumo@onebox.com>
2 siblings, 0 replies; 17+ messages in thread
From: Noel R. Villamor @ 2003-09-19 00:07 UTC (permalink / raw)
To: Mikhail Umorin <mikeumo@onebox.com>; +Cc: pgsql-odbc
Good to hear it is working now. I also tried finding odbc.sql but can not
get to it. Should you be able to find it, please email it to me.
I am curious to what additional functionalities are in that file as I seem
to be able to work on the default installation without it. The postgresql
installation manual does not provide the details so it would be nice if
somebody in the list can give us some enlightenment.
:-)
----- Original Message -----
From: "Mikhail Umorin" <mikeumo@onebox.com>
To: <Inoue@tpf.co.jp>; <noelrv@nipahut.org>; <rncombs@covad.net>
Cc: <pgsql-odbc@postgresql.org>
Sent: Sep 18, 2003 10:57 PM
Subject: Re: [ODBC] Delphi7, ADO, ODBC and PostgreSQL connection problems:
SUCCESS!
>
> Thanks everyone for helping me! Especially, Hiroshi, Noel and Richard!
<snip>
> Now, the driver's log contains no errors (so, there was something serious
there, Hiroshi). And I am going to try Richard's suggestion: run odbc.sql
against the database. But my question is:
>
> Where can I get odbc.sql?
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems:
@ 2003-09-19 10:12 Hiroshi Inoue <Inoue@tpf.co.jp>
parent: Hiroshi Inoue <Inoue@tpf.co.jp>
0 siblings, 0 replies; 17+ messages in thread
From: Hiroshi Inoue @ 2003-09-19 10:12 UTC (permalink / raw)
To: Mikhail Umorin <mikeumo@onebox.com>; noelrv@nipahut.org; rncombs@covad.net; pgsql-odbc
Hiroshi Inoue wrote:
>
> Mikhail Umorin wrote:
> >
> > Thanks everyone for helping me! Especially, Hiroshi, Noel and Richard!
> >
> > Following Noel's suggestion I installed pgAdmin (II, 1.6.0). It connected fine and I could see values in the tables without any other changes to client and server PCs. So, I decided to try the same connection string that pgAdmin uses (I could conveniently cut and paste it from pgAdmin window: thanks, pgAdmin!) - and it worked! The string was:
> > Provider=MSDASQL.1;Extended Properties="DRIVER={PostgreSQL};DATABASE=lara;
> > SERVER=192.168.1.2;PORT=5432;UID=lara;PWD=********;
> > ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;
> > RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;
> > Socket=4096;UnknownSizes=0;MaxVarcharSize=254;
> > MaxLongVarcharSize=65536;Debug=0;CommLog=0;Optimizer=1;Ksqo=1;
> > UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;
> > BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;
> > ExtraSysTablePrefixes=dd_;LFConversion=1;UpdatableCursors=1;
> > DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;
> > UseServerSidePrepare=0"
> >
> > I think the problem was that when I specified a file DSN or
> > would build a connection string using Delphi's tools it was
> > not handled properly or constructed properly by Delphi's
> > TADOConnection object. So, what OLE DB driver for ODBC would
> > get was partially illegal; so, the driver would connect but
> > would not communicate beyond the handshake.
> >
> > Now, the driver's log contains no errors (so, there was
> > something serious there, Hiroshi).
>
> I'm still suspecting that the *use declare/fetch option*
> is turned on. Could you try to add "UseDeclareFetch=0" option
> to your connection string ?
Please also try *Updatablecursors=1* option.
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 17+ messages in thread
* Re: Delphi7, ADO, ODBC and PostgreSQL connection problems:
@ 2003-09-19 14:56 Mikhail Umorin <mikeumo@onebox.com>
0 siblings, 0 replies; 17+ messages in thread
From: Mikhail Umorin @ 2003-09-19 14:56 UTC (permalink / raw)
To: Inoue@tpf.co.jp; pgsql-odbc
Hiroshi --
it's in the connect string (below) : "... UseDeclareFetch=0;...UpdatableCursors=1;..." and I had those options checked/unchecked in the driver settings as well through Control Panel. What do those settings mean? why are they important?
thanks,
--
Mikhail Umorin
mikeumo@onebox.com
-----Original Message-----
From: Hiroshi Inoue <Inoue@tpf.co.jp>
Sent: Fri, 19 Sep 2003 19:12:41 +0900
To: Mikhail Umorin <mikeumo@onebox.com>; noelrv@nipahut.org; rncombs@covad.net;pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Delphi7, ADO, ODBC and PostgreSQL connection problems:
Hiroshi Inoue wrote:
>
> Mikhail Umorin wrote:
> >
> > Thanks everyone for helping me! Especially, Hiroshi, Noel and Richard!
> >
> > Following Noel's suggestion I installed pgAdmin (II, 1.6.0). It connected fine and I could see values in the tables without any other changes to client and server PCs. So, I decided to try the same connection string that pgAdmin uses (I could conveniently cut and paste it from pgAdmin window: thanks, pgAdmin!) - and it worked! The string was:
> > Provider=MSDASQL.1;Extended Properties="DRIVER={PostgreSQL};DATABASE=lara;
> > SERVER=192.168.1.2;PORT=5432;UID=lara;PWD=********;
> > ReadOnly=0;Protocol=6.4;FakeOidIndex=0;ShowOidColumn=0;
> > RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;
> > Socket=4096;UnknownSizes=0;MaxVarcharSize=254;
> > MaxLongVarcharSize=65536;Debug=0;CommLog=0;Optimizer=1;Ksqo=1;
> > UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;
> > BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;
> > ExtraSysTablePrefixes=dd_;LFConversion=1;UpdatableCursors=1;
> > DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;
> > UseServerSidePrepare=0"
> >
> > I think the problem was that when I specified a file DSN or
> > would build a connection string using Delphi's tools it was
> > not handled properly or constructed properly by Delphi's
> > TADOConnection object. So, what OLE DB driver for ODBC would
> > get was partially illegal; so, the driver would connect but
> > would not communicate beyond the handshake.
> >
> > Now, the driver's log contains no errors (so, there was
> > something serious there, Hiroshi).
>
> I'm still suspecting that the *use declare/fetch option*
> is turned on. Could you try to add "UseDeclareFetch=0" option
> to your connection string ?
Please also try *Updatablecursors=1* option.
regards,
Hiroshi Inoue
http://www.geocities.jp/inocchichichi/psqlodbc/
^ permalink raw reply [nested|flat] 17+ messages in thread
end of thread, other threads:[~2003-09-19 14:56 UTC | newest]
Thread overview: 17+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-16 20:40 Delphi7, ADO, ODBC and PostgreSQL connection problems Mikhail Umorin <mikeumo@onebox.com>
2003-09-17 00:02 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2003-09-17 04:42 ` Thomas Wegner <thomas@wegner24.de>
2003-09-16 23:34 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems Mikhail Umorin <mikeumo@onebox.com>
2003-09-17 01:04 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems Mikhail Umorin <mikeumo@onebox.com>
2003-09-17 01:30 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2003-09-17 22:31 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems Mikhail Umorin <mikeumo@onebox.com>
2003-09-17 23:18 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems Mikhail Umorin <mikeumo@onebox.com>
2003-09-18 03:45 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2003-09-18 00:58 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems Richard Combs <RichardNCombs@netscape.net>
2003-09-18 02:52 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems Richard Combs <rncombs@covad.net>
2003-09-18 14:57 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: SUCCESS! Mikhail Umorin <mikeumo@onebox.com>
2003-09-18 20:29 ` Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: Richard Combs <rncombs@covad.net>
2003-09-18 23:53 ` Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: Hiroshi Inoue <Inoue@tpf.co.jp>
2003-09-19 10:12 ` Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: Hiroshi Inoue <Inoue@tpf.co.jp>
2003-09-19 00:07 ` Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: SUCCESS! Noel R. Villamor <noelrv@nipahut.org>
2003-09-19 14:56 Re: Delphi7, ADO, ODBC and PostgreSQL connection problems: Mikhail Umorin <mikeumo@onebox.com>
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