[Issue] Can't recompile cube extension as PGXS, utils/float.h is not installed - Mailing list pgsql-hackers

From Siarhei Siniak
Subject [Issue] Can't recompile cube extension as PGXS, utils/float.h is not installed
Date
Msg-id CAGdowOMQYNH7_MOh=Xy+OkotNg4np1=s2dCB+Sb-cPccg4+RvA@mail.gmail.com
Whole thread Raw
Responses Re: [Issue] Can't recompile cube extension as PGXS, utils/float.h is not installed
List pgsql-hackers
1. Currently, cube extension has CUBE_MAX_DIM set as 100.
A recent github issue. [1]
2. To compile a custom version of the extension off the tree requires:
```
   make -C contrib/custom_cube USE_PGXS=1
```
3. But utils/float.h required by cube.c and cubeparse.y is not installed.
It's not present in the latest release file [2],
nor being installed when running
make install when compiling from git.
4. Current workaround is to use
```
#include "../../src/include/utils/float.h"
```
in cube.c and cubeparse.y when compiling in git tree.


pgsql-hackers by date:

Previous
From: "Iwata, Aya"
Date:
Subject: RE: libpq debug log
Next
From: Filip Rembiałkowski
Date:
Subject: Re: dropdb --force