Search Postgresql Archives

Re: Columns defined not matching pg_attibute

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

 



Justin Arnold <jharnold81@xxxxxxxxx> writes:
> Hey guys, having a bizarre issue I have not seen before and couldn't locate
> anything via Google (though I might not be choosing the correct phrasing).

Apparently, those last couple of rows in pg_attribute are visible to a
regular MVCC scan but not to SnapshotNow scans.  This suggests
transaction wraparound or maybe broken hint-bit settings.  Try doing a
VACUUM on pg_attribute, then VACUUM FREEZE pg_attribute.  It's hard to
predict in advance of the experiment whether you'll end up with the rows
visible or not-visible, so you might lose the data in those columns ---
but apparently you're not using them anyway, or you'd be seeing more
stuff fall over than just pg_dump.

If you need to be sure that the rows end up visible, another line of
attack would be to do a manual no-op UPDATE on just those rows.

> We are running postgres 8.3.4 on 64 bit Red Hat kernel

As noted elsewhere, this is an old version with many known bugs.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux