Re: Unlinked files in PGDATA/base following unclean shutdown

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Unlinked files in PGDATA/base following unclean shutdown
Дата
Msg-id 20080811204434.GD8416@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Unlinked files in PGDATA/base following unclean shutdown  (Jack Orenstein <jack.orenstein@hds.com>)
Список pgsql-general
Jack Orenstein wrote:
> Tom Lane wrote:

>> All segments before the last one should be exactly 1GB, but the last
>> one can be anything up to that.  Consult the comments in md.c for
>> more details.  (I think 7.4 may treat some corner cases differently
>> from 8.3 anyway.)
>
> Just to be clear, you mean 2**30 (1,073,741,824) bytes, not 10**9?

It's RELSEG_SIZE * BLCKSZ, where

#define RELSEG_SIZE 131072
#define BLCKSZ 8192

(both from pg_config.h)

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: "Rob Richardson"
Дата:
Сообщение: Can I search for text in a function?
Следующее
От: Christophe
Дата:
Сообщение: Running a PL/pgSQL function