Re: Unable to connect DB...?

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Unable to connect DB...?
Date: 2019-07-16 14:10:39
Message-ID: 52b61123-aa89-bf3b-6d0f-d6e89f14d9d2@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Once, our developers had the bright idea of *deleting files* to quickly
purge data.  Naturally, it corrupted everything, and points to the danger of
developers having the postgres password...

On 7/16/19 7:07 AM, Holger Jakobs wrote:
>
> Since your message says that the file is completely missing, someone must
> have deleted the file. There is nothing you can do except restoring from a
> backup.
>
> Making sure postgres owns the files and the access rights are restricted
> to rw------- prevents this.
>
> Even a file system error won't lead to this situation, as typically the
> file remains with length 0.
>
>

--
Angular momentum makes the world go 'round.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Holger Jakobs 2019-07-16 14:13:44 Re: Unable to connect DB...?
Previous Message Andrea Moretto 2019-07-16 13:14:56 WAL replay stuck in hot standby when performing the backup