BUG #2151: ODBC, Large Object, Visual Basic, GetChunk

From: "Kerim Simsek" <kerim(at)panix(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2151: ODBC, Large Object, Visual Basic, GetChunk
Date: 2006-01-05 18:44:44
Message-ID: 20060105184444.50A02F0A32@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2151
Logged by: Kerim Simsek
Email address: kerim(at)panix(dot)com
PostgreSQL version: 8.1 Windows
Operating system: Windows 2000 Pro
Description: ODBC, Large Object, Visual Basic, GetChunk
Details:

Large object Table:

CREATE TABLE tbl_documents
(
iddocument int4 NOT NULL,
documentsize int4 NOT NULL DEFAULT 0,
document lo
)

Visual Basic Code:

flen = rs!documentsize
chunk() = rs!Document.GetChunk(flen)

Returns Error:

Error Number: 3219
Description: Operation is not allowed in this context.

----------
NOTES:
Client OS: Windows 2000
Postrgresql Server: 8.1 on Windows
Interface: Visual Basic 6.0
ODBC: 8.01.01.02 (ANSI)
NO ERRORS ON THE PRODUCTION VERSION:
Client OS: Windows 2000
Postrgresql Server: 7.3.4 on Fedora Core
Interface: Visual Basic 6.0
ODBC: 8.01.01.02 (ANSI)

Browse pgsql-bugs by date

  From Date Subject
Next Message Andreas Kretschmer 2006-01-05 18:47:58 BUG #2152: psql crash reproducible
Previous Message Aaron Swartz 2006-01-05 18:26:27 BUG #2150: PL/Python function delcared STABLE gets run repeatedly