errnum=30, errmsg='this request may be for MS SQL Server'

From: "akpedroso" <akpedroso(at)terra(dot)com(dot)br>
To: "pgsql-odbc" <pgsql-odbc(at)postgresql(dot)org>
Subject: errnum=30, errmsg='this request may be for MS SQL Server'
Date: 2006-09-12 18:12:28
Message-ID: J5HRWS$92F1702F609BD236946BB40266FE0800@terra.com.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Browse pgsql-odbc by date

  From Date Subject
Next Message noreply 2006-09-13 02:08:17 [ psqlodbc-Bugs-1000731 ] Write conflicts with multiple update statements in update rule on view
Previous Message Jarmo Saksi 2006-09-12 05:29:29 CA Visual Objects together with PostGreSQL