Re: PostgreSQL ODBC driver: recordset not updatable

From: Tom Samplonius <tom(at)sdf(dot)com>
To: Neil Davis <npdavis(at)hotmail(dot)com>
Cc: Evelio Martinez <evelio(dot)martinez(at)testanet(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: PostgreSQL ODBC driver: recordset not updatable
Date: 2000-12-05 04:33:37
Message-ID: Pine.BSF.4.05.10012042029470.11928-100000@misery.sdf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


On Mon, 4 Dec 2000, Neil Davis wrote:

> Evelio,
> ODBC drivers on Micro$oft windows, typically do not support update, delete
> or insert (db modification) through them when used against non-microsoft
> databases. Part of the price you pay for ODBC. You will have to write server
> side functions and execute them through the odbc connections like:

I don't know where you've been, but every ODBC driver I've used does
that.

Now, some go further and offer updatable resultsets too. The mysql ODBC
driver does not support updatable resultsets, because the MySQL server
does not support cursors. But again, ODBC supports this if the driver
vendor chooses to code the proper support. The full ODBC API is
published. BTW, The PostgreSQL ODBC driver supports updatable resultsets
too.

...
> > I have installed the postgresql ODBC driver (6.5) under W98 and I am
> > trying to access the PostgreSQL 7.0.2 database on Linux
> > but I cannot edit or modify the data from MS Access 2000.
> >
> > The Readonly check box is not marked, so ?

There are two ReadOnly check boxes. Make sure both are off. By default
both are enabled (that is a very silly default, btw).

Also, you will need to have proper permissions to the database. See
GRANT and REVOKE sections in manual.

Tom

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Evelio Martinez 2000-12-05 09:23:49 Re: PostgreSQL ODBC driver: recordset not updatable
Previous Message npdavis 2000-12-05 03:02:10 Re: PostgreSQL ODBC driver: recordset not updatable