[postgis-users] postgis support for 7.4 betas
Paul Ramsey
pramsey at refractions.net
Thu Sep 25 13:31:10 PDT 2003
It's not the same problem. The cost estimatino is done differently in
7.4 than 7.3.
P.
Mike Leahy wrote:
> If it's the same problem I had, then open cost.h in the PostgreSQL source,
> and change the following line:
>
> extern double cpu_index_tuple_cost;
>
> to:
>
> extern DLLIMPORT double cpu_index_tuple_cost;
>
> Then run 'make clean' before you re-make PostgreSQL/PostGIS.
>
> Mike
>
> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Jeff
> Hoffmann
> Sent: September 25, 2003 4:09 PM
> To: postgis-users at postgis.refractions.net
> Subject: [postgis-users] postgis support for 7.4 betas
>
> Is there any version of PostGIS that supports PostgreSQL 7.4? I tried
> to compile version 0.7.5 against beta3, but it gave me the following
> error compiling postgis_estimate.c:
>
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -fpic -g
> -I/usr/local/include -I. -I../../src/include -DFRONTEND
> -DSYSCONFDIR='"/usr/local/pgsql/etc"' -DUSE_PROJ -DUSE_VERSION=73
> -DUSE_STATS -c -o postgis_estimate.o postgis_estimate.c
> postgis_estimate.c: In function `get_restriction_var':
> postgis_estimate.c:543: warning: assignment from incompatible pointer type
> postgis_estimate.c:545: warning: assignment from incompatible pointer type
> postgis_estimate.c: In function `genericcostestimate2':
> postgis_estimate.c:752: structure has no member named `elem'
> postgis_estimate.c:752: too few arguments to function
> `clauselist_selectivity'
> postgis_estimate.c:810: warning: passing arg 1 of `cost_qual_eval' from
> incompatible pointer type
> postgis_estimate.c:810: too few arguments to function `cost_qual_eval'
> postgis_estimate.c:810: void value not ignored as it ought to be
> make: *** [postgis_estimate.o] Error 1
>
> I would assume this means some of the functions changed from 7.3 to 7.4.
>
>
--
__
/
| Paul Ramsey
| Refractions Research
| Email: pramsey at refractions.net
| Phone: (250) 885-0632
\_
More information about the postgis-users
mailing list