Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 15 lines (11 sloc) 0.373 kb
9f2e211 Magnus Hagander Remove cvs keywords from all files.
mhagander authored
1 /* contrib/cube/cubedata.h */
f3d99d1 Bruce Momjian Add CVS tag lines to files that were lacking them.
bmomjian authored
2
e57ab04 Bruce Momjian This is a comprehensive set of diffs (versus current CVS) that replaces ...
bmomjian authored
3 #define CUBE_MAX_DIM (100)
234a02b Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).
Tom Lane authored
4
9e15526 Bruce Momjian pgindent run. Make it all clean.
bmomjian authored
5 typedef struct NDBOX
6 {
234a02b Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len).
Tom Lane authored
7 int32 vl_len_; /* varlena header (do not touch directly!) */
9e15526 Bruce Momjian pgindent run. Make it all clean.
bmomjian authored
8 unsigned int dim;
32784cd Bruce Momjian The changes I have made are described in CHANGES. This was based on
bmomjian authored
9 double x[1];
d747140 Bruce Momjian 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
bmomjian authored
10 } NDBOX;
2afb01d Teodor Sigaev Athough cube is a varlena type, nowhere was a detoasting of cube's value...
feodor authored
11
12 #define DatumGetNDBOX(x) ((NDBOX*)DatumGetPointer(x))
13 #define PG_GETARG_NDBOX(x) DatumGetNDBOX( PG_DETOAST_DATUM(PG_GETARG_DATUM(x)) )
14 #define PG_RETURN_NDBOX(x) PG_RETURN_POINTER(x)
Something went wrong with that request. Please try again.