pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Errors using psqlodbc
3+ messages / 2 participants
[nested] [flat]

* Errors using psqlodbc
@ 2010-11-02 16:46  Nelson Andre <nelson.andre@maeil.pt>
  0 siblings, 1 reply; 3+ messages in thread

From: Nelson Andre @ 2010-11-02 16:46 UTC (permalink / raw)
  To: pgsql-odbc

Hi there ,
I'm using psqlodbc version 9.00.01.01 UNICODE , in Windows Server 2003.
Have created a new data source and activated the logs.
In the psqlodbc logs I get the following error messages:

[0.002]conn=026B40E0, PGAPI_DriverConnect( in)='DSN=PostgresTeste;', fDriverCompletion=1
[0.011]DSN info: DSN='PostgresTeste',server='libra',port='5432',dbase='mtransteste',user='minimal',passwd='xxxxx'
[0.021]          onlyread='0',protocol='7.4',showoid='0',fakeoidindex='0',showsystable='0'
[0.028]          conn_settings='', conn_encoding='(null)'
[0.032]          translation_dll='',translation_option=''
[0.053]Driver Version='09.00.0101,201010160001' linking 1500 static Multithread library
[0.074]Global Options: fetch=100, socket=4096, unknown_sizes=0, max_varchar_size=255, max_longvarchar_size=8190
[0.099]                disable_optimizer=0, ksqo=1, unique_index=1, use_declarefetch=1
[0.106]                text_as_longvarchar=1, unknowns_as_longvarchar=0, bools_as_char=1 NAMEDATALEN=64
[0.113]                extra_systable_prefixes='dd_;', conn_settings='' conn_encoding=''
[0.250]    [ PostgreSQL version string = '8.4.4' ]
[0.252]    [ PostgreSQL version number = '8.4' ]
[0.316]conn=026B40E0, query='select oid, typbasetype from pg_type where typname = 'lo''
[0.377]    [ fetched 0 rows ]
[0.417]    [ Large Object oid = -999 ]
[0.422]    [ Client encoding = 'UTF8' (code = 6) ]
[0.443]conn=026B40E0, PGAPI_DriverConnect(out)='DSN=PostgresTeste;DATABASE=mtransteste;SERVER=libra;PORT=5432;UID=minimal;PWD=xxxxxxx;CA=d;A6=;A7=100;A8=4096;B0=255;B1=8190;BI=0;C2=dd_;;CX=1c54ebb;A1=7.4-1'
[6.044]CONN ERROR: func=set_statement_option, desc='', errnum=-1, errmsg='Requested value changed.'
[6.057]            ------------------------------------------------------------
[6.062]            henv=026B2150, conn=026B40E0, status=1, num_stmts=16
[6.067]            sock=026B2180, stmts=026B2250, lobj_type=-999
[6.071]            ---------------- Socket Info -------------------------------
[6.075]            socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
[6.080]            buffer_in=40594504, buffer_out=40598608
[6.083]            buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77
[6.090]CONN ERROR: func=PGAPI_SetConnectOption, desc='', errnum=-1, errmsg='Requested value changed.'
[6.104]            ------------------------------------------------------------
[6.108]            henv=026B2150, conn=026B40E0, status=1, num_stmts=16
[6.112]            sock=026B2180, stmts=026B2250, lobj_type=-999
[6.115]            ---------------- Socket Info -------------------------------
[6.120]            socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
[6.125]            buffer_in=40594504, buffer_out=40598608
[6.128]            buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77
[6.160]CONN ERROR: func=set_statement_option, desc='', errnum=-1, errmsg='Requested value changed.'
[6.172]            ------------------------------------------------------------
[6.177]            henv=026B2150, conn=026B40E0, status=1, num_stmts=16
[6.181]            sock=026B2180, stmts=026B2250, lobj_type=-999
[6.186]            ---------------- Socket Info -------------------------------
[6.191]            socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
[6.195]            buffer_in=40594504, buffer_out=40598608
[6.199]            buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77
[6.207]CONN ERROR: func=PGAPI_SetConnectOption, desc='', errnum=-1, errmsg='Requested value changed.'
[6.218]            ------------------------------------------------------------
[6.222]            henv=026B2150, conn=026B40E0, status=1, num_stmts=16
[6.226]            sock=026B2180, stmts=026B2250, lobj_type=-999
[6.232]            ---------------- Socket Info -------------------------------
[6.237]            socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
[6.242]            buffer_in=40594504, buffer_out=40598608
[6.246]            buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77


I get those 4 CONN ERROR and can't find anything related to them

Any help?

