Gavin Sherry <swm@linuxworld.com.au> writes:
> I am getting a NOTICE in logs about once a day:
> NOTICE: Rel s: TID 212/16: DeleteTransactionInProgress 0 - can't
> shrink relation
AFAICT, the only way to get that message is if you have a tuple with
good (committed) t_xmin, but t_xmax is 0, and yet HEAP_XMAX_INVALID
is not set. Bizarre. Does the tuple appear valid otherwise?
(Try "select * from s where ctid = '(212,16)'" to view it.)
> Moreover, this error is occuring in the same database I reported as
> saying 'Relation pg_shadow does not exist' the other day.
You've got something mighty weird going on there. Possibly time for
a dump/initdb/reload. Possibly time to run some memory & disk
diagnostics.
regards, tom lane