On Fri, Aug 19, 2022 at 11:02 AM Julien Rouhaud <rjuju...@gmail.com> wrote:
> Hi, > > Please don't top-post on this list (and please trim quoted messages too). > > > > No, this function is comparing pg_class.relnatts to rows fetched querying > pg_attribute for the given relation. > > any concern if I update pg_class.natts and or pg_attribute to let it match? > What it means is that you likely have data corruption. You could try to > reindex pg_attribute and see if that fixes that specific problems, but > even if > it does you will have to investigate how data got corrupted, fix that root > problem, and then try to check for other corrupted data or restore from a > sane > backup. > yes we have a problem with vm; suddenly restart without reason.... I've done recovery by creating empty files under pg_xact , cluster can bring up then a file under pg_multixact due to error on a table. I've done reinding pg_class, pg_attribute, pg_constraint without luck. -- regards ujang jaenudin | DBA Consultant (Freelancer) http://ora62.wordpress.com http://id.linkedin.com/pub/ujang-jaenudin/12/64/bab [image: width=] <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>