Contents

Veil2
Postgres extension for VPD implementations
query.c
Go to the documentation of this file.
38 veil2_spi_connect(bool *p_pushed, const char *msg)
66 veil2_spi_finish(bool pushed, const char *msg)
101 prepare_query(const char *qry,
165 veil2_query_wn(const char *qry,
172  Fetch_fn process_row,
181  prepare_query(qry, nargs, argtypes, args, nulls, read_only, saved_plan);
218 veil2_query(const char *qry,
224  Fetch_fn process_row,
227  return veil2_query_wn(qry, nargs, argtypes, args, NULL,
242 fetch_one_bool(HeapTuple tuple, TupleDesc tupdesc, void *p_result)
267 veil2_bool_from_query(const char *qry,
275  rows = veil2_query(qry, nargs, argtypes, args, false, saved_plan,
276  fetch_one_bool, (void *) result);
static bool fetch_one_bool(HeapTuple tuple, TupleDesc tupdesc, void *p_result)
Definition: query.c:242
static void prepare_query(const char *qry, int nargs, Oid *argtypes, Datum *args, const char *nulls, bool read_only, void **saved_plan)
Definition: query.c:101
Main header file for veil2.
void veil2_spi_finish(bool pushed, const char *msg)
Definition: query.c:66
int veil2_query_wn(const char *qry, int nargs, Oid *argtypes, Datum *args, const char *nulls, bool read_only, void **saved_plan, Fetch_fn process_row, void *fn_param)
Definition: query.c:165
bool() Fetch_fn(HeapTuple, TupleDesc, void *)
Definition: veil2.h:20
bool veil2_bool_from_query(const char *qry, int nargs, Oid *argtypes, Datum *args, void **saved_plan, bool *result)
Definition: query.c:267
int veil2_query(const char *qry, int nargs, Oid *argtypes, Datum *args, bool read_only, void **saved_plan, Fetch_fn process_row, void *fn_param)
Definition: query.c:218
void veil2_spi_connect(bool *p_pushed, const char *msg)
Definition: query.c:38