PostgreSQL Source Code
git master
|
#include "plpy_typeio.h"
Go to the source code of this file.
Data Structures | |
struct | PLyCursorObject |
Typedefs | |
typedef struct PLyCursorObject | PLyCursorObject |
Functions | |
void | PLy_cursor_init_type (void) |
PyObject * | PLy_cursor (PyObject *self, PyObject *args) |
PyObject * | PLy_cursor_plan (PyObject *ob, PyObject *args) |
typedef struct PLyCursorObject PLyCursorObject |
PyObject* PLy_cursor | ( | PyObject * | self, |
PyObject * | args | ||
) |
Definition at line 56 of file plpy_cursorobject.c.
References generate_unaccent_rules::args, plan, PLy_cursor_plan(), PLy_cursor_query(), PLy_exc_error, and PLy_exception_set().
void PLy_cursor_init_type | ( | void | ) |
Definition at line 49 of file plpy_cursorobject.c.
References elog, ERROR, and PLy_CursorType.
Referenced by PLy_init_plpy().
PyObject* PLy_cursor_plan | ( | PyObject * | ob, |
PyObject * | args | ||
) |
Definition at line 139 of file plpy_cursorobject.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, arg, generate_unaccent_rules::args, Assert, PLyExecutionContext::curr_proc, CurrentMemoryContext, CurrentResourceOwner, DatumGetPointer(), elog, ERROR, PLyProcedure::fn_readonly, i, j, MemoryContextStrdup(), PortalData::name, palloc(), pfree(), PG_CATCH, PG_END_TRY, PG_FINALLY, PG_TRY, PinPortal(), plan, PLy_current_execution_context(), PLy_CursorType, PLy_elog, PLy_exception_set(), PLy_exception_set_plural(), PLy_input_setup_func(), PLy_output_convert(), PLy_spi_subtransaction_abort(), PLy_spi_subtransaction_begin(), PLy_spi_subtransaction_commit(), PLyUnicode_AsString(), PointerGetDatum(), SPI_cursor_open(), SPI_result, SPI_result_code_string(), and TopMemoryContext.
Referenced by PLy_cursor(), and PLy_plan_cursor().