X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C8DF1D1CCDE for ; Fri, 30 Jan 2004 00:59:34 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 92792-10 for ; Thu, 29 Jan 2004 20:59:06 -0400 (AST) Received: from 4maxi.cz (unknown [81.95.98.59]) by svr1.postgresql.org (Postfix) with ESMTP id 664EFD1B4EF for ; Thu, 29 Jan 2004 20:59:01 -0400 (AST) X-AuthUser: kacerr@zlutazimnice.cz Received: from gamedonald (62.177.120.89) by ch-60-1.coolhousing.cz with [XMail 1.10 (Win32/Ix86) ESMTP Server] id for from ; Fri, 30 Jan 2004 02:04:24 +0100 From: "Jan Novak" To: Subject: using pgsql-odbc with ASP and ADO Date: Fri, 30 Jan 2004 02:01:08 +0100 Message-ID: <001d01c3e6cc$8bf56d20$0100a8c0@gamedonald> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001E_01C3E6D4.EDB9D520" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.6 tagged_above=0.0 required=5.0 tests=HTML_40_50, WEIRD_QUOTING X-Spam-Level: ** X-Archive-Number: 200401/121 X-Sequence-Number: 3750 This is a multi-part message in MIME format. ------=_NextPart_000_001E_01C3E6D4.EDB9D520 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi,=20 i'm using pgsql-odbc driver for connection to my postgres sql server and everything works fine. But today i made some application with text areas with large content (>32kB) and i'm in trouble .... =20 If I just fetch data from database set objRS =3D Connection.execute "SELECT * FROM ""table"" where id=3D23" and use them : response.write objRS("largeConent") i get displayed only something like 8kB of data. =20 When i tried using objRS("fieldName").getChunk(objRS("fieldName").actualSize) i got an error message : ADODB.Field error '800a0c93', Operation is not allowed in this context. .actualSize contains correct value and i even tried using .getchunk(100) with same result every time .... =20 =20 Does anyone seen this before ? It's quite important for me, cause i'd like to use postgres sql server as backend server for many other applications, but many of them will be IIS5+ with vbScript, so if i'm not able to use large data i have to try something else :-(, and i don't want to ..... =20 Thanks for any hint or advice,=20 =20 Bye, Honza Novak ------=_NextPart_000_001E_01C3E6D4.EDB9D520 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Message
Hi,=20
i'm using= pgsql-odbc=20 driver for connection to my postgres sql server and everything works=20 fine.
But today= i made=20 some application with text areas with large content (>32kB) and i'm in= =20 trouble ....
 
If I just= fetch data=20 from database
 &nb= sp; =20 set objRS =3D Connection.execute "SELECT * FROM ""table"" where=20 id=3D23"
and use t= hem :=20 response.write objRS("largeConent")
i get dis= played only=20 something like 8kB of data.
 
When i tr= ied using=20 objRS("fieldName").getChunk(objRS("fieldName").actualSize) i got an error= =20 message : ADODB.Field error '800a0c93', Operation is not allowed in= this=20 context.
.actualSi= ze contains=20 correct value and i even tried using .getchunk(100) with same result every = time=20 ....
 
 
Does anyo= ne seen=20 this before ? It's quite important for me, cause i'd like to use postgres s= ql=20 server as backend server for many other applications, but many of them will= be=20 IIS5+ with vbScript, so if i'm not able to use large data i have to try=20 something else :-(, and i don't want to .....
 
Thanks fo= r any hint=20 or advice,
 
Bye, Honz= a=20 Novak
------=_NextPart_000_001E_01C3E6D4.EDB9D520--