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

From: Siarhei Siniak <serega(dot)belarus(at)gmail(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Cc: kretash(at)gmail(dot)com
Subject: [Issue] Can't recompile cube extension as PGXS, utils/float.h is not installed
Date: 2019-03-05 09:51:47
Message-ID: CAGdowOMQYNH7_MOh=Xy+OkotNg4np1=s2dCB+Sb-cPccg4+RvA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

[1] https://github.com/postgres/postgres/pull/38
[2] https://github.com/postgres/postgres/archive/REL_11_2.tar.gz

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Filip Rembiałkowski 2019-03-05 09:51:58 Re: dropdb --force
Previous Message Iwata, Aya 2019-03-05 09:48:03 RE: libpq debug log