Skip site navigation (1) Skip section navigation (2)

Magic Blocks

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Magic Blocks
Date: 2008-01-23 22:43:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-docs
I've just solved a problem with referencing magic blocks in plugins.

I can't see anything documented on this and I suspect others have seen
this before...

While compiling with PGXS, the OBJS line said

which then gave the error
ERROR:   .... missing magic block

By changing the OBJS line to this
	OBJS	= modulename.o

then no error was received and it all works.

TFM just says "list objects files in OBJS".

It's a minor docs issue, but if y'all agree then we should add a few
more lines of wisdom in this area.

  Simon Riggs


pgsql-docs by date

Next:From: Tom LaneDate: 2008-01-24 00:28:04
Subject: Re: Magic Blocks
Previous:From: Tom LaneDate: 2008-01-23 02:06:37
Subject: Re: PgAdmin instead of PgAccess

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group