1 Star 0 Fork 20

shenguo/IvorySQL

forked from IvorySQL/IvorySQL 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
plpython.h 1.27 KB
一键复制 编辑 原始数据 按行查看 历史
/*-------------------------------------------------------------------------
*
* plpython.h - Python as a procedural language for PostgreSQL
*
* Note: this file is #include'd by each of the sub-module header files
* (plpy_elog.h, etc). It's therefore unnecessary for any plpython *.c
* files to include it directly.
*
* Portions Copyright (c) 1996-2025, 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
/* postgres.h needs to be included before Python.h, as usual */
#if !defined(POSTGRES_H)
#error postgres.h must be included before plpython.h
#elif defined(Py_PYTHON_H)
#error Python.h must be included via plpython.h
#endif
/*
* Enable Python Limited API
*
* XXX currently not enabled on MSVC because of build failures
*/
#if !defined(_MSC_VER)
#define Py_LIMITED_API 0x03020000
#endif
/*
* Pull in Python headers via a wrapper header, to control the scope of
* the system_header pragma therein.
*/
#include "plpython_system.h"
/* define our text domain for translations */
#undef TEXTDOMAIN
#define TEXTDOMAIN PG_TEXTDOMAIN("plpython")
#endif /* PLPYTHON_H */
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/gersa/IvorySQL.git
git@gitee.com:gersa/IvorySQL.git
gersa
IvorySQL
IvorySQL
master

搜索帮助