Maybe I spoke too soon ;P. Everything was working fine yesterday, but today PG was failing with:
Warning: pg_query() [function.pg-query]: Query failed: ERROR: catalog is missing 1 attribute(s) for relid 456086 . in /var/www/html/lib.php on line 200
VACUUM gave the same error, but VACUUM FULL appears to have fixed whatever the problem was. Only one of the PG databases was giving this error. Any idea what the problem was/is? I'm using PG 7.3.2 and run the vacuumdb script nightly.