Os melhores cumprimentos,
Nelson André
Senior Software Engineer
Maeil Consultores - Tecnologias de Integração de Empresas, Lda.
http://www.maeil.pt<http://www.maeil.pt/;    http://helpdesk.maeil.pt<http://helpdesk.maeil.pt/;



AVISO DE CONFIDENCIALIDADE
Esta mensagem de correio electrónico e qualquer dos seus ficheiros anexos, caso existam, são confidenciais e destinados apenas à(s) pessoa(s) ou entidade(s) acima referida(s), podendo conter informação confidencial, privilegiada, a qual não deverá ser divulgada, copiada, gravada ou distribuída nos termos da lei vigente. Se não é o destinatário da mensagem, ou se ela lhe foi enviada por engano, agradecemos que não faça uso ou divulgação da mesma. A distribuição ou utilização da informação nela contida é VEDADA. Se recebeu esta mensagem por engano, por favor avise-nos de imediato, por correio electrónico, para o endereço acima e apague este e-mail do seu sistema. Obrigado.
CONFIDENTIALITY NOTICE
This e-mail transmission and eventual attached files are intended only for the use of the individual or entity named above and may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in this transmission is strictly VOIDED. If you have received this transmission in error, please immediately notify us by e-mail at the above address and delete this e-mail from your system. Thank you.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Errors using psqlodbc
@ 2010-11-02 23:19  Hiroshi Inoue <inoue@tpf.co.jp>
  parent: Nelson Andre <nelson.andre@maeil.pt>
  0 siblings, 1 reply; 3+ messages in thread

From: Hiroshi Inoue @ 2010-11-02 23:19 UTC (permalink / raw)
  To: Nelson Andre <nelson.andre@maeil.pt>; +Cc: pgsql-odbc

(2010/11/03 1:46), Nelson Andre wrote:
> Hi there ,
>
> I’m using psqlodbc version 9.00.01.01 UNICODE , in Windows Server 2003.
>
> Have created a new data source and activated the logs.
>
> In the psqlodbc logs I get the following error messages:
>
> [0.002]conn=026B40E0, PGAPI_DriverConnect( in)='DSN=PostgresTeste;',
> fDriverCompletion=1
>
> [0.011]DSN info:
> DSN='PostgresTeste',server='libra',port='5432',dbase='mtransteste',user='minimal',passwd='xxxxx'
>
> [0.021]
> onlyread='0',protocol='7.4',showoid='0',fakeoidindex='0',showsystable='0'
>
> [0.028] conn_settings='', conn_encoding='(null)'
>
> [0.032] translation_dll='',translation_option=''
>
> [0.053]Driver Version='09.00.0101,201010160001' linking 1500 static
> Multithread library
>
> [0.074]Global Options: fetch=100, socket=4096, unknown_sizes=0,
> max_varchar_size=255, max_longvarchar_size=8190
>
> [0.099] disable_optimizer=0, ksqo=1, unique_index=1, use_declarefetch=1
>
> [0.106] text_as_longvarchar=1, unknowns_as_longvarchar=0,
> bools_as_char=1 NAMEDATALEN=64
>
> [0.113] extra_systable_prefixes='dd_;', conn_settings='' conn_encoding=''
>
> [0.250] [ PostgreSQL version string = '8.4.4' ]
>
> [0.252] [ PostgreSQL version number = '8.4' ]
>
> [0.316]conn=026B40E0, query='select oid, typbasetype from pg_type where
> typname = 'lo''
>
> [0.377] [ fetched 0 rows ]
>
> [0.417] [ Large Object oid = -999 ]
>
> [0.422] [ Client encoding = 'UTF8' (code = 6) ]
>
> [0.443]conn=026B40E0,
> PGAPI_DriverConnect(out)='DSN=PostgresTeste;DATABASE=mtransteste;SERVER=libra;PORT=5432;UID=minimal;PWD=xxxxxxx;CA=d;A6=;A7=100;A8=4096;B0=255;B1=8190;BI=0;C2=dd_;;CX=1c54ebb;A1=7.4-1'
>
> [6.044]CONN ERROR: func=set_statement_option, desc='', errnum=-1,
> errmsg='Requested value changed.'
>
> [6.057] ------------------------------------------------------------
>
> [6.062] henv=026B2150, conn=026B40E0, status=1, num_stmts=16
>
> [6.067] sock=026B2180, stmts=026B2250, lobj_type=-999
>
> [6.071] ---------------- Socket Info -------------------------------
>
> [6.075] socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
>
> [6.080] buffer_in=40594504, buffer_out=40598608
>
> [6.083] buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77
>
> [6.090]CONN ERROR: func=PGAPI_SetConnectOption, desc='', errnum=-1,
> errmsg='Requested value changed.'
>
> [6.104] ------------------------------------------------------------
>
> [6.108] henv=026B2150, conn=026B40E0, status=1, num_stmts=16
>
> [6.112] sock=026B2180, stmts=026B2250, lobj_type=-999
>
> [6.115] ---------------- Socket Info -------------------------------
>
> [6.120] socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
>
> [6.125] buffer_in=40594504, buffer_out=40598608
>
> [6.128] buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77
>
> [6.160]CONN ERROR: func=set_statement_option, desc='', errnum=-1,
> errmsg='Requested value changed.'
>
> [6.172] ------------------------------------------------------------
>
> [6.177] henv=026B2150, conn=026B40E0, status=1, num_stmts=16
>
> [6.181] sock=026B2180, stmts=026B2250, lobj_type=-999
>
> [6.186] ---------------- Socket Info -------------------------------
>
> [6.191] socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
>
> [6.195] buffer_in=40594504, buffer_out=40598608
>
> [6.199] buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77
>
> [6.207]CONN ERROR: func=PGAPI_SetConnectOption, desc='', errnum=-1,
> errmsg='Requested value changed.'
>
> [6.218] ------------------------------------------------------------
>
> [6.222] henv=026B2150, conn=026B40E0, status=1, num_stmts=16
>
> [6.226] sock=026B2180, stmts=026B2250, lobj_type=-999
>
> [6.232] ---------------- Socket Info -------------------------------
>
> [6.237] socket=612, reverse=0, errornumber=0, errormsg='(NULL)'
>
> [6.242] buffer_in=40594504, buffer_out=40598608
>
> [6.246] buffer_filled_in=77, buffer_filled_out=0, buffer_read_in=77
>
> I get those 4 CONN ERROR and can’t find anything related to them
>
> Any help?

