PostgreSQL Source Code  git master
uuid.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pg_uuid_t


#define UUID_LEN   16
#define PG_RETURN_UUID_P(X)   return UUIDPGetDatum(X)


typedef struct pg_uuid_t pg_uuid_t


static Datum UUIDPGetDatum (const pg_uuid_t *X)
static pg_uuid_tDatumGetUUIDP (Datum X)

Macro Definition Documentation



Definition at line 40 of file uuid.h.


#define PG_RETURN_UUID_P (   X)    return UUIDPGetDatum(X)

Definition at line 32 of file uuid.h.


#define UUID_LEN   16

Definition at line 18 of file uuid.h.

Typedef Documentation

◆ pg_uuid_t

typedef struct pg_uuid_t pg_uuid_t

Function Documentation

◆ DatumGetUUIDP()

static pg_uuid_t* DatumGetUUIDP ( Datum  X)

Definition at line 35 of file uuid.h.

36 {
37  return (pg_uuid_t *) DatumGetPointer(X);
38 }
static Pointer DatumGetPointer(Datum X)
Definition: postgres.h:312
Definition: uuid.h:21

References DatumGetPointer().

Referenced by brin_minmax_multi_distance_uuid(), gbt_uuid_compress(), uuid_abbrev_convert(), and uuid_fast_cmp().

◆ UUIDPGetDatum()

static Datum UUIDPGetDatum ( const pg_uuid_t X)

Definition at line 27 of file uuid.h.

28 {
29  return PointerGetDatum(X);
30 }
static Datum PointerGetDatum(const void *X)
Definition: postgres.h:322

References PointerGetDatum().

Referenced by leftmostvalue_uuid().