mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
provided by Andrew.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* $PostgreSQL: pgsql/contrib/cube/cubedata.h,v 1.9 2007/03/07 21:21:12 teodor Exp $ */
|
||||
/* $PostgreSQL: pgsql/contrib/cube/cubedata.h,v 1.10 2009/06/11 14:48:50 momjian Exp $ */
|
||||
|
||||
#define CUBE_MAX_DIM (100)
|
||||
|
||||
@ -7,7 +7,7 @@ typedef struct NDBOX
|
||||
int32 vl_len_; /* varlena header (do not touch directly!) */
|
||||
unsigned int dim;
|
||||
double x[1];
|
||||
} NDBOX;
|
||||
} NDBOX;
|
||||
|
||||
#define DatumGetNDBOX(x) ((NDBOX*)DatumGetPointer(x))
|
||||
#define PG_GETARG_NDBOX(x) DatumGetNDBOX( PG_DETOAST_DATUM(PG_GETARG_DATUM(x)) )
|
||||
|
Reference in New Issue
Block a user