Re: Block corruption Error.

Поиск
Список
Период
Сортировка
От Jeff Janes
Тема Re: Block corruption Error.
Дата
Msg-id CAMkU=1xqJUG3k9rBY_GfTMt5aw58o7QY5qW+n8D=zen26fwjSg@mail.gmail.com
обсуждение исходный текст
Ответ на Block corruption Error.  (vinod kale <vinod16895@gmail.com>)
Ответы Re: Block corruption Error.  ("MichaelDBA@sqlexec.com" <michaeldba@sqlexec.com>)
Список pgsql-admin
On Tue, Jun 2, 2020 at 11:11 AM vinod kale <vinod16895@gmail.com> wrote:
Hello Team,

We have generated one scenario for learning purpose regarding block corruption. 
We have manually corrupt the one table file at disk level and after queried to that table we got below attached error.
So could you please help me out in below scenario?
What is the best method to resolve below error. ?

I don't understand what you are asking.  You intentionally created corruption, so now you have corruption.  Restore from a backup plus archived WAL files, or promote your standby, or do whatever your recovery plan dictates.

Of course you could just edit the file and reverse whatever it is you did (while the db is shutdown), but that would not constitute a  plan.

Cheers,

Jeff

В списке pgsql-admin по дате отправления:

Предыдущее
От: Mat Hanson
Дата:
Сообщение: LDAPS Connection Issue - Unable to open socket
Следующее
От: "MichaelDBA@sqlexec.com"
Дата:
Сообщение: Re: Block corruption Error.