Re: pgxs: build infrastructure for extensions v4

From: "Mark Cave-Ayland" <m(dot)cave-ayland(at)webbased(dot)co(dot)uk>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: "'Peter Eisentraut'" <peter_e(at)gmx(dot)net>, "'Fabien COELHO'" <coelho(at)cri(dot)ensmp(dot)fr>
Subject: Re: pgxs: build infrastructure for extensions v4
Date: 2004-08-04 10:21:43
Message-ID: 8F4A22E017460A458DB7BBAB65CA6AE512D307@openmanage
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter/Fabien,

Just to say thank you for all your hard work in getting pgxs working in
CVS. I've successfully managed to get a contrib module to build outside
of the source tree, which will help simplify a lot of things.

I have one question though: the comments in pgxs.mk suggested that I
needed to do the following to include the pgxs.mk:

# Use the following layout for your Makefile:
#
# [variable assignments, see below]
# [custom rules, rarely necessary]
#
# PGXS := $(shell pg_config --pgxs)
# include $(PGXS)

However, on my CVS version from about an hour ago, I needed to change
this to:

PGXS := $(shell pg_config --pgxs)/src/makefiles/pgxs.mk
include $(PGXS)

This is because I only get the pgxs directory returned by "pgconfig
--pgxs" as opposed to the path to the pgxs.mk file itself - is that the
correct thing to do (i.e. the comment is wrong?) or is "pgconfig --pgxs"
returning the wrong thing?

Kind regards,

Mark.

---

Mark Cave-Ayland
Webbased Ltd.
Tamar Science Park
Derriford
Plymouth
PL6 8BX
England

Tel: +44 (0)1752 764445
Fax: +44 (0)1752 764446

This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or distribute
its contents to any other person.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-04 11:53:14 Re: Open items
Previous Message Bernd Helmle 2004-08-04 09:21:59 Re: Updateable Views?