conn=0x1524f70, PGAPI_DriverConnect( in)='DSN=pq9;UID=root;PWD=debian', fDriverCompletion=0
DSN info: DSN='pq9',server='127.0.0.1',port='5432',dbase='test',user='root',passwd='xxxxx'
          onlyread='',protocol='9.3',showoid='',fakeoidindex='',showsystable=''
          conn_settings='(null)', conn_encoding='(null)'
          translation_dll='',translation_option=''
Driver Version='09.03.0300,201405140001'
Global Options: fetch=100, socket=4096, unknown_sizes=0, max_varchar_size=255, max_longvarchar_size=8190
                disable_optimizer=0, ksqo=1, unique_index=1, use_declarefetch=0
                text_as_longvarchar=1, unknowns_as_longvarchar=0, bools_as_char=1 NAMEDATALEN=64
                extra_systable_prefixes='dd_;', conn_settings='(null)' conn_encoding=''
conn=0x1524f70, query=' '
conn=0x1524f70, query='select version()'
    [ fetched 1 rows ]
    [ PostgreSQL version string = 'PostgreSQL 9.4.4 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.9.2-10) 4.9.2, 64-bit' ]
    [ PostgreSQL version number = '9.4' ]
conn=0x1524f70, query='set DateStyle to 'ISO''
conn=0x1524f70, query='set extra_float_digits to 2'
conn=0x1524f70, query='select oid, typbasetype from pg_type where typname = 'lo''
    [ fetched 0 rows ]
    [ Large Object oid = -999 ]
conn=0x1524f70, query='select pg_client_encoding()'
    [ fetched 1 rows ]
    [ Client encoding = 'UTF8' (code = 6) ]
conn=0x1524f70, PGAPI_DriverConnect(out)='DSN=pq9;DATABASE=test;SERVER=127.0.0.1;PORT=5432;UID=root;PWD=debian;SSLmode=disable;ReadOnly=0;Protocol=9.3;FakeOidIndex=0;ShowOidColumn=0;RowVersioning=0;ShowSystemTables=0;ConnSettings=;Fetch=100;Socket=4096;UnknownSizes=0;MaxVarcharSize=255;MaxLongVarcharSize=8190;Debug=2;CommLog=1;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=1;LowerCaseIdentifier=0;'
conn=0x1524f70, query='select 'test''
    [ fetched 1 rows ]
conn=0x1524f70, query='select relname, nspname, relkind from pg_catalog.pg_class c, pg_catalog.pg_namespace n where relkind in ('r', 'v') and nspname not in ('pg_catalog', 'information_schema', 'pg_toast', 'pg_temp_1') and n.oid = relnamespace order by nspname, relname'
    [ fetched 2 rows ]
conn=0x1524f70, query='select current_schema()'
    [ fetched 1 rows ]
conn=0x1524f70, query='select n.nspname, c.relname, a.attname, a.atttypid, t.typname, a.attnum, a.attlen, a.atttypmod, a.attnotnull, c.relhasrules, c.relkind, c.oid, pg_get_expr(d.adbin, d.adrelid), case t.typtype when 'd' then t.typbasetype else 0 end, t.typtypmod, c.relhasoids from (((pg_catalog.pg_class c inner join pg_catalog.pg_namespace n on n.oid = c.relnamespace and c.relname like E'person' and n.nspname like E'public') inner join pg_catalog.pg_attribute a on (not a.attisdropped) and a.attnum > 0 and a.attrelid = c.oid) inner join pg_catalog.pg_type t on t.oid = a.atttypid) left outer join pg_attrdef d on a.atthasdef and d.adrelid = a.attrelid and d.adnum = a.attnum order by n.nspname, c.relname, attnum'
    [ fetched 5 rows ]
PGAPI_Columns: table='person',field_name='id',type=23,name='int4'
PGAPI_Columns: table='person',field_name='name',type=1043,name='varchar'
PGAPI_Columns: table='person',field_name='sex',type=1043,name='varchar'
PGAPI_Columns: table='person',field_name='age',type=23,name='int4'
PGAPI_Columns: table='person',field_name='open',type=16,name='bool'
conn=0x1524f70, query='select * from Person'
    [ fetched 10 rows ]
