spi_priv.h

来自「PostgreSQL7.4.6 for Linux」· C头文件 代码 · 共 50 行

H
50
字号
/*------------------------------------------------------------------------- * * spi_priv.h *				Server Programming Interface private declarations * * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $Id: spi_priv.h,v 1.16 2003/08/04 02:40:13 momjian Exp $ * *------------------------------------------------------------------------- */#ifndef SPI_PRIV_H#define SPI_PRIV_H#include "executor/spi.h"typedef struct{	uint32		processed;		/* by Executor */	SPITupleTable *tuptable;	MemoryContext procCxt;		/* procedure context */	MemoryContext execCxt;		/* executor context */	MemoryContext savedcxt;} _SPI_connection;typedef struct{	/*	 * context containing _SPI_plan itself as well as subsidiary	 * structures	 */	MemoryContext plancxt;	/* List of List of querytrees; one sublist per original parsetree */	List	   *qtlist;	/* List of plan trees --- length == # of querytrees, but flat list */	List	   *ptlist;	/* Argument types, if a prepared plan */	int			nargs;	Oid		   *argtypes;} _SPI_plan;#define _SPI_CPLAN_CURCXT	0#define _SPI_CPLAN_PROCXT	1#define _SPI_CPLAN_TOPCXT	2#endif   /* SPI_PRIV_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?