Re: Ideas to deal with table corruption

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Luis Marin <luismarinaray(at)gmail(dot)com>, pgsql-admin(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: Ideas to deal with table corruption
Date: 2018-01-06 17:39:59
Message-ID: e16e848d-987e-7716-efc4-30e56369c1a0@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

On 01/06/2018 02:11 AM, Luis Marin wrote:
>
> Dear community,
>
> I am looking for ideas, to help me, check what is happening with a
> possible  table corruption, I  have some FK that works ok, but some stay
> in the state waiting forever, however selecting the same table works fine.

From further comments below I think you are talking about creating a FK
on a table, is that correct?

If not, what are you trying to do?

The table schema and code showing your process would be helpful.

And yes tailing the Postgres log file during the above could be helpful.

>
> Since, I am a newbie, in PostgreSQL, what should be my firsts steps, in
> order to have an idea how to fix this problem.
>
> I am thinking in watching my postgresql log error file during the
> requests for creating our FK,
> What do you suggest me
>
> Centos 7.2
> Postgresql 9.4
>
> Thanks

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rui DeSousa 2018-01-06 18:16:47 Re: Ideas to deal with table corruption
Previous Message Luis Marin 2018-01-06 10:11:57 Ideas to deal with table corruption

Browse pgsql-general by date

  From Date Subject
Next Message Rui DeSousa 2018-01-06 18:16:47 Re: Ideas to deal with table corruption
Previous Message Marco Nenciarini 2018-01-06 17:21:31 Re: [PATCH] Logical decoding of TRUNCATE