Unknown attribute 'relexpires' in postgres.pike (PostgreSQL v7.x)
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1769
Reported by Karl Stevens, Maxim Internet Services karl@maxim.ca
list_fields() in postgres.pike fails with "Error in frontend/backend communications". This error is caused by the lookup of an attribute named "relexpires" which does not exist (perhaps it got removed in v7?)
A dump of pg_class shows that it does not exist:
Table "pg_class"
Attribute | Type | Modifier --------------+-----------+---------- relname | name | reltype | oid | relowner | integer | relam | oid | relpages | integer | reltuples | integer | rellongrelid | oid | relhasindex | boolean | relisshared | boolean | relkind | char | relnatts | smallint | relchecks | smallint | reltriggers | smallint | relukeys | smallint | relfkeys | smallint | relrefs | smallint | relhaspkey | boolean | relhasrules | boolean | relacl | aclitem[] | Indices: pg_class_oid_index, pg_class_relname_index