同步操作将从 IvorySQL/IvorySQL 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
/*-------------------------------------------------------------------------** plpython.h - Python as a procedural language for PostgreSQL** Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group* Portions Copyright (c) 1994, Regents of the University of California** src/pl/plpython/plpython.h**-------------------------------------------------------------------------*/#ifndef PLPYTHON_H#define PLPYTHON_H/** Include order should be: postgres.h, other postgres headers, plpython.h,* other plpython headers. (In practice, other plpython headers will also* include this file, so that they can compile standalone.)*/#ifndef POSTGRES_H#error postgres.h must be included before plpython.h#endif/** Undefine some things that get (re)defined in the Python headers. They aren't* used by the PL/Python code, and all PostgreSQL headers should be included* earlier, so this should be pretty safe.*/#undef _POSIX_C_SOURCE#undef _XOPEN_SOURCE/** Sometimes python carefully scribbles on our *printf macros.* So we undefine them here and redefine them after it's done its dirty deed.*/#undef vsnprintf#undef snprintf#undef vsprintf#undef sprintf#undef vfprintf#undef fprintf#undef vprintf#undef printf#if defined(_MSC_VER) && defined(_DEBUG)/* Python uses #pragma to bring in a non-default libpython on VC++ if* _DEBUG is defined */#undef _DEBUG/* Also hide away errcode, since we load Python.h before postgres.h */#define errcode __msvc_errcode#include <Python.h>#undef errcode#define _DEBUG#elif defined (_MSC_VER)#define errcode __msvc_errcode#include <Python.h>#undef errcode#else#include <Python.h>#endif/* define our text domain for translations */#undef TEXTDOMAIN#define TEXTDOMAIN PG_TEXTDOMAIN("plpython")/* put back our *printf macros ... this must match src/include/port.h */#ifdef vsnprintf#undef vsnprintf#endif#ifdef snprintf#undef snprintf#endif#ifdef vsprintf#undef vsprintf#endif#ifdef sprintf#undef sprintf#endif#ifdef vfprintf#undef vfprintf#endif#ifdef fprintf#undef fprintf#endif#ifdef vprintf#undef vprintf#endif#ifdef printf#undef printf#endif#define vsnprintf pg_vsnprintf#define snprintf pg_snprintf#define vsprintf pg_vsprintf#define sprintf pg_sprintf#define vfprintf pg_vfprintf#define fprintf pg_fprintf#define vprintf pg_vprintf#define printf(...) pg_printf(__VA_ARGS__)/** Used throughout, so it's easier to just include it everywhere.*/#include "plpy_util.h"#endif /* PLPYTHON_H */
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。