PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
plpython.h File Reference
#include <Python.h>
#include <compile.h>
#include <eval.h>
#include "plpy_util.h"
Include dependency graph for plpython.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PY_SSIZE_T_MAX   INT_MAX
 
#define PY_SSIZE_T_MIN   INT_MIN
 
#define PyBytes_AsString   PyString_AsString
 
#define PyBytes_FromStringAndSize   PyString_FromStringAndSize
 
#define PyBytes_Size   PyString_Size
 
#define PyObject_Bytes   PyObject_Str
 
#define PyVarObject_HEAD_INIT(type, size)   PyObject_HEAD_INIT(type) size,
 
#define TEXTDOMAIN   PG_TEXTDOMAIN("plpython")
 

Typedefs

typedef int Py_ssize_t
 

Macro Definition Documentation

#define PY_SSIZE_T_MAX   INT_MAX

Definition at line 66 of file plpython.h.

Referenced by PLy_cursor_fetch(), and PLy_spi_execute_fetch_result().

#define PY_SSIZE_T_MIN   INT_MIN

Definition at line 67 of file plpython.h.

#define PyBytes_AsString   PyString_AsString
#define PyBytes_FromStringAndSize   PyString_FromStringAndSize

Definition at line 85 of file plpython.h.

Referenced by PLyBytes_FromBytea(), and PLyUnicode_Bytes().

#define PyBytes_Size   PyString_Size

Definition at line 86 of file plpython.h.

Referenced by PLyObject_AsString(), and PLyObject_ToBytea().

#define PyObject_Bytes   PyObject_Str

Definition at line 87 of file plpython.h.

Referenced by PLyObject_ToBytea().

#define PyVarObject_HEAD_INIT (   type,
  size 
)    PyObject_HEAD_INIT(type) size,

Definition at line 111 of file plpython.h.

#define TEXTDOMAIN   PG_TEXTDOMAIN("plpython")

Definition at line 122 of file plpython.h.

Typedef Documentation

Definition at line 64 of file plpython.h.