/usr/include/postgres-xc/server/utils/uuid.h is in postgres-xc-server-dev 1.1-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | /*-------------------------------------------------------------------------
*
* uuid.h
* Header file for the "uuid" ADT. In C, we use the name pg_uuid_t,
* to avoid conflicts with any uuid_t type that might be defined by
* the system headers.
*
* Copyright (c) 2007-2012, PostgreSQL Global Development Group
*
* src/include/utils/uuid.h
*
*-------------------------------------------------------------------------
*/
#ifndef UUID_H
#define UUID_H
/* guid size in bytes */
#define UUID_LEN 16
/* opaque struct; defined in uuid.c */
typedef struct pg_uuid_t pg_uuid_t;
/* fmgr interface macros */
#define UUIDPGetDatum(X) PointerGetDatum(X)
#define PG_RETURN_UUID_P(X) return UUIDPGetDatum(X)
#define DatumGetUUIDP(X) ((pg_uuid_t *) DatumGetPointer(X))
#define PG_GETARG_UUID_P(X) DatumGetUUIDP(PG_GETARG_DATUM(X))
#endif /* UUID_H */
|