Re: Cannot start the postgres service

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Cannot start the postgres service
Дата
Msg-id 4AD5608E.4070807@postnewspapers.com.au
обсуждение исходный текст
Ответ на Re: Cannot start the postgres service  (Mitesh51 <mit_bca1@yahoo.com>)
Ответы Re: Cannot start the postgres service  (Scott Marlowe <scott.marlowe@gmail.com>)
Re: Cannot start the postgres service  (Mitesh51 <mit_bca1@yahoo.com>)
Список pgsql-general
On 13/10/2009 2:59 PM, Mitesh51 wrote:
>
> Yeah...
>
> My query is...Is it the reason y postgres stops working?? (Moving files from
> pg_xlog)

pg_xlog contains transaction logs. These aren't "log files" in the sense
of text logs designed for the administrator to use. They're part of the
critical function of the database and they're what permits Pg to support
transactional rollback, safe crash recovery, point-in-time recovery, and
lots more.

Deleting them or moving them is just as bad for your database as
deleting or moving the files that store tables. It's a really, really
bad idea.

A better question might by "why on earth are you messing about with the
data directory when you don't understand what it does and how it works?".

--
Craig Ringer

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

Предыдущее
От: Tim Landscheidt
Дата:
Сообщение: Re: Current state of XML capabilities in PostgreSQL?
Следующее
От: Gaini Rajeshwar
Дата:
Сообщение: How to create tsvector_update_trigger on Non-character type data