X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 62471310815 for ; Mon, 30 Jun 2003 13:58:06 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 86037-09 for ; Mon, 30 Jun 2003 10:57:56 -0300 (ADT) Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by svr1.postgresql.org (Postfix) with SMTP id 3DC10310840 for ; Mon, 30 Jun 2003 10:57:55 -0300 (ADT) Received: (qmail 19697 invoked from network); 30 Jun 2003 13:57:53 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 30 Jun 2003 13:57:53 -0000 Received: from unknown (HELO PbgX) (219.61.40.61) by sd.tpf.co.jp with SMTP; 30 Jun 2003 13:57:53 -0000 From: "Hiroshi Inoue" To: =?UTF-8?Q?'Armando_Ba=EE=83=B1elos'?= Cc: Subject: Re: Hi! Date: Mon, 30 Jun 2003 22:57:45 +0900 Message-ID: <006e01c33f0f$96eb05b0$3d283ddb@PbgX> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <001201c339d6$fe3051f0$0100a8c0@armandopc> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Archive-Number: 200306/86 X-Sequence-Number: 3060 -----Original Message----- > From: Armando Ba=EE=83=B1elos > I'm using your odbc driver and it seems to be ok in almost everything...= the only thing I see wrongly is > when i=C2=B4m not using the Microsoft ODBC Engine... when I=C2=B4m inser= ting or editing a recordset I always get > the same error in the exception but the error en the server console is r= igth... I=C2=B4m using VC 6.0 and the > MFC ODBC Classes... a workaround to this is to use transaction to insert= but i dislike that workaraound... Are you checking the "Updatable cursors" option ? What kind of recordset are you opening ? > Other funcionality is about the bytea and the binary objects in VC... Th= e CByteArray only gives me chance > of upload/download 254 bytes unless I change the max varchar or set the = unknows as LongVarChar...=20 > I think you should give the bytea a representation as lo and don't limit= as an unknown data type...=20 Please try to check the "bytea as LongVarBinary" DSN option. regards, Hiroshi Inoue