Those messages are warnings not errors.

regards,
Hiroshi Inoue




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Errors using psqlodbc
@ 2010-11-04 09:09  Nelson Andre <nelson.andre@maeil.pt>
  parent: Hiroshi Inoue <inoue@tpf.co.jp>
  0 siblings, 0 replies; 3+ messages in thread

From: Nelson Andre @ 2010-11-04 09:09 UTC (permalink / raw)
  To: Hiroshi Inoue <inoue@tpf.co.jp>; +Cc: pgsql-odbc

Hi Hiroshi,

The log keeps repeting some part of the text until I kill the application because it hangs and consumes 90+ % of the CPU.
I will try the drivers you referred and then let you know.

Thanks.

Os melhores cumprimentos,
Nelson André
Senior Software Engineer
Maeil Consultores - Tecnologias de Integração de Empresas, Lda.
P: (+351) 214 229 117 F: (+351) 214 229 119
http://www.maeil.pt    http://helpdesk.maeil.pt


-----Original Message-----
From: Hiroshi Inoue [mailto:inoue@tpf.co.jp] 
Sent: quinta-feira, 4 de Novembro de 2010 08:37
To: Nelson Andre
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Errors using psqlodbc

Hi Nelson,

(2010/11/03 19:05), Nelson Andre wrote:
> When I run my application , it hangs and I have to kill it in Task Manager.
>
> This is the content of mylog_5856.txt

.
.
> [5860-7.715]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='(', ptr='PGcA = ? ) ORDER BY PGcA '
> [5860-7.723]blevel++ ->  1
> [5860-7.724]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='PGcA', ptr='= ? ) ORDER BY PGcA '
> [5860-7.731]got ispunct: s[0] = '='
> [5860-7.733]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='=', ptr='? ) ORDER BY PGcA '
> [5860-7.740]got ispunct: s[0] = '?'
> [5860-7.744]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='?', ptr=') ORDER BY PGcA '
> [5860-7.752]got ispunct: s[0] = ')'
> [5860-7.753]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token=')', ptr='ORDER BY PGcA '
> [5860-7.760]blevel-- = 0
> [5860-7.762]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='ORDER', ptr='BY PGcA '
> [5860-7.767]ORDER...
> [5860-7.769]unquoted=1, quote=0, dquote=0, numeric=0, delim=' ', token='BY', ptr='PGcA '
> [5860-7.774]unquoted=1, quote=0, dquote=0, numeric=0, delim='

Does the log stop here?
If so, could you please try the drivers on testing for 9.0.0201 at
   http://www.ne.jp/asahi/inocchichichi/entrance/psqlodbc/
?

regards,
Hiroshi Inoue




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2010-11-04 09:09 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-11-02 16:46 Errors using psqlodbc Nelson Andre <nelson.andre@maeil.pt>
2010-11-02 23:19 ` Hiroshi Inoue <inoue@tpf.co.jp>
2010-11-04 09:09   ` Nelson Andre <nelson.andre@maeil.pt>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox