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 0A872CC53A for ; Thu, 10 Jul 2003 09:41:25 +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 87177-01 for ; Thu, 10 Jul 2003 06:40:52 -0300 (ADT) Received: from albert.auore.net (197.Red-80-24-20.pooles.rima-tde.net [80.24.20.197]) by svr1.postgresql.org (Postfix) with SMTP id 14B13CC218 for ; Thu, 10 Jul 2003 05:23:33 -0300 (ADT) Received: (qmail 948 invoked by uid 1000); 10 Jul 2003 08:23:44 -0000 From: Albert Cervera Areny Reply-To: albertca@jazzfree.com To: Richard Huxton , pgsql-odbc@postgresql.org Subject: Re: INSERT but no UPDATE or DELETE from windows Date: Thu, 10 Jul 2003 10:23:39 +0200 User-Agent: KMail/1.5.9 References: <200307091525.39220.albertca@jazzfree.com> <200307092139.36703.dev@archonet.com> In-Reply-To: <200307092139.36703.dev@archonet.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Message-Id: <200307101023.44294.albertca@jazzfree.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/25 X-Sequence-Number: 3086 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 A Dimecres 09 Juliol 2003 22:39, Richard Huxton va escriure: > On Wednesday 09 Jul 2003 2:25 pm, Albert Cervera Areny wrote: > > Hi, > > I have Postgres 7.3.3 and ODBC driver 7.03.0100 and as the subject > > says, I can INSERT but can't UPDATE nor DELETE. I can also create new > > tables. The user has permision to do this as the psql \dp show the > > correct privileges and lets me UPDATE without problems using the same > > user as the ODBC driver. > > > > I open the database as Dynaset (from VB and Visdata) but when I try to > > UPDATE or .Edit a record it says something like 'should use an updatable > > query' (translated from spanish). > > > > The odbc connection is not, of course, read only. > > Can you give us the options ticked/not in the odbc driver settings and the > options used when creating the cursor? Now, I've been able to us UPDATE using the dbSQLPassthrough option paramete= r,=20 but can't update using a recordset. With Openrecordset, the dbSQLPassthroug= h=20 parameter is only valid for dbOpensnapshot and I can't update using any of= =20 dbOpenDynaset, dbOpenDynamic, dbOpenTable either. Any suggestions? Thanks for your help. PS: I use the simple PostgreSQL driver, not the UTF beta one. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/DSKLTK7ZP4pDOHcRAgMcAJ9uWpzmDwafNfYPX4gUI4x/S7rJTACgjXnK 7jBroXNhK0bSswfQkK62EW4=3D =3D7iCE -----END PGP SIGNATURE-----