I've tried using the Postgres module a bit lately, and now I've stumbled across an odd behaviour: db->list_fields(table_name) throws an error "Error in frontend-backend communications.". This seems to be caused by the list_fields() function assuming that the "pg_class" table always has a "relexpires" columns, which is not the case in the Postgres database I'm connecting to. Should there always be a "relexpires" column in the "pg_class" table in a Postgres database (that is, is the one I'm connecting to buggy?), or is Pike just making in incorrect assumption?
(Sorry if this resolved already)
Modern PostgreSQL:s don't have the relexpires field. I only get hits on Postgres95 when I search for it. Perhaps it was dropped because it wasn't used:
(From Postgres95 docs)
The relexpires entry is the amount of history that should be saved for this relation. This is not used in the current system.
/ Björn Wingman
Previous text:
"Leif Stensson, Lysator @ Pike developers forum" 10353@lyskom.lysator.liu.se writes:
Ah, thanks for the information. Fix committed into Pike 7.5 now.
[...]
Ah, and here I was thinking to make a triumphant (?) reentry with a patch :)
Hello everyone.
pike-devel@lists.lysator.liu.se