Re: Missing magic block

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing magic block
Дата
Msg-id 10115.1178851148@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Missing magic block  (Mario Munda <mario.munda@gmail.com>)
Ответы Re: Missing magic block  (Mario Munda <mario.munda@gmail.com>)
Список pgsql-general
Mario Munda <mario.munda@gmail.com> writes:
> I had to comment some includes out, or else i get some errors.

Perhaps you are compiling against an old or incomplete set of
Postgres header files?

> #ifdef PG_MODULE_MAGIC
> PG_MODULE_MAGIC;
> #endif

The problem with that coding is that it will silently not produce
a magic block if you are compiling against pre-8.2 Postgres headers.
If you remove the #ifdef protection does it still compile?

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: WAL file internals and why a 64 bit will not work on a 32 bit
Следующее
От: Ron Johnson
Дата:
Сообщение: Re: Views- Advantages and Disadvantages