Re: Visualize GiST Index

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Hunter <ahunter(at)ucalgary(dot)ca>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Visualize GiST Index
Date: 2010-09-23 20:05:32
Message-ID: 1982.1285272332@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andrew Hunter <ahunter(at)ucalgary(dot)ca> writes:
> Here is the content of the gevel Makefile

> subdir = contrib/gevel
> top_builddir = ../..
> include $(top_builddir)/src/Makefile.global

> MODULES = gevel
> DATA_built = gevel.sql
> DOCS = README.gevel
> REGRESS = gevel

> include $(top_srcdir)/contrib/contrib-global.mk

Oh ... well, there's your problem: it's not even *trying* to use PGXS.

Replace it with this:

MODULES = gevel
DATA_built = gevel.sql
DOCS = README.gevel
REGRESS = gevel

ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/gevel
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif

... and file a bug with the gevel authors, whoever they are,
telling them to fix that upstream.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-09-23 20:17:41 Re: pg 8.4 crashing.
Previous Message Jeff Davis 2010-09-23 19:40:37 Re: Index on points