@ -1,7 +1,7 @@
/**********************************************************************
/**********************************************************************
* plpython . c - python as a procedural language for PostgreSQL
* plpython . c - python as a procedural language for PostgreSQL
*
*
* $ PostgreSQL : pgsql / src / pl / plpython / plpython . c , v 1.83 2006 / 06 / 25 00 : 18 : 24 momjian Exp $
* $ PostgreSQL : pgsql / src / pl / plpython / plpython . c , v 1.84 2006 / 07 / 06 01 : 55 : 51 momjian Exp $
*
*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
*/
@ -10,7 +10,10 @@
/* Python uses #pragma to bring in a non-default libpython on VC++ if
/* Python uses #pragma to bring in a non-default libpython on VC++ if
* _DEBUG is defined */
* _DEBUG is defined */
# undef _DEBUG
# undef _DEBUG
/* Also hide away errcode, since we load Python.h before postgres.h */
# define errcode __vc_errcode
# include <Python.h>
# include <Python.h>
# undef errcode
# define _DEBUG
# define _DEBUG
# else
# else
# include <Python.h>
# include <Python.h>
@ -2360,7 +2363,7 @@ PLy_init_plpy(void)
/* the python interface to the elog function
/* the python interface to the elog function
* don ' t confuse these with PLy_elog
* don ' t confuse these with PLy_elog
*/
*/
static PyObject * PLy_output ( int , PyObject * , PyObject * ) ;
static PyObject * PLy_output ( volatile int , PyObject * , PyObject * ) ;
static PyObject *
static PyObject *
PLy_debug ( PyObject * self , PyObject * args )
PLy_debug ( PyObject * self , PyObject * args )