Header And Logo

PostgreSQL
| The world's most advanced open source database.

plpy_plpymodule.h

Go to the documentation of this file.
00001 /*
00002  * src/pl/plpython/plpy_plpymodule.h
00003  */
00004 
00005 #ifndef PLPY_PLPYMODULE_H
00006 #define PLPY_PLPYMODULE_H
00007 
00008 #include "utils/hsearch.h"
00009 
00010 /* A hash table mapping sqlstates to exceptions, for speedy lookup */
00011 extern HTAB *PLy_spi_exceptions;
00012 
00013 
00014 #if PY_MAJOR_VERSION >= 3
00015 PyMODINIT_FUNC PyInit_plpy(void);
00016 #endif
00017 extern void PLy_init_plpy(void);
00018 
00019 #endif   /* PLPY_PLPYMODULE_H */