pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: akpedroso <akpedroso@terra.com.br>
To: pgsql-odbc <pgsql-odbc@postgresql.org>
Subject: errnum=30, errmsg='this request may be for MS SQL Server'
Date: Tue, 12 Sep 2006 15:12:28 -0300
Message-ID: <J5HRWS$92F1702F609BD236946BB40266FE0800@terra.com.br> (raw)

Hi Mrs

I'm trying to migrate to 08.02.0100 version, it's works fine but, in the logfile this error occur. At this point i was trying to write BLOB files in a bytea field.

Only in the blob-write operations i receive this message, sometimes doesn't write the correct UPDATE in another table in the same connection, but the blob write sucessful. Always showing this message:


STATEMENT ERROR: func=PGAPI_ColAttributes, desc='', errnum=30, errmsg='this request may be for MS SQL Server'
                 ------------------------------------------------------------
                 hdbc=1333df8, stmt=1339008, result=1339238
                 prepare=0, internal=0
                 bindings=1902060, bindings_allocated=3
                 parameters=1339920, parameters_allocated=1
                 statement_type=0, statement='SELECT Tarefas.nome, Tarefas.tiporelatorio, Tarefas.sequencia FROM Tarefas WHERE Tarefas.tipoarquivo = 2 '
                 stmt_with_params='SELECT Tarefas.nome, Tarefas.tiporelatorio, Tarefas.sequencia FROM Tarefas WHERE Tarefas.tipoarquivo = 2 '
                 data_at_exec=-1, current_exec_param=-1, put_data=0
                 currTuple=-1, current_col=-1, lobj_fd=-1
                 maxRows=0, rowset_size=1, keyset_size=0, cursor_type=0, scroll_concurrency=1
                 cursor_name='SQL_CUR01339008'
                 ----------------QResult Info -------------------------------
                 fields=1339910, backend_tuples=1904038, tupleField=26230840, conn=1333df8
                 fetch_count=0, num_total_rows=577, num_fields=3, cursor='(NULL)'
                 message='(NULL)', command='SELECT', notice='(NULL)'
                 status=100, inTuples=0
CONN ERROR: func=PGAPI_ColAttributes, desc='', errnum=0, errmsg='(NULL)'
            ------------------------------------------------------------
            henv=1333dc8, conn=1333df8, status=1, num_stmts=16
            sock=1332138, stmts=1332200, lobj_type=-999
            ---------------- Socket Info -------------------------------
            socket=484, reverse=0, errornumber=0, errormsg='(NULL)'
            buffer_in=20146472, buffer_out=20150576
            buffer_filled_in=1152, buffer_filled_out=0, buffer_read_in=1152
STATEMENT ERROR: func=PGAPI_ColAttributes, desc='', errnum=30, errmsg='this request may be for MS SQL Server'



Thanks 
Sorry For my poor english

Alessandro K. Pedroso
Porto Alegre - Brazil

Message-ID: <J5HRWS$92F1702F609BD236946BB40266FE0800@terra.com.br>
Permalink:  ../J5HRWS$92F1702F609BD236946BB40266FE0800@terra.com.br/
Also on:    postgresql.org/message-id/J5HRWS$92F1702F609BD236946BB40266FE0800@terra.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: akpedroso@terra.com.br
  Subject: Re: errnum=30, errmsg='this request may be for MS SQL Server'
  In-Reply-To: <J5HRWS$92F1702F609BD236946BB40266FE0800@terra.com.br>
  References: <J5HRWS$92F1702F609BD236946BB40266FE0800@terra.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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