Re: Visualize GiST Index - Mailing list pgsql-general

From Tom Lane
Subject Re: Visualize GiST Index
Date
Msg-id 1982.1285272332@sss.pgh.pa.us
Whole thread Raw
In response to Re: Visualize GiST Index  (Andrew Hunter <ahunter@ucalgary.ca>)
Responses Re: Visualize GiST Index  (Andrew Hunter <ahunter@ucalgary.ca>)
Re: Visualize GiST Index  (Oleg Bartunov <oleg@sai.msu.su>)
List pgsql-general
Andrew Hunter <ahunter@ucalgary.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

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Index on points
Next
From: Tom Lane
Date:
Subject: Re: pg 8.4 crashing.