Re: C-Functions using SPI - Missing Magic Block

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Saitenheini(at)web(dot)de
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: C-Functions using SPI - Missing Magic Block
Date: 2010-07-03 01:35:56
Message-ID: 4C2E93FC.8040402@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/07/10 21:26, Saitenheini(at)web(dot)de wrote:

> #ifdef PG_MODULE_MAGIC
> PG_MODULE_MAGIC;
> #endif

Why the conditional compilation of PG_MODULE_MAGIC?

> ERROR: incompatible library "G:/PostgreSQL/8.3/lib/pgExampleSPI.dll":
> missing magic block
> TIP: Extension libraries are required to use the PG_MODULE_MAGIC macro.

--
Craig Ringer

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2010-07-03 01:41:19 Re: ERROR: canceling statement due to statement timeout
Previous Message Howard Rogers 2010-07-03 00:44:26 Re: DBI::Oracle problems