|
PostgreSQL Source Code git master
|
#include "plpython.h"

Go to the source code of this file.
Macros | |
| #define | PLy_elog(elevel, ...) |
Functions | |
| PGDLLEXPORT void | PLy_elog_impl (int elevel, const char *fmt,...) pg_attribute_printf(2 |
| PGDLLEXPORT void PGDLLEXPORT void | PLy_exception_set (PyObject *exc, const char *fmt,...) pg_attribute_printf(2 |
| PGDLLEXPORT void PGDLLEXPORT void PGDLLEXPORT void | PLy_exception_set_plural (PyObject *exc, const char *fmt_singular, const char *fmt_plural, unsigned long n,...) pg_attribute_printf(2 |
| PGDLLEXPORT void PGDLLEXPORT void PGDLLEXPORT void | pg_attribute_printf (3, 5) |
| PGDLLEXPORT void | PLy_exception_set_with_details (PyObject *excclass, ErrorData *edata) |
Variables | |
| PyObject * | PLy_exc_error |
| PyObject * | PLy_exc_fatal |
| PyObject * | PLy_exc_spi_error |
| #define PLy_elog | ( | elevel, | |
| ... | |||
| ) |
Definition at line 28 of file plpy_elog.h.
| PGDLLEXPORT void PGDLLEXPORT void PGDLLEXPORT void pg_attribute_printf | ( | 3 | , |
| 5 | |||
| ) |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 522 of file plpy_elog.c.
References elog, ERROR, error(), fb(), set_string_attr(), and unpack_sql_state().
Referenced by PLy_output().
|
extern |
Definition at line 15 of file plpy_elog.c.
Referenced by PLy_add_exceptions(), PLy_cursor(), PLy_elog_impl(), PLy_output(), PLy_result_colnames(), PLy_result_coltypes(), PLy_result_coltypmods(), and PLy_spi_execute().
|
extern |
Definition at line 16 of file plpy_elog.c.
Referenced by PLy_add_exceptions(), and PLy_elog_impl().
|
extern |
Definition at line 17 of file plpy_elog.c.
Referenced by PLy_add_exceptions(), PLy_commit(), PLy_elog_impl(), PLy_rollback(), PLy_spi_execute_plan(), PLy_spi_execute_query(), and PLy_spi_subtransaction_abort().