Re: Missing magic block

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mario Munda <mario(dot)munda(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Missing magic block
Date: 2007-05-11 02:39:08
Message-ID: 10115.1178851148@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Mario Munda <mario(dot)munda(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-05-11 02:49:38 Re: Views- Advantages and Disadvantages
Previous Message Tom Lane 2007-05-11 02:32:21 Re: WAL file internals and why a 64 bit will not work on a 32 bit