[140367083742976]globals.extra_systable_prefixes = 'dd_;'
[140367083742976][[SQLAllocHandle]][140367083742976]**** in PGAPI_AllocEnv ** 
[140367083742976]** exit PGAPI_AllocEnv: phenv = 0x7fa9c2e0b9e0 **
[140367083742976][[SQLSetEnvAttr]] att=200,3
[140367083742976][[SQLGetEnvAttr]] 200
[140367083742976][[SQLAllocHandle]][140367083742976]PGAPI_AllocConnect: entering...
[140367083742976]**** PGAPI_AllocConnect: henv = 0x7fa9c2e0b9e0, conn = 0x7fa9c2e0dc30
[140367083742976]EN_add_connection: self = 0x7fa9c2e0b9e0, conn = 0x7fa9c2e0dc30
[140367083742976]       added at 0, conn->henv = 0x7fa9c2e0b9e0, conns[0]->henv = 0x7fa9c2e0b9e0
[140367083742976][SQLDriverConnect][140367083742976]PGAPI_DriverConnect: entering...
[140367083742976]**** PGAPI_DriverConnect: fDriverCompletion=0, connStrIn='Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140367083742976]our_connect_string = 'Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140367083742976]attribute = 'Driver', value = '{PostgreSQL ANSI}'
[140367083742976]copyAttributes: DSN='',server='',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'Server', value = 'localhost'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'Port', value = '5432'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='',user='',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'Database', value = 'xxxxx'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'UID', value = 'xxxxx'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='xxxxx',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'PWD', value = 'xxxxx'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='xxxxx',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]getDSNinfo: DSN= overwrite=0
[140367083742976]our_connect_string = 'Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140367083742976]attribute = 'Driver', value = '{PostgreSQL ANSI}'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'Server', value = 'localhost'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'Port', value = '5432'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'Database', value = 'xxxxx'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'UID', value = 'xxxxx'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'PWD', value = 'xxxxx'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]calling getDSNdefaults
[140367083742976]CC_connect: entering...
[140367083742976]sslmode=disable
[140367083742976]original_CC_connect: entering...
[140367083742976]Driver Version='09.01.0200,201208160000'
[140367083742976]original_CC_connect: DSN = '', server = 'localhost', port = '5432', database = 'xxxxx', username = 'xxxxx', password='xxxxx'
[140367083742976]connecting to the server socket...
[140367083742976](0)(null) ERRNO=115
[140367083742976]connection to the server socket succeeded.
[140367083742976]!!! usrname=xxxxx server=localhost
[140367083742976]sizeof startup packet = 75
[140367083742976]sent the authentication block successfully.
[140367083742976]gonna do authentication
[140367083742976]read -1, global_socket_buffersize=4096
[140367083742976]Lasterror=11
[140367083742976]!!!  poll ret=1 revents=1
[140367083742976]read 317, global_socket_buffersize=4096
[140367083742976]auth got 'R'
[140367083742976]areq = 0 salt=0000000000
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]Got the PostgreSQL version string: '9.2.4'
[140367083742976]Extracted PostgreSQL version number: '9.2'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]standard_conforming_strings=on
[140367083742976]auth got 'S'
[140367083742976]auth got 'K'
[140367083742976]auth got 'Z'
[140367083742976]CC_send_settings: entering...
[140367083742976]PGAPI_AllocStmt: entering...
[140367083742976]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9c2e0b3d0
[140367083742976]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9c2e0b3d0
[140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2e0b3d0, fOption=1
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]SC_init_Result(c2e0b3d0)[140367083742976]SC_Destructor: self=0x7fa9c2e0b3d0, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2e0b578
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2e0b5e8
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2e0b6b0
[140367083742976]SC_Destructor: EXIT
[140367083742976]CC_lookup_lo: entering...
[140367083742976]CC_send_query: conn=0x7fa9c2e0dc30, query='select oid, typbasetype from pg_type where typname = 'lo''
[140367083742976]send_query: done sending query 63bytes flushed
[140367083742976]in QR_Constructor
[140367083742976]exit QR_Constructor
[140367083742976]read -1, global_socket_buffersize=4096
[140367083742976]Lasterror=11
[140367083742976]!!!  poll ret=1 revents=1
[140367083742976]read 79, global_socket_buffersize=4096
[140367083742976]send_query: got id = 'T'
[140367083742976]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140367083742976]num_fields = 2
[140367083742976]READING ATTTYPMOD
[140367083742976]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(1247,65534)
[140367083742976]READING ATTTYPMOD
[140367083742976]CI_read_fields: fieldname='typbasetype', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(1247,24)
[140367083742976]QR_fetch_tuples: past CI_read_fields: num_fields = 2
[140367083742976]MALLOC: tuple_size = 100, size = 3200
[140367083742976]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140367083742976]end of tuple list -- setting inUse to false: this = 0x7fa9c2e0b1d0 SELECT 0
[140367083742976]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0
[140367083742976]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140367083742976]QR_next_tuple: reached eof now
[140367083742976]_QR_next_tuple: 'C': DONE (fcount == 0)
[140367083742976]send_query: got id = 'Z'
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: in QR_close_result
[140367083742976]QResult: free memory in, fcount=0
[140367083742976]QResult: free memory out
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: exit close_result
[140367083742976]QResult: exit DESTRUCTOR
[140367083742976]Got the large object oid: -999
[140367083742976]CC_lookup_characterset: entering...
[140367083742976]conn->unicode=0
[140367083742976]CC_connect: returning...1
[140367083742976]szConnStrOut = 'DRIVER={PostgreSQL ANSI};DATABASE=xxxxx;SERVER=localhost;PORT=5432;xxxxx;PWD=;SSLmode=disable;ReadOnly=0;Protocol=7.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=255;MaxLongVarcharSize=8190;Debug=1;CommLog=0;Optimizer=0;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;;LFConversion=0;UpdatableCursors=1;DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=0;LowerCaseIdentifier=0;' len=592,1024
[140367083742976]PGAPI_DriverConnect: returning 0
[140367083742976][SQLGetFunctions][140367083742976][[SQLAllocHandle]][140367083742976]PGAPI_AllocStmt: entering...
[140367083742976]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9c2dc9100
[140367083742976]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9c2dc9100
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10010
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10010
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10011
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10011
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10012
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10012
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10013
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10013
[140367083742976][SQLGetTypeInfo][140367083742976]PGAPI_GetTypeInfo: entering...fSqlType = -5
[140367083742976]SC_recycle_statement: self= 0x7fa9c2dc9100
[140367083742976]in QR_Constructor
[140367083742976]exit QR_Constructor
[140367083742976]SC_set_Result(c2dc9100, c2e0b860)[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]extend_column_bindings: entering ... self=0x7fa9c2dc91e0, bindings_allocated=0, num_columns=19
[140367083742976]exit extend_column_bindings=0x7fa9c2e120a0
[140367083742976]in QR_set_num_fields
[140367083742976]exit QR_set_num_fields
[140367083742976][[SQLFetch]][140367083742976]PGAPI_ExtendedFetch: stmt=0x7fa9c2dc9100 rowsetSize=1
[140367083742976]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140367083742976]PGAPI_ExtendedFetch: new currTuple = -1
[140367083742976]fetch_cursor=0, 0x7fa9c2e0b860->total_read=0
[140367083742976]**** SC_fetch: non-cursor_result
[140367083742976]extend_getdata_info: entering ... self=0x7fa9c2dc9360, gdata_allocated=0, num_columns=19
[140367083742976]exit extend_gdata_info=0x7fa9c2e19fc0
[140367083742976]fetch: cols=19, lf=0, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=1, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=2, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=3, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=4, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=5, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=6, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=7, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=8, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=9, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=10, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=11, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=12, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=13, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=14, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=15, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=16, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=17, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=18, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=1
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=3
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=4
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=5
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=6
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=7
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=8
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=9
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=10
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=11
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=12
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=13
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=14
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=15
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=16
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=17
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=18
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=19
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=3
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2dc92a8
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2dc9318
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=0
[140367083742976]SC_recycle_statement: self= 0x7fa9c2dc9100
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: in QR_close_result
[140367083742976]QResult: free memory in, fcount=1
[140367083742976]QResult: free memory out
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: exit close_result
[140367083742976]QResult: exit DESTRUCTOR
[140367083742976]SC_init_Result(c2dc9100)[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976][[SQLFreeHandle]][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=1
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]SC_init_Result(c2dc9100)[140367083742976]SC_Destructor: self=0x7fa9c2dc9100, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=1
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=3
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=4
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=5
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=6
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=7
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=8
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=9
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=10
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=11
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=12
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=13
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=14
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=15
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=16
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=17
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=18
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=19
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2dc92a8
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2dc9318
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976]SC_Destructor: EXIT
[140367083742976][[SQLAllocHandle]][140367083742976]PGAPI_AllocStmt: entering...
[140367083742976]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9c2dc9100
[140367083742976]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9c2dc9100
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10010
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10010
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10011
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10011
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10012
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10012
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10013
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10013
[140367083742976][SQLGetTypeInfo][140367083742976]PGAPI_GetTypeInfo: entering...fSqlType = 93
[140367083742976]SC_recycle_statement: self= 0x7fa9c2dc9100
[140367083742976]in QR_Constructor
[140367083742976]exit QR_Constructor
[140367083742976]SC_set_Result(c2dc9100, c2e0b860)[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]extend_column_bindings: entering ... self=0x7fa9c2dc91e0, bindings_allocated=0, num_columns=19
[140367083742976]exit extend_column_bindings=0x7fa9c2e120a0
[140367083742976]in QR_set_num_fields
[140367083742976]exit QR_set_num_fields
[140367083742976]getTimestampColumnSizeX: type=1184, atttypmod=-1
[140367083742976]getTimestampDecimalDigitsX: type=1184, atttypmod=-1
[140367083742976]getTimestampColumnSizeX: type=1184, atttypmod=-1
[140367083742976]getTimestampDecimalDigitsX: type=1184, atttypmod=-1
[140367083742976][SQLBindCol][140367083742976]PGAPI_BindCol: entering...
[140367083742976]**** PGAPI_BindCol: stmt = 0x7fa9c2dc9100, icol = 3
[140367083742976]**** : fCType=-16 rgb=0x7fff1a296618 valusMax=0 pcb=0x7fff1a296620
[140367083742976]extend_getdata_info: entering ... self=0x7fa9c2dc9360, gdata_allocated=0, num_columns=3
[140367083742976]exit extend_gdata_info=0x7fa9c2e19fe0
[140367083742976]       bound buffer[2] = 0x7fff1a296618
[140367083742976][[SQLFetch]][140367083742976]PGAPI_ExtendedFetch: stmt=0x7fa9c2dc9100 rowsetSize=1
[140367083742976]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140367083742976]PGAPI_ExtendedFetch: new currTuple = -1
[140367083742976]fetch_cursor=0, 0x7fa9c2e0b860->total_read=0
[140367083742976]**** SC_fetch: non-cursor_result
[140367083742976]extend_getdata_info: entering ... self=0x7fa9c2dc9360, gdata_allocated=3, num_columns=19
[140367083742976]exit extend_gdata_info=0x7fa9c2e1a050
[140367083742976]fetch: cols=19, lf=0, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=1, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=2, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = 0x7fff1a296618
[140367083742976]type = 23, atttypmod = -1
[140367083742976]value = '26'
[140367083742976]copy_and_convert: field_type = 23, fctype = -16, value = '26', cbValueMax=0
[140367083742976]copy_and_convert: retval = 0
[140367083742976]fetch: cols=19, lf=3, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=4, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=5, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=6, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=7, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=8, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=9, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=10, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=11, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=12, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=13, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=14, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=15, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=16, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=17, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976]fetch: cols=19, lf=18, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e120a0, buffer[] = (nil)
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=1
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=3
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=4
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=5
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=6
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=7
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=8
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=9
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=10
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=11
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=12
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=13
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=14
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=15
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=16
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=17
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=18
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=19
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=3
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2dc92a8
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2dc9318
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=0
[140367083742976]SC_recycle_statement: self= 0x7fa9c2dc9100
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: in QR_close_result
[140367083742976]QResult: free memory in, fcount=1
[140367083742976]QResult: free memory out
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: exit close_result
[140367083742976]QResult: exit DESTRUCTOR
[140367083742976]SC_init_Result(c2dc9100)[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976][[SQLFreeHandle]][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=1
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]SC_init_Result(c2dc9100)[140367083742976]SC_Destructor: self=0x7fa9c2dc9100, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=1
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=3
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=4
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=5
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=6
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=7
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=8
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=9
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=10
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=11
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=12
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=13
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=14
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=15
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=16
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=17
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=18
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=19, icol=19
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2dc92a8
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2dc9318
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976]SC_Destructor: EXIT
[140367083742976][SQLGetInfo(30)][140367083742976]PGAPI_GetInfo: entering...fInfoType=17
[140367083742976]PGAPI_GetInfo: p='PostgreSQL', len=0, value=0, cbMax=1024
[140367083742976][SQLGetInfo(30)][140367083742976]PGAPI_GetInfo: entering...fInfoType=17
[140367083742976]PGAPI_GetInfo: p='PostgreSQL', len=0, value=0, cbMax=1024
[140367083742976][SQLGetInfo(30)][140367083742976]PGAPI_GetInfo: entering...fInfoType=18
[140367083742976]PGAPI_GetInfo: p='9.2.4', len=0, value=0, cbMax=1024
[140367083742976][SQLGetInfo(30)][140367083742976]PGAPI_GetInfo: entering...fInfoType=93
[140367083742976]PGAPI_GetInfo: p='<NULL>', len=2, value=3, cbMax=2
[140367083742976][[SQLGetEnvAttr]] 200
[140367083742976][[SQLAllocHandle]][140367083742976]PGAPI_AllocConnect: entering...
[140367083742976]**** PGAPI_AllocConnect: henv = 0x7fa9c2e0b9e0, conn = 0x7fa9c2e231e0
[140367083742976]EN_add_connection: self = 0x7fa9c2e0b9e0, conn = 0x7fa9c2e231e0
[140367083742976]       added at i=1, conn->henv = 0x7fa9c2e0b9e0, conns[i]->henv = 0x7fa9c2e0b9e0
[140367083742976][SQLDriverConnect][140367083742976]PGAPI_DriverConnect: entering...
[140367083742976]**** PGAPI_DriverConnect: fDriverCompletion=0, connStrIn='Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140367083742976]our_connect_string = 'Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140367083742976]attribute = 'Driver', value = '{PostgreSQL ANSI}'
[140367083742976]copyAttributes: DSN='',server='',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'Server', value = 'localhost'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'Port', value = '5432'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='',user='',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'Database', value = 'xxxxx'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'UID', value = 'xxxxx'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='xxxxx',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]attribute = 'PWD', value = 'xxxxx'
[140367083742976]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='xxxxx',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140367083742976]getDSNinfo: DSN= overwrite=0
[140367083742976]our_connect_string = 'Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140367083742976]attribute = 'Driver', value = '{PostgreSQL ANSI}'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'Server', value = 'localhost'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'Port', value = '5432'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'Database', value = 'xxxxx'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'UID', value = 'xxxxx'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]attribute = 'PWD', value = 'xxxxx'
[140367083742976]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140367083742976]calling getDSNdefaults
[140367083742976]CC_connect: entering...
[140367083742976]sslmode=disable
[140367083742976]original_CC_connect: entering...
[140367083742976]Driver Version='09.01.0200,201208160000'
[140367083742976]original_CC_connect: DSN = '', server = 'localhost', port = '5432', database = 'xxxxx', username = 'xxxxx', password='xxxxx'
[140367083742976]connecting to the server socket...
[140367083742976](0)(null) ERRNO=115
[140367083742976]connection to the server socket succeeded.
[140367083742976]!!! usrname=xxxxx server=localhost
[140367083742976]sizeof startup packet = 75
[140367083742976]sent the authentication block successfully.
[140367083742976]gonna do authentication
[140367083742976]read -1, global_socket_buffersize=4096
[140367083742976]Lasterror=11
[140367083742976]!!!  poll ret=1 revents=1
[140367083742976]read 317, global_socket_buffersize=4096
[140367083742976]auth got 'R'
[140367083742976]areq = 0 salt=0000000000
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]Got the PostgreSQL version string: '9.2.4'
[140367083742976]Extracted PostgreSQL version number: '9.2'
[140367083742976]auth got 'S'
[140367083742976]auth got 'S'
[140367083742976]standard_conforming_strings=on
[140367083742976]auth got 'S'
[140367083742976]auth got 'K'
[140367083742976]auth got 'Z'
[140367083742976]CC_send_settings: entering...
[140367083742976]PGAPI_AllocStmt: entering...
[140367083742976]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e231e0, stmt = 0x7fa9c2e0b450
[140367083742976]CC_add_statement: self=0x7fa9c2e231e0, stmt=0x7fa9c2e0b450
[140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2e0b450, fOption=1
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]SC_init_Result(c2e0b450)[140367083742976]SC_Destructor: self=0x7fa9c2e0b450, self->result=(nil), self->hdbc=0x7fa9c2e231e0
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2e0b5f8
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2e0b668
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2e0b730
[140367083742976]SC_Destructor: EXIT
[140367083742976]CC_lookup_lo: entering...
[140367083742976]CC_send_query: conn=0x7fa9c2e231e0, query='select oid, typbasetype from pg_type where typname = 'lo''
[140367083742976]send_query: done sending query 63bytes flushed
[140367083742976]in QR_Constructor
[140367083742976]exit QR_Constructor
[140367083742976]read -1, global_socket_buffersize=4096
[140367083742976]Lasterror=11
[140367083742976]!!!  poll ret=1 revents=1
[140367083742976]read 79, global_socket_buffersize=4096
[140367083742976]send_query: got id = 'T'
[140367083742976]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140367083742976]num_fields = 2
[140367083742976]READING ATTTYPMOD
[140367083742976]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(1247,65534)
[140367083742976]READING ATTTYPMOD
[140367083742976]CI_read_fields: fieldname='typbasetype', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(1247,24)
[140367083742976]QR_fetch_tuples: past CI_read_fields: num_fields = 2
[140367083742976]MALLOC: tuple_size = 100, size = 3200
[140367083742976]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140367083742976]end of tuple list -- setting inUse to false: this = 0x7fa9c2e0b850 SELECT 0
[140367083742976]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0
[140367083742976]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140367083742976]QR_next_tuple: reached eof now
[140367083742976]_QR_next_tuple: 'C': DONE (fcount == 0)
[140367083742976]send_query: got id = 'Z'
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: in QR_close_result
[140367083742976]QResult: free memory in, fcount=0
[140367083742976]QResult: free memory out
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: exit close_result
[140367083742976]QResult: exit DESTRUCTOR
[140367083742976]Got the large object oid: -999
[140367083742976]CC_lookup_characterset: entering...
[140367083742976]conn->unicode=0
[140367083742976]CC_connect: returning...1
[140367083742976]szConnStrOut = 'DRIVER={PostgreSQL ANSI};DATABASE=xxxxx;SERVER=localhost;PORT=5432;xxxxx;PWD=;SSLmode=disable;ReadOnly=0;Protocol=7.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=255;MaxLongVarcharSize=8190;Debug=1;CommLog=0;Optimizer=0;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;;LFConversion=0;UpdatableCursors=1;DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=0;LowerCaseIdentifier=0;' len=592,1024
[140367083742976]PGAPI_DriverConnect: returning 0
[140367083742976][SQLGetFunctions][140367083742976][SQLGetInfo(30)][140367083742976]PGAPI_GetInfo: entering...fInfoType=72
[140367083742976]PGAPI_GetInfo: p='<NULL>', len=4, value=10, cbMax=8
[140367083742976][[SQLSetConnectAttr]] 108
[140367083742976]PGAPI_SetConnectAttr for 0x7fa9c2e231e0: 108 0x2
[140367083742976]PGAPI_SetConnectOption: entering fOption = 108 vParam = 2
[140367083742976][[SQLGetConnectAttr]] 108
[140367083742976]PGAPI_GetConnectAttr 108
[140367083742976]PGAPI_GetConnectOption: entering...
[140367083742976][[SQLAllocHandle]][140367083742976]PGAPI_AllocStmt: entering...
[140367083742976]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e231e0, stmt = 0x7fa9c2dc9100
[140367083742976]CC_add_statement: self=0x7fa9c2e231e0, stmt=0x7fa9c2dc9100
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10010
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10010
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10011
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10011
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10012
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10012
[140367083742976][[SQLGetStmtAttr]] Handle=3269234944 10013
[140367083742976]PGAPI_GetStmtAttr Handle=0x7fa9c2dc9100 10013
[140367083742976][SQLBindParameter][140367083742976]PGAPI_BindParameter: entering...
[140367083742976]extend_parameter_bindings: entering ... self=0x7fa9c2dc92a8, parameters_allocated=0, num_params=1,(nil)
[140367083742976]exit extend_parameter_bindings=0x7fa9c2e23140
[140367083742976]extend_iparameter_bindings: entering ... self=0x7fa9c2dc9318, parameters_allocated=0, num_params=1
[140367083742976]exit extend_iparameter_bindings=0x7fa9c2e0db90
[140367083742976]extend_putdata_info: entering ... self=0x7fa9c2dc93e0, parameters_allocated=0, num_params=1
[140367083742976]exit extend_putdata_info=0x7fa9c2e0b9c0
[140367083742976]PGAPI_BindParameter: ipar=0, paramType=1, fCType=1, fSqlType=12, cbColDef=36, ibScale=0,[140367083742976]rgbValue=0x7fff1a2965d0(0), pcbValue=(nil)
[140367083742976][SQLBindCol][140367083742976]PGAPI_BindCol: entering...
[140367083742976]**** PGAPI_BindCol: stmt = 0x7fa9c2dc9100, icol = 1
[140367083742976]**** : fCType=-2 rgb=0x7fa9c21a0010 valusMax=1048576 pcb=0x7fff1a2965c8
[140367083742976]extend_column_bindings: entering ... self=0x7fa9c2dc91e0, bindings_allocated=0, num_columns=1
[140367083742976]exit extend_column_bindings=0x7fa9c2e0db00
[140367083742976]extend_getdata_info: entering ... self=0x7fa9c2dc9360, gdata_allocated=0, num_columns=1
[140367083742976]exit extend_gdata_info=0x7fa9c2e0db30
[140367083742976]       bound buffer[0] = 0x7fa9c21a0010
[140367083742976][SQLExecDirect][140367083742976]PGAPI_ExecDirect: entering...1
[140367083742976]SC_recycle_statement: self= 0x7fa9c2dc9100
[140367083742976]**** PGAPI_ExecDirect: hstmt=0x7fa9c2dc9100, statement='select xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx=?'
[140367083742976]PGAPI_ExecDirect: calling PGAPI_Execute...
[140367083742976]PGAPI_Execute: entering...1
[140367083742976]PGAPI_Execute: clear errors...
[140367083742976]PGAPI_NumParams: entering...
[140367083742976]SC_scanQueryAndCountParams: entering...
[140367083742976]prepareParameters was not called, prepare state:2
[140367083742976]SC_recycle_statement: self= 0x7fa9c2dc9100
[140367083742976]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=69, stmt='select xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx=?'
[140367083742976]ResolveOneParam: from(fcType)=1, to(fSqlType)=12(1043)
[140367083742976]cvt_null_date_string=0 pgtype=1043 buf=0x7fff1a2965d0
[140367083742976]buf=0x7fff1a2965d0 flag=2304
[140367083742976]   stmt_with_params = 'select xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx='e78d839d-f7b1-4028-b98e-1323e9b810c3''
[140367083742976]about to begin SC_execute
[140367083742976]       Sending SELECT statement on stmt=0x7fa9c2dc9100, cursor_name='SQL_CUR0x7fa9c2dc9100' qflag=0,1
[140367083742976]CC_send_query: conn=0x7fa9c2e231e0, query='select xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx='e78d839d-f7b1-4028-b98e-1323e9b810c3''
[140367083742976]send_query: done sending query 112bytes flushed
[140367083742976]in QR_Constructor
[140367083742976]exit QR_Constructor
[140367083742976]read -1, global_socket_buffersize=4096
[140367083742976]Lasterror=11
[140367083742976]!!!  poll ret=1 revents=1
[140367083742976]read 3679, global_socket_buffersize=4096
[140367083742976]send_query: got id = 'T'
[140367083742976]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140367083742976]num_fields = 1
[140367083742976]READING ATTTYPMOD
[140367083742976]CI_read_fields: fieldname='xxxxx', adtid=17, adtsize=-1, atttypmod=-1 (rel,att)=(17013,3)
[140367083742976]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140367083742976]MALLOC: tuple_size = 100, size = 1600
[140367083742976]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140367083742976]qresult: len=3616, buffer='\x...'
[140367083742976]end of tuple list -- setting inUse to false: this = 0x7fa9c2e0b450 SELECT 1
[140367083742976]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140367083742976]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140367083742976]QR_next_tuple: reached eof now
[140367083742976]send_query: got id = 'Z'
[140367083742976]     done sending the query:
[140367083742976]extend_column_bindings: entering ... self=0x7fa9c2dc91e0, bindings_allocated=1, num_columns=1
[140367083742976]exit extend_column_bindings=0x7fa9c2e0db00
[140367083742976]SC_set_Result(c2dc9100, c2e0b450)[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]retval=0
[140367083742976]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140367083742976][[SQLFetch]][140367083742976]PGAPI_ExtendedFetch: stmt=0x7fa9c2dc9100 rowsetSize=1
[140367083742976]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140367083742976]PGAPI_ExtendedFetch: new currTuple = -1
[140367083742976]fetch_cursor=0, 0x7fa9c2e0b450->total_read=1
[140367083742976]**** SC_fetch: non-cursor_result
[140367083742976]fetch: cols=1, lf=0, opts = 0x7fa9c2dc91e0, opts->bindings = 0x7fa9c2e0db00, buffer[] = 0x7fa9c21a0010
[140367083742976]type = 17, atttypmod = -1
[140367083742976]value = '\x...'
[140367083742976]copy_and_convert: field_type = 17, fctype = -2, value = '\x...', cbValueMax=1048576
[140367083742976]convert_from_pgbinary: in=3616, out = 1807
[140367083742976]SQL_C_BINARY: len = 1807, copy_len = 1807
[140367083742976]copy_and_convert: retval = 0
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=1, icol=1
[140367083742976][[SQLFetch]][140367083742976]PGAPI_ExtendedFetch: stmt=0x7fa9c2dc9100 rowsetSize=1
[140367083742976]SQL_FETCH_NEXT: num_tuples=1, currtuple=0, rowst=0
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=2
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=1, icol=1
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=3
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2dc92a8
[140367083742976]APD_free_params:  EXIT
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2dc9318
[140367083742976]IPD_free_params:  EXIT
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976]PDATA_free_params:  EXIT
[140367083742976][SQLFreeStmt][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=0
[140367083742976]SC_recycle_statement: self= 0x7fa9c2dc9100
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: in QR_close_result
[140367083742976]QResult: free memory in, fcount=1
[140367083742976]QResult: free memory out
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]QResult: exit close_result
[140367083742976]QResult: exit DESTRUCTOR
[140367083742976]SC_init_Result(c2dc9100)[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976][[SQLFreeHandle]][140367083742976]PGAPI_FreeStmt: entering...hstmt=0x7fa9c2dc9100, fOption=1
[140367083742976]QResult: enter DESTRUCTOR
[140367083742976]SC_init_Result(c2dc9100)[140367083742976]SC_Destructor: self=0x7fa9c2dc9100, self->result=(nil), self->hdbc=0x7fa9c2e231e0
[140367083742976]reset_a_column_binding: entering ... self=0x7fa9c2dc91e0, bindings_allocated=1, icol=1
[140367083742976]APD_free_params:  ENTER, self=0x7fa9c2dc92a8
[140367083742976]IPD_free_params:  ENTER, self=0x7fa9c2dc9318
[140367083742976]PDATA_free_params:  ENTER, self=0x7fa9c2dc93e0
[140367083742976]SC_Destructor: EXIT
[140367083742976][SQLDisconnect for 0x7fa9c2e231e0][140367083742976]PGAPI_Disconnect: entering...
[140367083742976]PGAPI_Disconnect: about to CC_cleanup
[140367083742976]in CC_Cleanup, self=0x7fa9c2e231e0
[140367083742976]after CC_abort
[140367083742976]SOCK_Destructor
[140367083742976]after SOCK destructor
[140367083742976]exit CC_Cleanup
[140367083742976]PGAPI_Disconnect: done CC_cleanup
[140367083742976]PGAPI_Disconnect: returning...
[140367083742976][[SQLFreeHandle]][140367083742976]PGAPI_FreeConnect: entering...
[140367083742976]**** in PGAPI_FreeConnect: hdbc=0x7fa9c2e231e0
[140367083742976]enter CC_Destructor, self=0x7fa9c2e231e0
[140367083742976]in CC_Cleanup, self=0x7fa9c2e231e0
[140367083742976]after SOCK destructor
[140367083742976]exit CC_Cleanup
[140367083742976]after CC_Cleanup
[140367083742976]after free statement holders
[140367083742976]exit CC_Destructor
[140367083742976]PGAPI_FreeConnect: returning...
[140366913206016][[SQLAllocHandle]][140366913206016]PGAPI_AllocStmt: entering...
[140366913206016]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9b00013b0
[140366913206016]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9b00013b0
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10010
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10010
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10011
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10011
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10012
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10012
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10013
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10013
[140366913206016][SQLBindParameter][140366913206016]PGAPI_BindParameter: entering...
[140366913206016]extend_parameter_bindings: entering ... self=0x7fa9b0001558, parameters_allocated=0, num_params=1,(nil)
[140366913206016]exit extend_parameter_bindings=0x7fa9b0002ff0
[140366913206016]extend_iparameter_bindings: entering ... self=0x7fa9b00015c8, parameters_allocated=0, num_params=1
[140366913206016]exit extend_iparameter_bindings=0x7fa9b0003020
[140366913206016]extend_putdata_info: entering ... self=0x7fa9b0001690, parameters_allocated=0, num_params=1
[140366913206016]exit extend_putdata_info=0x7fa9b0003050
[140366913206016]PGAPI_BindParameter: ipar=0, paramType=1, fCType=-27, fSqlType=-5, cbColDef=0, ibScale=0,[140366913206016]rgbValue=0x7fa9b7ffebb8(0), pcbValue=(nil)
[140366913206016][SQLBindParameter][140366913206016]PGAPI_BindParameter: entering...
[140366913206016]extend_parameter_bindings: entering ... self=0x7fa9b0001558, parameters_allocated=1, num_params=2,0x7fa9b0002ff0
[140366913206016]exit extend_parameter_bindings=0x7fa9b0003070
[140366913206016]extend_iparameter_bindings: entering ... self=0x7fa9b00015c8, parameters_allocated=1, num_params=2
[140366913206016]exit extend_iparameter_bindings=0x7fa9b00030d0
[140366913206016]extend_putdata_info: entering ... self=0x7fa9b0001690, parameters_allocated=1, num_params=2
[140366913206016]exit extend_putdata_info=0x7fa9b0003120
[140366913206016]PGAPI_BindParameter: ipar=1, paramType=1, fCType=1, fSqlType=12, cbColDef=20, ibScale=0,[140366913206016]rgbValue=0x7fa9b7ffece0(0), pcbValue=(nil)
[140366913206016][SQLExecDirect][140366913206016]PGAPI_ExecDirect: entering...1
[140366913206016]SC_recycle_statement: self= 0x7fa9b00013b0
[140366913206016]**** PGAPI_ExecDirect: hstmt=0x7fa9b00013b0, statement='update xxxxx set xxxxx=? where xxxxx=?'
[140366913206016]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366913206016]PGAPI_Execute: entering...1
[140366913206016]PGAPI_Execute: clear errors...
[140366913206016]PGAPI_NumParams: entering...
[140366913206016]SC_scanQueryAndCountParams: entering...
[140366913206016]prepareParameters was not called, prepare state:2
[140366913206016]SC_recycle_statement: self= 0x7fa9b00013b0
[140366913206016]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=56, stmt='update xxxxx set xxxxx=? where xxxxx=?'
[140366913206016]ResolveOneParam: from(fcType)=-27, to(fSqlType)=-5(20)
[140366913206016]cvt_null_date_string=0 pgtype=20 buf=(nil)
[140366913206016]ResolveOneParam: from(fcType)=1, to(fSqlType)=12(1043)
[140366913206016]cvt_null_date_string=0 pgtype=1043 buf=0x7fa9b7ffece0
[140366913206016]buf=0x7fa9b7ffece0 flag=2304
[140366913206016]   stmt_with_params = 'update xxxxx set xxxxx='xxxxx' where xxxxx='xxxxx''
[140366913206016]about to begin SC_execute
[140366913206016]      it's NOT a select statement: stmt=0x7fa9b00013b0
[140366913206016]CC_send_query: conn=0x7fa9c2e0dc30, query='update xxxxx set xxxxx='xxxxx' where xxxxx='xxxxx''
[140366913206016]send_query: done sending query 88bytes flushed
[140366913206016]in QR_Constructor
[140366913206016]exit QR_Constructor
[140366913206016]read -1, global_socket_buffersize=4096
[140366913206016]Lasterror=11
[140366913206016]!!!  poll ret=1 revents=1
[140366913206016]read 20, global_socket_buffersize=4096
[140366913206016]send_query: got id = 'C'
[140366913206016]send_query: ok - 'C' - UPDATE 1
[140366913206016]send_query: setting cmdbuffer = 'UPDATE 1'
[140366913206016]send_query: returning res = 0x7fa9b0004170
[140366913206016]send_query: got id = 'Z'
[140366913206016]SC_set_Result(b00013b0, b0004170)[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]retval=0
[140366913206016]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366913206016][SQLRowCount][140366913206016]PGAPI_RowCount: entering...
[140366913206016]**** PGAPI_RowCount: THE ROWS: *pcrow = 1
[140366913206016][SQLFreeStmt][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=2
[140366913206016][SQLFreeStmt][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=3
[140366913206016]APD_free_params:  ENTER, self=0x7fa9b0001558
[140366913206016]APD_free_params:  EXIT
[140366913206016]IPD_free_params:  ENTER, self=0x7fa9b00015c8
[140366913206016]IPD_free_params:  EXIT
[140366913206016]PDATA_free_params:  ENTER, self=0x7fa9b0001690
[140366913206016]PDATA_free_params:  EXIT
[140366913206016][SQLFreeStmt][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=0
[140366913206016]SC_recycle_statement: self= 0x7fa9b00013b0
[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]QResult: in QR_close_result
[140366913206016]QResult: free memory in, fcount=0
[140366913206016]QResult: free memory out
[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]QResult: exit close_result
[140366913206016]QResult: exit DESTRUCTOR
[140366913206016]SC_init_Result(b00013b0)[140366913206016]PDATA_free_params:  ENTER, self=0x7fa9b0001690
[140366913206016][[SQLFreeHandle]][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=1
[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]SC_init_Result(b00013b0)[140366913206016]SC_Destructor: self=0x7fa9b00013b0, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366913206016]APD_free_params:  ENTER, self=0x7fa9b0001558
[140366913206016]IPD_free_params:  ENTER, self=0x7fa9b00015c8
[140366913206016]PDATA_free_params:  ENTER, self=0x7fa9b0001690
[140366913206016]SC_Destructor: EXIT
[140366913206016][[SQLAllocHandle]][140366913206016]PGAPI_AllocStmt: entering...
[140366913206016]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9b00013b0
[140366913206016]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9b00013b0
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10010
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10010
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10011
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10011
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10012
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10012
[140366913206016][[SQLGetStmtAttr]] Handle=2952795056 10013
[140366913206016]PGAPI_GetStmtAttr Handle=0x7fa9b00013b0 10013
[140366913206016][SQLBindCol][140366913206016]PGAPI_BindCol: entering...
[140366913206016]**** PGAPI_BindCol: stmt = 0x7fa9b00013b0, icol = 1
[140366913206016]**** : fCType=-27 rgb=0x7fa9b7ffdca8 valusMax=0 pcb=0x7fa9b7ffdce8
[140366913206016]extend_column_bindings: entering ... self=0x7fa9b0001490, bindings_allocated=0, num_columns=1
[140366913206016]exit extend_column_bindings=0x7fa9b0002ff0
[140366913206016]extend_getdata_info: entering ... self=0x7fa9b0001610, gdata_allocated=0, num_columns=1
[140366913206016]exit extend_gdata_info=0x7fa9b0003020
[140366913206016]       bound buffer[0] = 0x7fa9b7ffdca8
[140366913206016][SQLBindCol][140366913206016]PGAPI_BindCol: entering...
[140366913206016]**** PGAPI_BindCol: stmt = 0x7fa9b00013b0, icol = 2
[140366913206016]**** : fCType=1 rgb=0x7fa9bfb95ae0 valusMax=4097 pcb=0x7fa9b7ffdd38
[140366913206016]extend_column_bindings: entering ... self=0x7fa9b0001490, bindings_allocated=1, num_columns=2
[140366913206016]exit extend_column_bindings=0x7fa9b0003050
[140366913206016]extend_getdata_info: entering ... self=0x7fa9b0001610, gdata_allocated=1, num_columns=2
[140366913206016]exit extend_gdata_info=0x7fa9b00030b0
[140366913206016]       bound buffer[1] = 0x7fa9bfb95ae0
[140366913206016][SQLBindCol][140366913206016]PGAPI_BindCol: entering...
[140366913206016]**** PGAPI_BindCol: stmt = 0x7fa9b00013b0, icol = 3
[140366913206016]**** : fCType=1 rgb=0x7fa9b7ffde30 valusMax=128 pcb=0x7fa9b7ffdd88
[140366913206016]extend_column_bindings: entering ... self=0x7fa9b0001490, bindings_allocated=2, num_columns=3
[140366913206016]exit extend_column_bindings=0x7fa9b0003100
[140366913206016]extend_getdata_info: entering ... self=0x7fa9b0001610, gdata_allocated=2, num_columns=3
[140366913206016]exit extend_gdata_info=0x7fa9b0003180
[140366913206016]       bound buffer[2] = 0x7fa9b7ffde30
[140366913206016][SQLExecDirect][140366913206016]PGAPI_ExecDirect: entering...1
[140366913206016]SC_recycle_statement: self= 0x7fa9b00013b0
[140366913206016]**** PGAPI_ExecDirect: hstmt=0x7fa9b00013b0, statement='select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx='xxxxx''
[140366913206016]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366913206016]PGAPI_Execute: entering...1
[140366913206016]PGAPI_Execute: clear errors...
[140366913206016]PGAPI_NumParams: entering...
[140366913206016]SC_scanQueryAndCountParams: entering...
[140366913206016]prepareParameters was not called, prepare state:2
[140366913206016]SC_recycle_statement: self= 0x7fa9b00013b0
[140366913206016]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=84, stmt='select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx='xxxxx''
[140366913206016]   stmt_with_params = 'select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx='xxxxx''
[140366913206016]about to begin SC_execute
[140366913206016]       Sending SELECT statement on stmt=0x7fa9b00013b0, cursor_name='SQL_CUR0x7fa9b00013b0' qflag=0,1
[140366913206016]CC_send_query: conn=0x7fa9c2e0dc30, query='select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx='xxxxx' and xxxxx='xxxxx''
[140366913206016]send_query: done sending query 90bytes flushed
[140366913206016]in QR_Constructor
[140366913206016]exit QR_Constructor
[140366913206016]read -1, global_socket_buffersize=4096
[140366913206016]Lasterror=11
[140366913206016]!!!  poll ret=1 revents=1
[140366913206016]read 181, global_socket_buffersize=4096
[140366913206016]send_query: got id = 'T'
[140366913206016]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140366913206016]num_fields = 3
[140366913206016]READING ATTTYPMOD
[140366913206016]CI_read_fields: fieldname='xxxxx', adtid=1700, adtsize=-1, atttypmod=1245184 (rel,att)=(16914,1)
[140366913206016]READING ATTTYPMOD
[140366913206016]CI_read_fields: fieldname='xxxxx', adtid=1043, adtsize=-1, atttypmod=200 (rel,att)=(16914,3)
[140366913206016]READING ATTTYPMOD
[140366913206016]CI_read_fields: fieldname='xxxxx', adtid=1043, adtsize=-1, atttypmod=100 (rel,att)=(16914,2)
[140366913206016]QR_fetch_tuples: past CI_read_fields: num_fields = 3
[140366913206016]MALLOC: tuple_size = 100, size = 4800
[140366913206016]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140366913206016]qresult: len=1, buffer='1'
[140366913206016]qresult: len=20, buffer='/home/xxxxx/xxxxx'
[140366913206016]qresult: len=38, buffer='{5b1079d1-9882-4223-b245-127f0a55df96}'
[140366913206016]end of tuple list -- setting inUse to false: this = 0x7fa9b0004200 SELECT 1
[140366913206016]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140366913206016]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140366913206016]QR_next_tuple: reached eof now
[140366913206016]send_query: got id = 'Z'
[140366913206016]     done sending the query:
[140366913206016]extend_column_bindings: entering ... self=0x7fa9b0001490, bindings_allocated=3, num_columns=3
[140366913206016]exit extend_column_bindings=0x7fa9b0003100
[140366913206016]SC_set_Result(b00013b0, b0004200)[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]retval=0
[140366913206016]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366913206016][[SQLFetch]][140366913206016]PGAPI_ExtendedFetch: stmt=0x7fa9b00013b0 rowsetSize=1
[140366913206016]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140366913206016]PGAPI_ExtendedFetch: new currTuple = -1
[140366913206016]fetch_cursor=0, 0x7fa9b0004200->total_read=1
[140366913206016]**** SC_fetch: non-cursor_result
[140366913206016]fetch: cols=3, lf=0, opts = 0x7fa9b0001490, opts->bindings = 0x7fa9b0003100, buffer[] = 0x7fa9b7ffdca8
[140366913206016]type = 1700, atttypmod = 1245184
[140366913206016]value = '1'
[140366913206016]copy_and_convert: field_type = 1700, fctype = -27, value = '1', cbValueMax=0
[140366913206016]copy_and_convert: retval = 0
[140366913206016]fetch: cols=3, lf=1, opts = 0x7fa9b0001490, opts->bindings = 0x7fa9b0003100, buffer[] = 0x7fa9bfb95ae0
[140366913206016]type = 1043, atttypmod = 200
[140366913206016]value = '/home/xxxxx/xxxxx'
[140366913206016]copy_and_convert: field_type = 1043, fctype = 1, value = '/home/xxxxx/xxxxx', cbValueMax=4097
[140366913206016]DEFAULT: len = 20, ptr = '/home/xxxxx/xxxxx'
[140366913206016]    SQL_C_CHAR, default: len = 20, cbValueMax = 4097, rgbValueBindRow = '/home/xxxxx/xxxxx'
[140366913206016]copy_and_convert: retval = 0
[140366913206016]fetch: cols=3, lf=2, opts = 0x7fa9b0001490, opts->bindings = 0x7fa9b0003100, buffer[] = 0x7fa9b7ffde30
[140366913206016]type = 1043, atttypmod = 100
[140366913206016]value = '{5b1079d1-9882-4223-b245-127f0a55df96}'
[140366913206016]copy_and_convert: field_type = 1043, fctype = 1, value = '{5b1079d1-9882-4223-b245-127f0a55df96}', cbValueMax=128
[140366913206016]DEFAULT: len = 38, ptr = '{5b1079d1-9882-4223-b245-127f0a55df96}'
[140366913206016]    SQL_C_CHAR, default: len = 38, cbValueMax = 128, rgbValueBindRow = '{5b1079d1-9882-4223-b245-127f0a55df96}'
[140366913206016]copy_and_convert: retval = 0
[140366913206016][SQLFreeStmt][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=2
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=1
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=2
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=3
[140366913206016][[SQLFetch]][140366913206016]PGAPI_ExtendedFetch: stmt=0x7fa9b00013b0 rowsetSize=1
[140366913206016]SQL_FETCH_NEXT: num_tuples=1, currtuple=0, rowst=0
[140366913206016][SQLFreeStmt][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=2
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=1
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=2
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=3
[140366913206016][SQLFreeStmt][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=3
[140366913206016]APD_free_params:  ENTER, self=0x7fa9b0001558
[140366913206016]IPD_free_params:  ENTER, self=0x7fa9b00015c8
[140366913206016]PDATA_free_params:  ENTER, self=0x7fa9b0001690
[140366913206016][SQLFreeStmt][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=0
[140366913206016]SC_recycle_statement: self= 0x7fa9b00013b0
[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]QResult: in QR_close_result
[140366913206016]QResult: free memory in, fcount=1
[140366913206016]QResult: free memory out
[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]QResult: exit close_result
[140366913206016]QResult: exit DESTRUCTOR
[140366913206016]SC_init_Result(b00013b0)[140366913206016]PDATA_free_params:  ENTER, self=0x7fa9b0001690
[140366913206016][[SQLFreeHandle]][140366913206016]PGAPI_FreeStmt: entering...hstmt=0x7fa9b00013b0, fOption=1
[140366913206016]QResult: enter DESTRUCTOR
[140366913206016]SC_init_Result(b00013b0)[140366913206016]SC_Destructor: self=0x7fa9b00013b0, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=1
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=2
[140366913206016]reset_a_column_binding: entering ... self=0x7fa9b0001490, bindings_allocated=3, icol=3
[140366913206016]APD_free_params:  ENTER, self=0x7fa9b0001558
[140366913206016]IPD_free_params:  ENTER, self=0x7fa9b00015c8
[140366913206016]PDATA_free_params:  ENTER, self=0x7fa9b0001690
[140366913206016]SC_Destructor: EXIT
[140366904813312][[SQLAllocHandle]][140366904813312]PGAPI_AllocStmt: entering...
[140366904813312]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9a8042d40
[140366904813312]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9a8042d40
[140366904813312][[SQLGetStmtAttr]] Handle=2818846016 10010
[140366904813312]PGAPI_GetStmtAttr Handle=0x7fa9a8042d40 10010
[140366904813312][[SQLGetStmtAttr]] Handle=2818846016 10011
[140366904813312]PGAPI_GetStmtAttr Handle=0x7fa9a8042d40 10011
[140366904813312][[SQLGetStmtAttr]] Handle=2818846016 10012
[140366904813312]PGAPI_GetStmtAttr Handle=0x7fa9a8042d40 10012
[140366904813312][[SQLGetStmtAttr]] Handle=2818846016 10013
[140366904813312]PGAPI_GetStmtAttr Handle=0x7fa9a8042d40 10013
[140366904813312][SQLBindCol][140366904813312]PGAPI_BindCol: entering...
[140366904813312]**** PGAPI_BindCol: stmt = 0x7fa9a8042d40, icol = 1
[140366904813312]**** : fCType=-27 rgb=0x7fa9b77fdd08 valusMax=0 pcb=0x7fa9b77fdd48
[140366904813312]extend_column_bindings: entering ... self=0x7fa9a8042e20, bindings_allocated=0, num_columns=1
[140366904813312]exit extend_column_bindings=0x7fa9a8014a30
[140366904813312]extend_getdata_info: entering ... self=0x7fa9a8042fa0, gdata_allocated=0, num_columns=1
[140366904813312]exit extend_gdata_info=0x7fa9a8014a60
[140366904813312]       bound buffer[0] = 0x7fa9b77fdd08
[140366904813312][SQLExecDirect][140366904813312]PGAPI_ExecDirect: entering...1
[140366904813312]SC_recycle_statement: self= 0x7fa9a8042d40
[140366904813312]**** PGAPI_ExecDirect: hstmt=0x7fa9a8042d40, statement='select COUNT(xxxxx) from xxxxx where xxxxx='xxxxx''
[140366904813312]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366904813312]PGAPI_Execute: entering...1
[140366904813312]PGAPI_Execute: clear errors...
[140366904813312]PGAPI_NumParams: entering...
[140366904813312]SC_scanQueryAndCountParams: entering...
[140366904813312]prepareParameters was not called, prepare state:2
[140366904813312]SC_recycle_statement: self= 0x7fa9a8042d40
[140366904813312]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=62, stmt='select COUNT(xxxxx) from xxxxx where xxxxx='xxxxx''
[140366904813312]   stmt_with_params = 'select COUNT(xxxxx) from xxxxx where xxxxx='xxxxx''
[140366904813312]about to begin SC_execute
[140366904813312]       Sending SELECT statement on stmt=0x7fa9a8042d40, cursor_name='SQL_CUR0x7fa9a8042d40' qflag=0,1
[140366904813312]CC_send_query: conn=0x7fa9c2e0dc30, query='select COUNT(xxxxx) from xxxxx where xxxxx='xxxxx''
[140366904813312]send_query: done sending query 68bytes flushed
[140366904813312]in QR_Constructor
[140366904813312]exit QR_Constructor
[140366904813312]read -1, global_socket_buffersize=4096
[140366904813312]Lasterror=11
[140366904813312]!!!  poll ret=1 revents=1
[140366904813312]read 63, global_socket_buffersize=4096
[140366904813312]send_query: got id = 'T'
[140366904813312]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140366904813312]num_fields = 1
[140366904813312]READING ATTTYPMOD
[140366904813312]CI_read_fields: fieldname='count', adtid=20, adtsize=8, atttypmod=-1 (rel,att)=(0,0)
[140366904813312]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140366904813312]MALLOC: tuple_size = 100, size = 1600
[140366904813312]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140366904813312]qresult: len=1, buffer='1'
[140366904813312]end of tuple list -- setting inUse to false: this = 0x7fa9a8017d60 SELECT 1
[140366904813312]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140366904813312]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140366904813312]QR_next_tuple: reached eof now
[140366904813312]send_query: got id = 'Z'
[140366904813312]     done sending the query:
[140366904813312]extend_column_bindings: entering ... self=0x7fa9a8042e20, bindings_allocated=1, num_columns=1
[140366904813312]exit extend_column_bindings=0x7fa9a8014a30
[140366904813312]SC_set_Result(a8042d40, a8017d60)[140366904813312]QResult: enter DESTRUCTOR
[140366904813312]retval=0
[140366904813312]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366904813312][[SQLFetch]][140366904813312]PGAPI_ExtendedFetch: stmt=0x7fa9a8042d40 rowsetSize=1
[140366904813312]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140366904813312]PGAPI_ExtendedFetch: new currTuple = -1
[140366904813312]fetch_cursor=0, 0x7fa9a8017d60->total_read=1
[140366904813312]**** SC_fetch: non-cursor_result
[140366904813312]fetch: cols=1, lf=0, opts = 0x7fa9a8042e20, opts->bindings = 0x7fa9a8014a30, buffer[] = 0x7fa9b77fdd08
[140366904813312]type = 20, atttypmod = -1
[140366904813312]value = '1'
[140366904813312]copy_and_convert: field_type = 20, fctype = -27, value = '1', cbValueMax=0
[140366904813312]copy_and_convert: retval = 0
[140366904813312][SQLFreeStmt][140366904813312]PGAPI_FreeStmt: entering...hstmt=0x7fa9a8042d40, fOption=2
[140366904813312]reset_a_column_binding: entering ... self=0x7fa9a8042e20, bindings_allocated=1, icol=1
[140366904813312][[SQLFetch]][140366904813312]PGAPI_ExtendedFetch: stmt=0x7fa9a8042d40 rowsetSize=1
[140366904813312]SQL_FETCH_NEXT: num_tuples=1, currtuple=0, rowst=0
[140366904813312][SQLFreeStmt][140366904813312]PGAPI_FreeStmt: entering...hstmt=0x7fa9a8042d40, fOption=2
[140366904813312]reset_a_column_binding: entering ... self=0x7fa9a8042e20, bindings_allocated=1, icol=1
[140366904813312][SQLFreeStmt][140366904813312]PGAPI_FreeStmt: entering...hstmt=0x7fa9a8042d40, fOption=3
[140366904813312]APD_free_params:  ENTER, self=0x7fa9a8042ee8
[140366904813312]IPD_free_params:  ENTER, self=0x7fa9a8042f58
[140366904813312]PDATA_free_params:  ENTER, self=0x7fa9a8043020
[140366904813312][SQLFreeStmt][140366904813312]PGAPI_FreeStmt: entering...hstmt=0x7fa9a8042d40, fOption=0
[140366904813312]SC_recycle_statement: self= 0x7fa9a8042d40
[140366904813312]QResult: enter DESTRUCTOR
[140366904813312]QResult: in QR_close_result
[140366904813312]QResult: free memory in, fcount=1
[140366904813312]QResult: free memory out
[140366904813312]QResult: enter DESTRUCTOR
[140366904813312]QResult: exit close_result
[140366904813312]QResult: exit DESTRUCTOR
[140366904813312]SC_init_Result(a8042d40)[140366904813312]PDATA_free_params:  ENTER, self=0x7fa9a8043020
[140366904813312][[SQLFreeHandle]][140366904813312]PGAPI_FreeStmt: entering...hstmt=0x7fa9a8042d40, fOption=1
[140366904813312]QResult: enter DESTRUCTOR
[140366904813312]SC_init_Result(a8042d40)[140366904813312]SC_Destructor: self=0x7fa9a8042d40, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366904813312]reset_a_column_binding: entering ... self=0x7fa9a8042e20, bindings_allocated=1, icol=1
[140366904813312]APD_free_params:  ENTER, self=0x7fa9a8042ee8
[140366904813312]IPD_free_params:  ENTER, self=0x7fa9a8042f58
[140366904813312]PDATA_free_params:  ENTER, self=0x7fa9a8043020
[140366904813312]SC_Destructor: EXIT
[140366888027904][[SQLGetEnvAttr]] 200
[140366888027904][[SQLAllocHandle]][140366888027904]PGAPI_AllocConnect: entering...
[140366888027904]**** PGAPI_AllocConnect: henv = 0x7fa9c2e0b9e0, conn = 0x7fa9a00b97c0
[140366888027904]EN_add_connection: self = 0x7fa9c2e0b9e0, conn = 0x7fa9a00b97c0
[140366888027904]       added at i=1, conn->henv = 0x7fa9c2e0b9e0, conns[i]->henv = 0x7fa9c2e0b9e0
[140366888027904][[SQLSetConnectAttr]] 103
[140366888027904]PGAPI_SetConnectAttr for 0x7fa9a00b97c0: 103 0x14
[140366888027904]PGAPI_SetConnectOption: entering fOption = 103 vParam = 20
[140366888027904][[SQLSetConnectAttr]] 113
[140366888027904]PGAPI_SetConnectAttr for 0x7fa9a00b97c0: 113 0x1e
[140366888027904]CC_error_statements: self=0x7fa9a00b97c0
[140366888027904]CONN ERROR: func=PGAPI_SetConnectAttr, desc='', errnum=216, errmsg='Couldn't set unsupported connect attribute 113'
[140366888027904][[SQLSetConnectAttr]] 111
[140366888027904]PGAPI_SetConnectAttr for 0x7fa9a00b97c0: 111 (nil)
[140366888027904]PGAPI_SetConnectOption: entering fOption = 111 vParam = 0
[140366888027904][SQLDriverConnect][140366888027904]PGAPI_DriverConnect: entering...
[140366888027904]**** PGAPI_DriverConnect: fDriverCompletion=0, connStrIn='Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140366888027904]our_connect_string = 'Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140366888027904]attribute = 'Driver', value = '{PostgreSQL ANSI}'
[140366888027904]copyAttributes: DSN='',server='',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140366888027904]attribute = 'Server', value = 'localhost'
[140366888027904]copyAttributes: DSN='',server='localhost',dbase='',user='',passwd='xxxxx',port='',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140366888027904]attribute = 'Port', value = '5432'
[140366888027904]copyAttributes: DSN='',server='localhost',dbase='',user='',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140366888027904]attribute = 'Database', value = 'xxxxx'
[140366888027904]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140366888027904]attribute = 'UID', value = 'xxxxx'
[140366888027904]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='xxxxx',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140366888027904]attribute = 'PWD', value = 'xxxxx'
[140366888027904]copyAttributes: DSN='',server='localhost',dbase='xxxxx',user='xxxxx',passwd='xxxxx',port='5432',onlyread='',protocol='',conn_settings='',disallow_premature=-1)
[140366888027904]getDSNinfo: DSN= overwrite=0
[140366888027904]our_connect_string = 'Driver={PostgreSQL ANSI};Server=localhost;Port=5432;Database=xxxxx;xxxxx;PWD=;'
[140366888027904]attribute = 'Driver', value = '{PostgreSQL ANSI}'
[140366888027904]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140366888027904]attribute = 'Server', value = 'localhost'
[140366888027904]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140366888027904]attribute = 'Port', value = '5432'
[140366888027904]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140366888027904]attribute = 'Database', value = 'xxxxx'
[140366888027904]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140366888027904]attribute = 'UID', value = 'xxxxx'
[140366888027904]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140366888027904]attribute = 'PWD', value = 'xxxxx'
[140366888027904]copyCommonAttributes: A7=100;A8=4096;A9=0;B0=255;B1=8190;B2=1;B3=0;B4=0;B5=1;B6=0;B7=1;B8=0;B9=1;C0=0;C1=0;C2=dd_;[140366888027904]calling getDSNdefaults
[140366888027904]CC_connect: entering...
[140366888027904]sslmode=disable
[140366888027904]original_CC_connect: entering...
[140366888027904]Driver Version='09.01.0200,201208160000'
[140366888027904]original_CC_connect: DSN = '', server = 'localhost', port = '5432', database = 'xxxxx', username = 'xxxxx', password='xxxxx'
[140366888027904]connecting to the server socket...
[140366888027904](0)(null) ERRNO=115
[140366888027904]connection to the server socket succeeded.
[140366888027904]!!! usrname=xxxxx server=localhost
[140366888027904]sizeof startup packet = 75
[140366888027904]sent the authentication block successfully.
[140366888027904]gonna do authentication
[140366888027904]read -1, global_socket_buffersize=4096
[140366888027904]Lasterror=11
[140366888027904]!!!  poll ret=1 revents=1
[140366888027904]read 317, global_socket_buffersize=4096
[140366888027904]auth got 'R'
[140366888027904]areq = 0 salt=0000000000
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]Got the PostgreSQL version string: '9.2.4'
[140366888027904]Extracted PostgreSQL version number: '9.2'
[140366888027904]auth got 'S'
[140366888027904]auth got 'S'
[140366888027904]standard_conforming_strings=on
[140366888027904]auth got 'S'
[140366888027904]auth got 'K'
[140366888027904]auth got 'Z'
[140366888027904]CC_send_settings: entering...
[140366888027904]PGAPI_AllocStmt: entering...
[140366888027904]**** PGAPI_AllocStmt: hdbc = 0x7fa9a00b97c0, stmt = 0x7fa9a0065c70
[140366888027904]CC_add_statement: self=0x7fa9a00b97c0, stmt=0x7fa9a0065c70
[140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0065c70, fOption=1
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]SC_init_Result(a0065c70)[140366888027904]SC_Destructor: self=0x7fa9a0065c70, self->result=(nil), self->hdbc=0x7fa9a00b97c0
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a0065e18
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a0065e88
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0065f50
[140366888027904]SC_Destructor: EXIT
[140366888027904]CC_lookup_lo: entering...
[140366888027904]CC_send_query: conn=0x7fa9a00b97c0, query='select oid, typbasetype from pg_type where typname = 'lo''
[140366888027904]send_query: done sending query 63bytes flushed
[140366888027904]in QR_Constructor
[140366888027904]exit QR_Constructor
[140366888027904]read -1, global_socket_buffersize=4096
[140366888027904]Lasterror=11
[140366888027904]!!!  poll ret=1 revents=1
[140366888027904]read 79, global_socket_buffersize=4096
[140366888027904]send_query: got id = 'T'
[140366888027904]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140366888027904]num_fields = 2
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='oid', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(1247,65534)
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='typbasetype', adtid=26, adtsize=4, atttypmod=-1 (rel,att)=(1247,24)
[140366888027904]QR_fetch_tuples: past CI_read_fields: num_fields = 2
[140366888027904]MALLOC: tuple_size = 100, size = 3200
[140366888027904]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140366888027904]end of tuple list -- setting inUse to false: this = 0x7fa9a0010d00 SELECT 0
[140366888027904]_QR_next_tuple: 'C' fetch_total = 0 & this_fetch = 0
[140366888027904]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140366888027904]QR_next_tuple: reached eof now
[140366888027904]_QR_next_tuple: 'C': DONE (fcount == 0)
[140366888027904]send_query: got id = 'Z'
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: in QR_close_result
[140366888027904]QResult: free memory in, fcount=0
[140366888027904]QResult: free memory out
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: exit close_result
[140366888027904]QResult: exit DESTRUCTOR
[140366888027904]Got the large object oid: -999
[140366888027904]CC_lookup_characterset: entering...
[140366888027904]conn->unicode=0
[140366888027904]CC_connect: returning...1
[140366888027904]szConnStrOut = 'DRIVER={PostgreSQL ANSI};DATABASE=xxxxx;SERVER=localhost;PORT=5432;xxxxx;PWD=;SSLmode=disable;ReadOnly=0;Protocol=7.4;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=255;MaxLongVarcharSize=8190;Debug=1;CommLog=0;Optimizer=0;Ksqo=1;UseDeclareFetch=0;TextAsLongVarchar=1;UnknownsAsLongVarchar=0;BoolsAsChar=1;Parse=0;CancelAsFreeStmt=0;ExtraSysTablePrefixes=dd_;;LFConversion=0;UpdatableCursors=1;DisallowPremature=0;TrueIsMinus1=0;BI=0;ByteaAsLongVarBinary=0;UseServerSidePrepare=0;LowerCaseIdentifier=0;' len=592,1024
[140366888027904]PGAPI_DriverConnect: returning 0
[140366888027904][SQLGetFunctions][140366888027904][[SQLSetConnectAttr]] 108
[140366888027904]PGAPI_SetConnectAttr for 0x7fa9a00b97c0: 108 0x2
[140366888027904]PGAPI_SetConnectOption: entering fOption = 108 vParam = 2
[140366888027904][[SQLGetConnectAttr]] 108
[140366888027904]PGAPI_GetConnectAttr 108
[140366888027904]PGAPI_GetConnectOption: entering...
[140366888027904][[SQLAllocHandle]][140366888027904]PGAPI_AllocStmt: entering...
[140366888027904]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9a0010d00
[140366888027904]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9a0010d00
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10010
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10010
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10011
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10011
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10012
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10012
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10013
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10013
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a0010ea8, parameters_allocated=0, num_params=1,(nil)
[140366888027904]exit extend_parameter_bindings=0x7fa9a0011620
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a0010f18, parameters_allocated=0, num_params=1
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0066300
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a0010fe0, parameters_allocated=0, num_params=1
[140366888027904]exit extend_putdata_info=0x7fa9a0066330
[140366888027904]PGAPI_BindParameter: ipar=0, paramType=1, fCType=1, fSqlType=12, cbColDef=8, ibScale=0,[140366888027904]rgbValue=0x7fa9b0048ca0(0), pcbValue=(nil)
[140366888027904][SQLBindCol][140366888027904]PGAPI_BindCol: entering...
[140366888027904]**** PGAPI_BindCol: stmt = 0x7fa9a0010d00, icol = 1
[140366888027904]**** : fCType=-27 rgb=0x7fa9b67fa958 valusMax=0 pcb=0x7fa9b67fa998
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a0010de0, bindings_allocated=0, num_columns=1
[140366888027904]exit extend_column_bindings=0x7fa9a0066350
[140366888027904]extend_getdata_info: entering ... self=0x7fa9a0010f60, gdata_allocated=0, num_columns=1
[140366888027904]exit extend_gdata_info=0x7fa9a0066380
[140366888027904]       bound buffer[0] = 0x7fa9b67fa958
[140366888027904][SQLBindCol][140366888027904]PGAPI_BindCol: entering...
[140366888027904]**** PGAPI_BindCol: stmt = 0x7fa9a0010d00, icol = 2
[140366888027904]**** : fCType=1 rgb=0x7fa9b67faa40 valusMax=64 pcb=0x7fa9b67fa9e8
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a0010de0, bindings_allocated=1, num_columns=2
[140366888027904]exit extend_column_bindings=0x7fa9a00663b0
[140366888027904]extend_getdata_info: entering ... self=0x7fa9a0010f60, gdata_allocated=1, num_columns=2
[140366888027904]exit extend_gdata_info=0x7fa9a0010ad0
[140366888027904]       bound buffer[1] = 0x7fa9b67faa40
[140366888027904][SQLBindCol][140366888027904]PGAPI_BindCol: entering...
[140366888027904]**** PGAPI_BindCol: stmt = 0x7fa9a0010d00, icol = 3
[140366888027904]**** : fCType=-27 rgb=0x7fa9b67fa9f8 valusMax=0 pcb=0x7fa9b67faa38
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a0010de0, bindings_allocated=2, num_columns=3
[140366888027904]exit extend_column_bindings=0x7fa9a0010b20
[140366888027904]extend_getdata_info: entering ... self=0x7fa9a0010f60, gdata_allocated=2, num_columns=3
[140366888027904]exit extend_gdata_info=0x7fa9a0010ba0
[140366888027904]       bound buffer[2] = 0x7fa9b67fa9f8
[140366888027904][SQLExecDirect][140366888027904]PGAPI_ExecDirect: entering...1
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]**** PGAPI_ExecDirect: hstmt=0x7fa9a0010d00, statement='select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx=?'
[140366888027904]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366888027904]PGAPI_Execute: entering...1
[140366888027904]PGAPI_Execute: clear errors...
[140366888027904]PGAPI_NumParams: entering...
[140366888027904]SC_scanQueryAndCountParams: entering...
[140366888027904]prepareParameters was not called, prepare state:2
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=69, stmt='select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx=?'
[140366888027904]ResolveOneParam: from(fcType)=1, to(fSqlType)=12(1043)
[140366888027904]cvt_null_date_string=0 pgtype=1043 buf=0x7fa9b0048ca0
[140366888027904]buf=0x7fa9b0048ca0 flag=2304
[140366888027904]   stmt_with_params = 'select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx='xxxxx''
[140366888027904]about to begin SC_execute
[140366888027904]       Sending SELECT statement on stmt=0x7fa9a0010d00, cursor_name='SQL_CUR0x7fa9a0010d00' qflag=0,1
[140366888027904]CC_send_query: conn=0x7fa9c2e0dc30, query='select xxxxx, xxxxx, xxxxx from xxxxx where xxxxx='xxxxx''
[140366888027904]send_query: done sending query 84bytes flushed
[140366888027904]in QR_Constructor
[140366888027904]exit QR_Constructor
[140366888027904]read -1, global_socket_buffersize=4096
[140366888027904]Lasterror=11
[140366888027904]!!!  poll ret=1 revents=1
[140366888027904]read 142, global_socket_buffersize=4096
[140366888027904]send_query: got id = 'T'
[140366888027904]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140366888027904]num_fields = 3
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='xxxxx', adtid=1700, adtsize=-1, atttypmod=1245184 (rel,att)=(16926,1)
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='xxxxx', adtid=1043, adtsize=-1, atttypmod=16 (rel,att)=(16926,5)
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='xxxxx', adtid=1700, adtsize=-1, atttypmod=1245184 (rel,att)=(16926,10)
[140366888027904]QR_fetch_tuples: past CI_read_fields: num_fields = 3
[140366888027904]MALLOC: tuple_size = 100, size = 4800
[140366888027904]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140366888027904]qresult: len=2, buffer='24'
[140366888027904]qresult: len=10, buffer='xxxxx'
[140366888027904]qresult: len=1, buffer='1'
[140366888027904]end of tuple list -- setting inUse to false: this = 0x7fa9a0006a60 SELECT 1
[140366888027904]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140366888027904]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140366888027904]QR_next_tuple: reached eof now
[140366888027904]send_query: got id = 'Z'
[140366888027904]     done sending the query:
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a0010de0, bindings_allocated=3, num_columns=3
[140366888027904]exit extend_column_bindings=0x7fa9a0010b20
[140366888027904]SC_set_Result(a0010d00, a0006a60)[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]retval=0
[140366888027904]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366888027904][[SQLFetch]][140366888027904]PGAPI_ExtendedFetch: stmt=0x7fa9a0010d00 rowsetSize=1
[140366888027904]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140366888027904]PGAPI_ExtendedFetch: new currTuple = -1
[140366888027904]fetch_cursor=0, 0x7fa9a0006a60->total_read=1
[140366888027904]**** SC_fetch: non-cursor_result
[140366888027904]fetch: cols=3, lf=0, opts = 0x7fa9a0010de0, opts->bindings = 0x7fa9a0010b20, buffer[] = 0x7fa9b67fa958
[140366888027904]type = 1700, atttypmod = 1245184
[140366888027904]value = '24'
[140366888027904]copy_and_convert: field_type = 1700, fctype = -27, value = '24', cbValueMax=0
[140366888027904]copy_and_convert: retval = 0
[140366888027904]fetch: cols=3, lf=1, opts = 0x7fa9a0010de0, opts->bindings = 0x7fa9a0010b20, buffer[] = 0x7fa9b67faa40
[140366888027904]type = 1043, atttypmod = 16
[140366888027904]value = 'xxxxx'
[140366888027904]copy_and_convert: field_type = 1043, fctype = 1, value = 'xxxxx', cbValueMax=64
[140366888027904]DEFAULT: len = 10, ptr = 'xxxxx'
[140366888027904]    SQL_C_CHAR, default: len = 10, cbValueMax = 64, rgbValueBindRow = 'xxxxx'
[140366888027904]copy_and_convert: retval = 0
[140366888027904]fetch: cols=3, lf=2, opts = 0x7fa9a0010de0, opts->bindings = 0x7fa9a0010b20, buffer[] = 0x7fa9b67fa9f8
[140366888027904]type = 1700, atttypmod = 1245184
[140366888027904]value = '1'
[140366888027904]copy_and_convert: field_type = 1700, fctype = -27, value = '1', cbValueMax=0
[140366888027904]copy_and_convert: retval = 0
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=1
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=3
[140366888027904][[SQLFetch]][140366888027904]PGAPI_ExtendedFetch: stmt=0x7fa9a0010d00 rowsetSize=1
[140366888027904]SQL_FETCH_NEXT: num_tuples=1, currtuple=0, rowst=0
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=1
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=3
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=3
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a0010ea8
[140366888027904]APD_free_params:  EXIT
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a0010f18
[140366888027904]IPD_free_params:  EXIT
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904]PDATA_free_params:  EXIT
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=0
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: in QR_close_result
[140366888027904]QResult: free memory in, fcount=1
[140366888027904]QResult: free memory out
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: exit close_result
[140366888027904]QResult: exit DESTRUCTOR
[140366888027904]SC_init_Result(a0010d00)[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904][[SQLFreeHandle]][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=1
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]SC_init_Result(a0010d00)[140366888027904]SC_Destructor: self=0x7fa9a0010d00, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=1
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=3, icol=3
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a0010ea8
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a0010f18
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904]SC_Destructor: EXIT
[140366888027904][[SQLAllocHandle]][140366888027904]PGAPI_AllocStmt: entering...
[140366888027904]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9a0010d00
[140366888027904]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9a0010d00
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10010
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10010
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10011
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10011
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10012
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10012
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10013
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10013
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a0010ea8, parameters_allocated=0, num_params=1,(nil)
[140366888027904]exit extend_parameter_bindings=0x7fa9a0011620
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a0010f18, parameters_allocated=0, num_params=1
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0066300
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a0010fe0, parameters_allocated=0, num_params=1
[140366888027904]exit extend_putdata_info=0x7fa9a0066330
[140366888027904]PGAPI_BindParameter: ipar=0, paramType=1, fCType=93, fSqlType=93, cbColDef=26, ibScale=0,[140366888027904]rgbValue=0x7fa9b67fa970(0), pcbValue=(nil)
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a0010ea8, parameters_allocated=1, num_params=2,0x7fa9a0011620
[140366888027904]exit extend_parameter_bindings=0x7fa9a0066350
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a0010f18, parameters_allocated=1, num_params=2
[140366888027904]exit extend_iparameter_bindings=0x7fa9a00663b0
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a0010fe0, parameters_allocated=1, num_params=2
[140366888027904]exit extend_putdata_info=0x7fa9a0011620
[140366888027904]PGAPI_BindParameter: ipar=1, paramType=1, fCType=93, fSqlType=93, cbColDef=26, ibScale=0,[140366888027904]rgbValue=0x7fa9b67fa9c0(0), pcbValue=(nil)
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a0010ea8, parameters_allocated=2, num_params=3,0x7fa9a0066350
[140366888027904]exit extend_parameter_bindings=0x7fa9a0010ad0
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a0010f18, parameters_allocated=2, num_params=3
[140366888027904]exit extend_iparameter_bindings=0x7fa9a00663b0
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a0010fe0, parameters_allocated=2, num_params=3
[140366888027904]exit extend_putdata_info=0x7fa9a0010b50
[140366888027904]PGAPI_BindParameter: ipar=2, paramType=1, fCType=93, fSqlType=93, cbColDef=26, ibScale=0,[140366888027904]rgbValue=0x7fa9b67faa10(0), pcbValue=(nil)
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a0010ea8, parameters_allocated=3, num_params=4,0x7fa9a0010ad0
[140366888027904]exit extend_parameter_bindings=0x7fa9a0006a60
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a0010f18, parameters_allocated=3, num_params=4
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0006b10
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a0010fe0, parameters_allocated=3, num_params=4
[140366888027904]exit extend_putdata_info=0x7fa9a0010b50
[140366888027904]PGAPI_BindParameter: ipar=3, paramType=1, fCType=-27, fSqlType=-5, cbColDef=0, ibScale=0,[140366888027904]rgbValue=0x7fa9b67faa38(0), pcbValue=(nil)
[140366888027904][SQLExecDirect][140366888027904]PGAPI_ExecDirect: entering...1
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]**** PGAPI_ExecDirect: hstmt=0x7fa9a0010d00, statement='update xxxxx set xxxxx=?, xxxxx=?, xxxxx=? where xxxxx=?'
[140366888027904]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366888027904]PGAPI_Execute: entering...1
[140366888027904]PGAPI_Execute: clear errors...
[140366888027904]PGAPI_NumParams: entering...
[140366888027904]SC_scanQueryAndCountParams: entering...
[140366888027904]prepareParameters was not called, prepare state:2
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=85, stmt='update xxxxx set xxxxx=?, xxxxx=?, xxxxx=? where xxxxx=?'
[140366888027904]ResolveOneParam: from(fcType)=93, to(fSqlType)=93(1184)
[140366888027904]m=4,d=12,y=2013,hh=16,mm=18,ss=45
[140366888027904]cvt_null_date_string=0 pgtype=1184 buf=(nil)
[140366888027904]ResolveOneParam: from(fcType)=93, to(fSqlType)=93(1184)
[140366888027904]m=4,d=12,y=2013,hh=16,mm=18,ss=45
[140366888027904]cvt_null_date_string=0 pgtype=1184 buf=(nil)
[140366888027904]ResolveOneParam: from(fcType)=93, to(fSqlType)=93(1184)
[140366888027904]m=4,d=12,y=2013,hh=16,mm=18,ss=45
[140366888027904]cvt_null_date_string=0 pgtype=1184 buf=(nil)
[140366888027904]ResolveOneParam: from(fcType)=-27, to(fSqlType)=-5(20)
[140366888027904]cvt_null_date_string=0 pgtype=20 buf=(nil)
[140366888027904]   stmt_with_params = 'update xxxxx set xxxxx='2013-04-12 16:18:45'::timestamp, xxxxx='2013-04-12 16:18:45'::timestamp, xxxxx='2013-04-12 16:18:45'::timestamp where xxxxx='24''
[140366888027904]about to begin SC_execute
[140366888027904]      it's NOT a select statement: stmt=0x7fa9a0010d00
[140366888027904]CC_send_query: conn=0x7fa9c2e0dc30, query='update xxxxx set xxxxx='2013-04-12 16:18:45'::timestamp, xxxxx='2013-04-12 16:18:45'::timestamp, xxxxx='2013-04-12 16:18:45'::timestamp where xxxxx='24''
[140366888027904]send_query: done sending query 187bytes flushed
[140366888027904]in QR_Constructor
[140366888027904]exit QR_Constructor
[140366888027904]read -1, global_socket_buffersize=4096
[140366888027904]Lasterror=11
[140366888027904]!!!  poll ret=1 revents=1
[140366888027904]read 20, global_socket_buffersize=4096
[140366888027904]send_query: got id = 'C'
[140366888027904]send_query: ok - 'C' - UPDATE 1
[140366888027904]send_query: setting cmdbuffer = 'UPDATE 1'
[140366888027904]send_query: returning res = 0x7fa9a0011100
[140366888027904]send_query: got id = 'Z'
[140366888027904]SC_set_Result(a0010d00, a0011100)[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]retval=0
[140366888027904]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366888027904][SQLRowCount][140366888027904]PGAPI_RowCount: entering...
[140366888027904]**** PGAPI_RowCount: THE ROWS: *pcrow = 1
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=2
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=3
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a0010ea8
[140366888027904]APD_free_params:  EXIT
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a0010f18
[140366888027904]IPD_free_params:  EXIT
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904]PDATA_free_params:  EXIT
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=0
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: in QR_close_result
[140366888027904]QResult: free memory in, fcount=0
[140366888027904]QResult: free memory out
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: exit close_result
[140366888027904]QResult: exit DESTRUCTOR
[140366888027904]SC_init_Result(a0010d00)[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904][[SQLFreeHandle]][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=1
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]SC_init_Result(a0010d00)[140366888027904]SC_Destructor: self=0x7fa9a0010d00, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a0010ea8
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a0010f18
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904]SC_Destructor: EXIT
[140366888027904][[SQLAllocHandle]][140366888027904]PGAPI_AllocStmt: entering...
[140366888027904]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9a0010d00
[140366888027904]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9a0010d00
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10010
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10010
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10011
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10011
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10012
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10012
[140366888027904][[SQLGetStmtAttr]] Handle=2684423424 10013
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a0010d00 10013
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a0010ea8, parameters_allocated=0, num_params=1,(nil)
[140366888027904]exit extend_parameter_bindings=0x7fa9a0011620
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a0010f18, parameters_allocated=0, num_params=1
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0066300
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a0010fe0, parameters_allocated=0, num_params=1
[140366888027904]exit extend_putdata_info=0x7fa9a0066330
[140366888027904]PGAPI_BindParameter: ipar=0, paramType=1, fCType=-27, fSqlType=-5, cbColDef=0, ibScale=0,[140366888027904]rgbValue=0x7fa9b67fa9e8(0), pcbValue=(nil)
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a0010ea8, parameters_allocated=1, num_params=2,0x7fa9a0011620
[140366888027904]exit extend_parameter_bindings=0x7fa9a0066350
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a0010f18, parameters_allocated=1, num_params=2
[140366888027904]exit extend_iparameter_bindings=0x7fa9a00663b0
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a0010fe0, parameters_allocated=1, num_params=2
[140366888027904]exit extend_putdata_info=0x7fa9a0011620
[140366888027904]PGAPI_BindParameter: ipar=1, paramType=1, fCType=1, fSqlType=12, cbColDef=6, ibScale=0,[140366888027904]rgbValue=0x7fa9b0048e64(0), pcbValue=(nil)
[140366888027904][SQLBindCol][140366888027904]PGAPI_BindCol: entering...
[140366888027904]**** PGAPI_BindCol: stmt = 0x7fa9a0010d00, icol = 1
[140366888027904]**** : fCType=-27 rgb=0x7fa9b67fa998 valusMax=0 pcb=0x7fa9b67fa9d8
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a0010de0, bindings_allocated=0, num_columns=1
[140366888027904]exit extend_column_bindings=0x7fa9a0066300
[140366888027904]extend_getdata_info: entering ... self=0x7fa9a0010f60, gdata_allocated=0, num_columns=1
[140366888027904]exit extend_gdata_info=0x7fa9a0066400
[140366888027904]       bound buffer[0] = 0x7fa9b67fa998
[140366888027904][SQLExecDirect][140366888027904]PGAPI_ExecDirect: entering...1
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]**** PGAPI_ExecDirect: hstmt=0x7fa9a0010d00, statement='select xxxxx from xxxxx where xxxxx=? and xxxxx=?'
[140366888027904]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366888027904]PGAPI_Execute: entering...1
[140366888027904]PGAPI_Execute: clear errors...
[140366888027904]PGAPI_NumParams: entering...
[140366888027904]SC_scanQueryAndCountParams: entering...
[140366888027904]prepareParameters was not called, prepare state:2
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=70, stmt='select xxxxx from xxxxx where xxxxx=? and xxxxx=?'
[140366888027904]ResolveOneParam: from(fcType)=-27, to(fSqlType)=-5(20)
[140366888027904]cvt_null_date_string=0 pgtype=20 buf=(nil)
[140366888027904]ResolveOneParam: from(fcType)=1, to(fSqlType)=12(1043)
[140366888027904]cvt_null_date_string=0 pgtype=1043 buf=0x7fa9b0048e64
[140366888027904]buf=0x7fa9b0048e64 flag=2304
[140366888027904]   stmt_with_params = 'select xxxxx from xxxxx where xxxxx='24' and xxxxx='xxxxx''
[140366888027904]about to begin SC_execute
[140366888027904]       Sending SELECT statement on stmt=0x7fa9a0010d00, cursor_name='SQL_CUR0x7fa9a0010d00' qflag=0,1
[140366888027904]CC_send_query: conn=0x7fa9c2e0dc30, query='select xxxxx from xxxxx where xxxxx='24' and xxxxx='xxxxx''
[140366888027904]send_query: done sending query 86bytes flushed
[140366888027904]in QR_Constructor
[140366888027904]exit QR_Constructor
[140366888027904]read -1, global_socket_buffersize=4096
[140366888027904]Lasterror=11
[140366888027904]!!!  poll ret=1 revents=1
[140366888027904]read 72, global_socket_buffersize=4096
[140366888027904]send_query: got id = 'T'
[140366888027904]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140366888027904]num_fields = 1
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='xxxxx', adtid=1700, adtsize=-1, atttypmod=1245184 (rel,att)=(16929,3)
[140366888027904]QR_fetch_tuples: past CI_read_fields: num_fields = 1
[140366888027904]MALLOC: tuple_size = 100, size = 1600
[140366888027904]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140366888027904]qresult: len=1, buffer='1'
[140366888027904]end of tuple list -- setting inUse to false: this = 0x7fa9a0010ad0 SELECT 1
[140366888027904]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140366888027904]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140366888027904]QR_next_tuple: reached eof now
[140366888027904]send_query: got id = 'Z'
[140366888027904]     done sending the query:
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a0010de0, bindings_allocated=1, num_columns=1
[140366888027904]exit extend_column_bindings=0x7fa9a0066300
[140366888027904]SC_set_Result(a0010d00, a0010ad0)[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]retval=0
[140366888027904]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366888027904][[SQLFetch]][140366888027904]PGAPI_ExtendedFetch: stmt=0x7fa9a0010d00 rowsetSize=1
[140366888027904]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140366888027904]PGAPI_ExtendedFetch: new currTuple = -1
[140366888027904]fetch_cursor=0, 0x7fa9a0010ad0->total_read=1
[140366888027904]**** SC_fetch: non-cursor_result
[140366888027904]fetch: cols=1, lf=0, opts = 0x7fa9a0010de0, opts->bindings = 0x7fa9a0066300, buffer[] = 0x7fa9b67fa998
[140366888027904]type = 1700, atttypmod = 1245184
[140366888027904]value = '1'
[140366888027904]copy_and_convert: field_type = 1700, fctype = -27, value = '1', cbValueMax=0
[140366888027904]copy_and_convert: retval = 0
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=1, icol=1
[140366888027904][[SQLFetch]][140366888027904]PGAPI_ExtendedFetch: stmt=0x7fa9a0010d00 rowsetSize=1
[140366888027904]SQL_FETCH_NEXT: num_tuples=1, currtuple=0, rowst=0
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=1, icol=1
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=3
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a0010ea8
[140366888027904]APD_free_params:  EXIT
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a0010f18
[140366888027904]IPD_free_params:  EXIT
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904]PDATA_free_params:  EXIT
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=0
[140366888027904]SC_recycle_statement: self= 0x7fa9a0010d00
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: in QR_close_result
[140366888027904]QResult: free memory in, fcount=1
[140366888027904]QResult: free memory out
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: exit close_result
[140366888027904]QResult: exit DESTRUCTOR
[140366888027904]SC_init_Result(a0010d00)[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904][[SQLFreeHandle]][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a0010d00, fOption=1
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]SC_init_Result(a0010d00)[140366888027904]SC_Destructor: self=0x7fa9a0010d00, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a0010de0, bindings_allocated=1, icol=1
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a0010ea8
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a0010f18
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a0010fe0
[140366888027904]SC_Destructor: EXIT
[140366888027904][[SQLAllocHandle]][140366888027904]PGAPI_AllocStmt: entering...
[140366888027904]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9a00bc3f0
[140366888027904]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9a00bc3f0
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10010
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10010
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10011
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10011
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10012
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10012
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10013
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10013
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a00bc598, parameters_allocated=0, num_params=1,(nil)
[140366888027904]exit extend_parameter_bindings=0x7fa9a0006ad0
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a00bc608, parameters_allocated=0, num_params=1
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0011620
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a00bc6d0, parameters_allocated=0, num_params=1
[140366888027904]exit extend_putdata_info=0x7fa9a00043f0
[140366888027904]PGAPI_BindParameter: ipar=0, paramType=1, fCType=-27, fSqlType=-5, cbColDef=0, ibScale=0,[140366888027904]rgbValue=0x7fa9b67fa8e8(0), pcbValue=(nil)
[140366888027904][SQLBindCol][140366888027904]PGAPI_BindCol: entering...
[140366888027904]**** PGAPI_BindCol: stmt = 0x7fa9a00bc3f0, icol = 1
[140366888027904]**** : fCType=-27 rgb=0x7fa9b67fa938 valusMax=0 pcb=0x7fa9b67fa978
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a00bc4d0, bindings_allocated=0, num_columns=1
[140366888027904]exit extend_column_bindings=0x7fa9a0006a60
[140366888027904]extend_getdata_info: entering ... self=0x7fa9a00bc650, gdata_allocated=0, num_columns=1
[140366888027904]exit extend_gdata_info=0x7fa9a0010d00
[140366888027904]       bound buffer[0] = 0x7fa9b67fa938
[140366888027904][SQLBindCol][140366888027904]PGAPI_BindCol: entering...
[140366888027904]**** PGAPI_BindCol: stmt = 0x7fa9a00bc3f0, icol = 2
[140366888027904]**** : fCType=1 rgb=0x7fa9b0048f18 valusMax=128 pcb=0x7fa9b67fa9c8
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a00bc4d0, bindings_allocated=1, num_columns=2
[140366888027904]exit extend_column_bindings=0x7fa9a0066350
[140366888027904]extend_getdata_info: entering ... self=0x7fa9a00bc650, gdata_allocated=1, num_columns=2
[140366888027904]exit extend_gdata_info=0x7fa9a00663b0
[140366888027904]       bound buffer[1] = 0x7fa9b0048f18
[140366888027904][SQLBindCol][140366888027904]PGAPI_BindCol: entering...
[140366888027904]**** PGAPI_BindCol: stmt = 0x7fa9a00bc3f0, icol = 3
[140366888027904]**** : fCType=-27 rgb=0x7fa9b67fa9d8 valusMax=0 pcb=0x7fa9b67faa18
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a00bc4d0, bindings_allocated=2, num_columns=3
[140366888027904]exit extend_column_bindings=0x7fa9a0010eb0
[140366888027904]extend_getdata_info: entering ... self=0x7fa9a00bc650, gdata_allocated=2, num_columns=3
[140366888027904]exit extend_gdata_info=0x7fa9a0010f30
[140366888027904]       bound buffer[2] = 0x7fa9b67fa9d8
[140366888027904][SQLExecDirect][140366888027904]PGAPI_ExecDirect: entering...1
[140366888027904]SC_recycle_statement: self= 0x7fa9a00bc3f0
[140366888027904]**** PGAPI_ExecDirect: hstmt=0x7fa9a00bc3f0, statement='select xxxxx.xxxxx, xxxxx, xxxxx from xxxxx, xxxxx where xxxxx.xxxxx=xxxxx.xxxxx and xxxxx.xxxxx=?'
[140366888027904]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366888027904]PGAPI_Execute: entering...1
[140366888027904]PGAPI_Execute: clear errors...
[140366888027904]PGAPI_NumParams: entering...
[140366888027904]SC_scanQueryAndCountParams: entering...
[140366888027904]prepareParameters was not called, prepare state:2
[140366888027904]SC_recycle_statement: self= 0x7fa9a00bc3f0
[140366888027904]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=170, stmt='select xxxxx.xxxxx, xxxxx, xxxxx from xxxxx, xxxxx where xxxxx.xxxxx=xxxxx.xxxxx and xxxxx.xxxxx=?'
[140366888027904]ResolveOneParam: from(fcType)=-27, to(fSqlType)=-5(20)
[140366888027904]cvt_null_date_string=0 pgtype=20 buf=(nil)
[140366888027904]   stmt_with_params = 'select xxxxx.xxxxx, xxxxx, xxxxx from xxxxx, xxxxx where xxxxx.xxxxx=xxxxx.xxxxx and xxxxx.xxxxx='1''
[140366888027904]about to begin SC_execute
[140366888027904]       Sending SELECT statement on stmt=0x7fa9a00bc3f0, cursor_name='SQL_CUR0x7fa9a00bc3f0' qflag=0,1
[140366888027904]CC_send_query: conn=0x7fa9c2e0dc30, query='select xxxxx.xxxxx, xxxxx, xxxxx from xxxxx, xxxxx where xxxxx.xxxxx=xxxxx.xxxxx and xxxxx.xxxxx='1''
[140366888027904]send_query: done sending query 178bytes flushed
[140366888027904]in QR_Constructor
[140366888027904]exit QR_Constructor
[140366888027904]read -1, global_socket_buffersize=4096
[140366888027904]Lasterror=11
[140366888027904]!!!  poll ret=1 revents=1
[140366888027904]read 148, global_socket_buffersize=4096
[140366888027904]send_query: got id = 'T'
[140366888027904]QR_fetch_tuples: cursor = '', self->cursor=(nil)
[140366888027904]num_fields = 3
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='xxxxx', adtid=1700, adtsize=-1, atttypmod=1245184 (rel,att)=(16962,1)
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='xxxxx', adtid=1043, adtsize=-1, atttypmod=100 (rel,att)=(16962,3)
[140366888027904]READING ATTTYPMOD
[140366888027904]CI_read_fields: fieldname='xxxxx', adtid=1700, adtsize=-1, atttypmod=655360 (rel,att)=(16962,2)
[140366888027904]QR_fetch_tuples: past CI_read_fields: num_fields = 3
[140366888027904]MALLOC: tuple_size = 100, size = 4800
[140366888027904]QR_next_tuple: inTuples = true, falling through: fcount = 0, fetch_number = 0
[140366888027904]qresult: len=1, buffer='7'
[140366888027904]qresult: len=12, buffer='xxxxx'
[140366888027904]qresult: len=1, buffer='6'
[140366888027904]end of tuple list -- setting inUse to false: this = 0x7fa9a0004ac0 SELECT 1
[140366888027904]_QR_next_tuple: 'C' fetch_total = 1 & this_fetch = 1
[140366888027904]QR_next_tuple: backend_rows < CACHE_SIZE: brows = 0, cache_size = 0
[140366888027904]QR_next_tuple: reached eof now
[140366888027904]send_query: got id = 'Z'
[140366888027904]     done sending the query:
[140366888027904]extend_column_bindings: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, num_columns=3
[140366888027904]exit extend_column_bindings=0x7fa9a0010eb0
[140366888027904]SC_set_Result(a00bc3f0, a0004ac0)[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]retval=0
[140366888027904]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366888027904][[SQLFetch]][140366888027904]PGAPI_ExtendedFetch: stmt=0x7fa9a00bc3f0 rowsetSize=1
[140366888027904]SQL_FETCH_NEXT: num_tuples=1, currtuple=-1, rowst=-1
[140366888027904]PGAPI_ExtendedFetch: new currTuple = -1
[140366888027904]fetch_cursor=0, 0x7fa9a0004ac0->total_read=1
[140366888027904]**** SC_fetch: non-cursor_result
[140366888027904]fetch: cols=3, lf=0, opts = 0x7fa9a00bc4d0, opts->bindings = 0x7fa9a0010eb0, buffer[] = 0x7fa9b67fa938
[140366888027904]type = 1700, atttypmod = 1245184
[140366888027904]value = '7'
[140366888027904]copy_and_convert: field_type = 1700, fctype = -27, value = '7', cbValueMax=0
[140366888027904]copy_and_convert: retval = 0
[140366888027904]fetch: cols=3, lf=1, opts = 0x7fa9a00bc4d0, opts->bindings = 0x7fa9a0010eb0, buffer[] = 0x7fa9b0048f18
[140366888027904]type = 1043, atttypmod = 100
[140366888027904]value = 'xxxxx'
[140366888027904]copy_and_convert: field_type = 1043, fctype = 1, value = 'xxxxx', cbValueMax=128
[140366888027904]DEFAULT: len = 12, ptr = 'xxxxx'
[140366888027904]    SQL_C_CHAR, default: len = 12, cbValueMax = 128, rgbValueBindRow = 'xxxxx'
[140366888027904]copy_and_convert: retval = 0
[140366888027904]fetch: cols=3, lf=2, opts = 0x7fa9a00bc4d0, opts->bindings = 0x7fa9a0010eb0, buffer[] = 0x7fa9b67fa9d8
[140366888027904]type = 1700, atttypmod = 655360
[140366888027904]value = '6'
[140366888027904]copy_and_convert: field_type = 1700, fctype = -27, value = '6', cbValueMax=0
[140366888027904]copy_and_convert: retval = 0
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=1
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=3
[140366888027904][[SQLFetch]][140366888027904]PGAPI_ExtendedFetch: stmt=0x7fa9a00bc3f0 rowsetSize=1
[140366888027904]SQL_FETCH_NEXT: num_tuples=1, currtuple=0, rowst=0
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=1
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=3
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=3
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a00bc598
[140366888027904]APD_free_params:  EXIT
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a00bc608
[140366888027904]IPD_free_params:  EXIT
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a00bc6d0
[140366888027904]PDATA_free_params:  EXIT
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=0
[140366888027904]SC_recycle_statement: self= 0x7fa9a00bc3f0
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: in QR_close_result
[140366888027904]QResult: free memory in, fcount=1
[140366888027904]QResult: free memory out
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: exit close_result
[140366888027904]QResult: exit DESTRUCTOR
[140366888027904]SC_init_Result(a00bc3f0)[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a00bc6d0
[140366888027904][[SQLFreeHandle]][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=1
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]SC_init_Result(a00bc3f0)[140366888027904]SC_Destructor: self=0x7fa9a00bc3f0, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=1
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=2
[140366888027904]reset_a_column_binding: entering ... self=0x7fa9a00bc4d0, bindings_allocated=3, icol=3
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a00bc598
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a00bc608
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a00bc6d0
[140366888027904]SC_Destructor: EXIT
[140366888027904][[SQLAllocHandle]][140366888027904]PGAPI_AllocStmt: entering...
[140366888027904]**** PGAPI_AllocStmt: hdbc = 0x7fa9c2e0dc30, stmt = 0x7fa9a00bc3f0
[140366888027904]CC_add_statement: self=0x7fa9c2e0dc30, stmt=0x7fa9a00bc3f0
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10010
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10010
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10011
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10011
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10012
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10012
[140366888027904][[SQLGetStmtAttr]] Handle=2685125616 10013
[140366888027904]PGAPI_GetStmtAttr Handle=0x7fa9a00bc3f0 10013
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a00bc598, parameters_allocated=0, num_params=1,(nil)
[140366888027904]exit extend_parameter_bindings=0x7fa9a0006ad0
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a00bc608, parameters_allocated=0, num_params=1
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0011620
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a00bc6d0, parameters_allocated=0, num_params=1
[140366888027904]exit extend_putdata_info=0x7fa9a00043f0
[140366888027904]PGAPI_BindParameter: ipar=0, paramType=1, fCType=93, fSqlType=93, cbColDef=26, ibScale=0,[140366888027904]rgbValue=0x7fa9b67fa9c0(0), pcbValue=(nil)
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a00bc598, parameters_allocated=1, num_params=2,0x7fa9a0006ad0
[140366888027904]exit extend_parameter_bindings=0x7fa9a0010d00
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a00bc608, parameters_allocated=1, num_params=2
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0006a60
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a00bc6d0, parameters_allocated=1, num_params=2
[140366888027904]exit extend_putdata_info=0x7fa9a0011620
[140366888027904]PGAPI_BindParameter: ipar=1, paramType=1, fCType=93, fSqlType=93, cbColDef=26, ibScale=0,[140366888027904]rgbValue=0x7fa9b67faa10(0), pcbValue=(nil)
[140366888027904][SQLBindParameter][140366888027904]PGAPI_BindParameter: entering...
[140366888027904]extend_parameter_bindings: entering ... self=0x7fa9a00bc598, parameters_allocated=2, num_params=3,0x7fa9a0010d00
[140366888027904]exit extend_parameter_bindings=0x7fa9a0066350
[140366888027904]extend_iparameter_bindings: entering ... self=0x7fa9a00bc608, parameters_allocated=2, num_params=3
[140366888027904]exit extend_iparameter_bindings=0x7fa9a0010eb0
[140366888027904]extend_putdata_info: entering ... self=0x7fa9a00bc6d0, parameters_allocated=2, num_params=3
[140366888027904]exit extend_putdata_info=0x7fa9a0006a60
[140366888027904]PGAPI_BindParameter: ipar=2, paramType=1, fCType=-27, fSqlType=-5, cbColDef=0, ibScale=0,[140366888027904]rgbValue=0x7fa9b67faa38(0), pcbValue=(nil)
[140366888027904][SQLExecDirect][140366888027904]PGAPI_ExecDirect: entering...1
[140366888027904]SC_recycle_statement: self= 0x7fa9a00bc3f0
[140366888027904]**** PGAPI_ExecDirect: hstmt=0x7fa9a00bc3f0, statement='update xxxxx set xxxxx=?, xxxxx=? where xxxxx=?'
[140366888027904]PGAPI_ExecDirect: calling PGAPI_Execute...
[140366888027904]PGAPI_Execute: entering...1
[140366888027904]PGAPI_Execute: clear errors...
[140366888027904]PGAPI_NumParams: entering...
[140366888027904]SC_scanQueryAndCountParams: entering...
[140366888027904]prepareParameters was not called, prepare state:2
[140366888027904]SC_recycle_statement: self= 0x7fa9a00bc3f0
[140366888027904]Exec_with_parameters_resolved: copying statement params: trans_status=1, len=69, stmt='update xxxxx set xxxxx=?, xxxxx=? where xxxxx=?'
[140366888027904]ResolveOneParam: from(fcType)=93, to(fSqlType)=93(1184)
[140366888027904]m=4,d=12,y=2013,hh=16,mm=18,ss=45
[140366888027904]cvt_null_date_string=0 pgtype=1184 buf=(nil)
[140366888027904]ResolveOneParam: from(fcType)=93, to(fSqlType)=93(1184)
[140366888027904]m=4,d=12,y=2013,hh=17,mm=18,ss=45
[140366888027904]cvt_null_date_string=0 pgtype=1184 buf=(nil)
[140366888027904]ResolveOneParam: from(fcType)=-27, to(fSqlType)=-5(20)
[140366888027904]cvt_null_date_string=0 pgtype=20 buf=(nil)
[140366888027904]   stmt_with_params = 'update xxxxx set xxxxx='2013-04-12 16:18:45'::timestamp, xxxxx='2013-04-12 17:18:45'::timestamp where xxxxx='24''
[140366888027904]about to begin SC_execute
[140366888027904]      it's NOT a select statement: stmt=0x7fa9a00bc3f0
[140366888027904]CC_send_query: conn=0x7fa9c2e0dc30, query='update xxxxx set xxxxx='2013-04-12 16:18:45'::timestamp, xxxxx='2013-04-12 17:18:45'::timestamp where xxxxx='24''
[140366888027904]send_query: done sending query 140bytes flushed
[140366888027904]in QR_Constructor
[140366888027904]exit QR_Constructor
[140366888027904]read -1, global_socket_buffersize=4096
[140366888027904]Lasterror=11
[140366888027904]!!!  poll ret=1 revents=1
[140366888027904]read 20, global_socket_buffersize=4096
[140366888027904]send_query: got id = 'C'
[140366888027904]send_query: ok - 'C' - UPDATE 1
[140366888027904]send_query: setting cmdbuffer = 'UPDATE 1'
[140366888027904]send_query: returning res = 0x7fa9a00110d0
[140366888027904]send_query: got id = 'Z'
[140366888027904]SC_set_Result(a00bc3f0, a00110d0)[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]retval=0
[140366888027904]PGAPI_ExecDirect: returned 0 from PGAPI_Execute
[140366888027904][SQLRowCount][140366888027904]PGAPI_RowCount: entering...
[140366888027904]**** PGAPI_RowCount: THE ROWS: *pcrow = 1
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=2
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=3
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a00bc598
[140366888027904]APD_free_params:  EXIT
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a00bc608
[140366888027904]IPD_free_params:  EXIT
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a00bc6d0
[140366888027904]PDATA_free_params:  EXIT
[140366888027904][SQLFreeStmt][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=0
[140366888027904]SC_recycle_statement: self= 0x7fa9a00bc3f0
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: in QR_close_result
[140366888027904]QResult: free memory in, fcount=0
[140366888027904]QResult: free memory out
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]QResult: exit close_result
[140366888027904]QResult: exit DESTRUCTOR
[140366888027904]SC_init_Result(a00bc3f0)[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a00bc6d0
[140366888027904][[SQLFreeHandle]][140366888027904]PGAPI_FreeStmt: entering...hstmt=0x7fa9a00bc3f0, fOption=1
[140366888027904]QResult: enter DESTRUCTOR
[140366888027904]SC_init_Result(a00bc3f0)[140366888027904]SC_Destructor: self=0x7fa9a00bc3f0, self->result=(nil), self->hdbc=0x7fa9c2e0dc30
[140366888027904]APD_free_params:  ENTER, self=0x7fa9a00bc598
[140366888027904]IPD_free_params:  ENTER, self=0x7fa9a00bc608
[140366888027904]PDATA_free_params:  ENTER, self=0x7fa9a00bc6d0
[140366888027904]SC_Destructor: EXIT
[140366888027904][SQLDisconnect for 0x7fa9a00b97c0][140366888027904]PGAPI_Disconnect: entering...
[140366888027904]PGAPI_Disconnect: about to CC_cleanup
[140366888027904]in CC_Cleanup, self=0x7fa9a00b97c0
[140366888027904]after CC_abort
[140366888027904]SOCK_Destructor
[140366888027904]after SOCK destructor
[140366888027904]exit CC_Cleanup
[140366888027904]PGAPI_Disconnect: done CC_cleanup
[140366888027904]PGAPI_Disconnect: returning...
[140366888027904][[SQLFreeHandle]][140366888027904]PGAPI_FreeConnect: entering...
[140366888027904]**** in PGAPI_FreeConnect: hdbc=0x7fa9a00b97c0
[140366888027904]enter CC_Destructor, self=0x7fa9a00b97c0
[140366888027904]in CC_Cleanup, self=0x7fa9a00b97c0
[140366888027904]after SOCK destructor
[140366888027904]exit CC_Cleanup
[140366888027904]after CC_Cleanup
[140366888027904]after free statement holders
[140366888027904]exit CC_Destructor
[140366888027904]PGAPI_FreeConnect: returning...
[140367083742976][SQLDisconnect for 0x7fa9c2e0dc30][140367083742976]PGAPI_Disconnect: entering...
[140367083742976]PGAPI_Disconnect: about to CC_cleanup
[140367083742976]in CC_Cleanup, self=0x7fa9c2e0dc30
[140367083742976]after CC_abort
[140367083742976]SOCK_Destructor
[140367083742976]after SOCK destructor
[140367083742976]exit CC_Cleanup
[140367083742976]PGAPI_Disconnect: done CC_cleanup
[140367083742976]PGAPI_Disconnect: returning...
[140367083742976][[SQLFreeHandle]][140367083742976]PGAPI_FreeConnect: entering...
[140367083742976]**** in PGAPI_FreeConnect: hdbc=0x7fa9c2e0dc30
[140367083742976]enter CC_Destructor, self=0x7fa9c2e0dc30
[140367083742976]in CC_Cleanup, self=0x7fa9c2e0dc30
[140367083742976]after SOCK destructor
[140367083742976]exit CC_Cleanup
[140367083742976]after CC_Cleanup
[140367083742976]after free statement holders
[140367083742976]exit CC_Destructor
[140367083742976]PGAPI_FreeConnect: returning...
[140367083742976][[SQLFreeHandle]][140367083742976]**** in PGAPI_FreeEnv: env = 0x7fa9c2e0b9e0 ** 
[140367083742976]in EN_Destructor, self=0x7fa9c2e0b9e0
[140367083742976]clearing conns count=128
[140367083742976]exit EN_Destructor: rv = 1
[140367083742976]   ok
