| От | Tom Lane |
|---|---|
| Тема | Re: pg_hba.conf is corrupt |
| Дата | |
| Msg-id | 23736.1535150926@sss.pgh.pa.us обсуждение |
| Ответ на | pg_hba.conf is corrupt (Ron <ronljohnsonjr@gmail.com>) |
| Список | pgsql-admin |
Ron <ronljohnsonjr@gmail.com> writes:
> completely overwritten by binary data. Been this way for 9 months, and we
> retain backups for 6 months.
> Is there any way to query postgres to regenerate this data?
Nope, sorry. PG doesn't ever write that file, and it doesn't keep spare
copies for you.
If you haven't shut down the postmaster, it's possible that you could
gdb into the postmaster (blocking connection attempts :-() and dig around
in the postmaster's data structures to reconstruct the info. But that's
probably impractical unless you have debug symbols for the server, and
even with that it'd be pretty tedious and easy to mess up.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера