[gnome-db] OID Error when running PostgreSQL 7.2 Under Gnome-DB

Since PostgreSQL 7.2 no longer requires oid's be created on tables, a SQL
Error occurs executing a query like:

select a.oid from pg_attribute a;

ERROR: No such attribute or function 'oid'

How do we get around this since many of the queries in the PostgreSQL
provider requires the oid's when joining various Postgres tables/views?

The error was discovered by Akira Tagoh.

For more information about Gnome-DB, see http://www.gnome-db.org/
Gnome-DB provides an ADO-like data access object model for Linux and Unix.
Gnome-DB is used in applications like Gnumeric (spreadsheet) under Gnome
(GUI desktop.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]