Eneboo - Documentación para desarrolladores
|
#include "fmgr.h"
Ir al código fuente de este archivo.
Clases | |
struct | VarBit |
'defines' | |
#define | DatumGetVarBitP(X) ((VarBit *) PG_DETOAST_DATUM(X)) |
#define | DatumGetVarBitPCopy(X) ((VarBit *) PG_DETOAST_DATUM_COPY(X)) |
#define | VarBitPGetDatum(X) PointerGetDatum(X) |
#define | PG_GETARG_VARBIT_P(n) DatumGetVarBitP(PG_GETARG_DATUM(n)) |
#define | PG_GETARG_VARBIT_P_COPY(n) DatumGetVarBitPCopy(PG_GETARG_DATUM(n)) |
#define | PG_RETURN_VARBIT_P(x) return VarBitPGetDatum(x) |
#define | VARBITHDRSZ sizeof(int32) |
#define | VARBITLEN(PTR) (((VarBit *) (PTR))->bit_len) |
#define | VARBITS(PTR) (((VarBit *) (PTR))->bit_dat) |
#define | VARBITBYTES(PTR) (VARSIZE(PTR) - VARHDRSZ - VARBITHDRSZ) |
#define | VARBITPAD(PTR) (VARBITBYTES(PTR)*BITS_PER_BYTE - VARBITLEN(PTR)) |
#define | VARBITTOTALLEN(BITLEN) |
#define | VARBITEND(PTR) (((bits8 *) (PTR)) + VARSIZE(PTR)) |
#define | BITMASK 0xFF |
#define | BITHIGH 0x80 |
Funciones | |
Datum | bit_in (PG_FUNCTION_ARGS) |
Datum | bit_out (PG_FUNCTION_ARGS) |
Datum | bit_recv (PG_FUNCTION_ARGS) |
Datum | bit_send (PG_FUNCTION_ARGS) |
Datum | varbit_in (PG_FUNCTION_ARGS) |
Datum | varbit_out (PG_FUNCTION_ARGS) |
Datum | varbit_recv (PG_FUNCTION_ARGS) |
Datum | varbit_send (PG_FUNCTION_ARGS) |
Datum | bit (PG_FUNCTION_ARGS) |
Datum | varbit (PG_FUNCTION_ARGS) |
Datum | biteq (PG_FUNCTION_ARGS) |
Datum | bitne (PG_FUNCTION_ARGS) |
Datum | bitlt (PG_FUNCTION_ARGS) |
Datum | bitle (PG_FUNCTION_ARGS) |
Datum | bitgt (PG_FUNCTION_ARGS) |
Datum | bitge (PG_FUNCTION_ARGS) |
Datum | bitcmp (PG_FUNCTION_ARGS) |
Datum | bitand (PG_FUNCTION_ARGS) |
Datum | bitor (PG_FUNCTION_ARGS) |
Datum | bitxor (PG_FUNCTION_ARGS) |
Datum | bitnot (PG_FUNCTION_ARGS) |
Datum | bitshiftleft (PG_FUNCTION_ARGS) |
Datum | bitshiftright (PG_FUNCTION_ARGS) |
Datum | bitcat (PG_FUNCTION_ARGS) |
Datum | bitsubstr (PG_FUNCTION_ARGS) |
Datum | bitlength (PG_FUNCTION_ARGS) |
Datum | bitoctetlength (PG_FUNCTION_ARGS) |
Datum | bitfromint4 (PG_FUNCTION_ARGS) |
Datum | bittoint4 (PG_FUNCTION_ARGS) |
Datum | bitfromint8 (PG_FUNCTION_ARGS) |
Datum | bittoint8 (PG_FUNCTION_ARGS) |
Datum | bitposition (PG_FUNCTION_ARGS) |
#define BITHIGH 0x80 |
#define BITMASK 0xFF |
#define DatumGetVarBitP | ( | X | ) | ((VarBit *) PG_DETOAST_DATUM(X)) |
#define DatumGetVarBitPCopy | ( | X | ) | ((VarBit *) PG_DETOAST_DATUM_COPY(X)) |
#define PG_GETARG_VARBIT_P | ( | n | ) | DatumGetVarBitP(PG_GETARG_DATUM(n)) |
#define PG_GETARG_VARBIT_P_COPY | ( | n | ) | DatumGetVarBitPCopy(PG_GETARG_DATUM(n)) |
#define PG_RETURN_VARBIT_P | ( | x | ) | return VarBitPGetDatum(x) |
#define VARBITBYTES | ( | PTR | ) | (VARSIZE(PTR) - VARHDRSZ - VARBITHDRSZ) |
#define VARBITEND | ( | PTR | ) | (((bits8 *) (PTR)) + VARSIZE(PTR)) |
#define VARBITHDRSZ sizeof(int32) |
#define VARBITLEN | ( | PTR | ) | (((VarBit *) (PTR))->bit_len) |
#define VARBITPAD | ( | PTR | ) | (VARBITBYTES(PTR)*BITS_PER_BYTE - VARBITLEN(PTR)) |
#define VarBitPGetDatum | ( | X | ) | PointerGetDatum(X) |
#define VARBITS | ( | PTR | ) | (((VarBit *) (PTR))->bit_dat) |
#define VARBITTOTALLEN | ( | BITLEN | ) |
(((BITLEN) + BITS_PER_BYTE-1)/BITS_PER_BYTE + \ VARHDRSZ + VARBITHDRSZ)
Datum bit | ( | PG_FUNCTION_ARGS | ) |
Datum bit_in | ( | PG_FUNCTION_ARGS | ) |
Datum bit_out | ( | PG_FUNCTION_ARGS | ) |
Datum bit_recv | ( | PG_FUNCTION_ARGS | ) |
Datum bit_send | ( | PG_FUNCTION_ARGS | ) |
Datum bitand | ( | PG_FUNCTION_ARGS | ) |
Datum bitcat | ( | PG_FUNCTION_ARGS | ) |
Datum bitcmp | ( | PG_FUNCTION_ARGS | ) |
Datum biteq | ( | PG_FUNCTION_ARGS | ) |
Datum bitfromint4 | ( | PG_FUNCTION_ARGS | ) |
Datum bitfromint8 | ( | PG_FUNCTION_ARGS | ) |
Datum bitge | ( | PG_FUNCTION_ARGS | ) |
Datum bitgt | ( | PG_FUNCTION_ARGS | ) |
Datum bitle | ( | PG_FUNCTION_ARGS | ) |
Datum bitlength | ( | PG_FUNCTION_ARGS | ) |
Datum bitlt | ( | PG_FUNCTION_ARGS | ) |
Datum bitne | ( | PG_FUNCTION_ARGS | ) |
Datum bitnot | ( | PG_FUNCTION_ARGS | ) |
Datum bitoctetlength | ( | PG_FUNCTION_ARGS | ) |
Datum bitor | ( | PG_FUNCTION_ARGS | ) |
Datum bitposition | ( | PG_FUNCTION_ARGS | ) |
Datum bitshiftleft | ( | PG_FUNCTION_ARGS | ) |
Datum bitshiftright | ( | PG_FUNCTION_ARGS | ) |
Datum bitsubstr | ( | PG_FUNCTION_ARGS | ) |
Datum bittoint4 | ( | PG_FUNCTION_ARGS | ) |
Datum bittoint8 | ( | PG_FUNCTION_ARGS | ) |
Datum bitxor | ( | PG_FUNCTION_ARGS | ) |
Datum varbit | ( | PG_FUNCTION_ARGS | ) |
Datum varbit_in | ( | PG_FUNCTION_ARGS | ) |
Datum varbit_out | ( | PG_FUNCTION_ARGS | ) |
Datum varbit_recv | ( | PG_FUNCTION_ARGS | ) |
Datum varbit_send | ( | PG_FUNCTION_ARGS | ) |