mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
pgindent run for 8.2.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 2002-2006, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.21 2006/07/13 16:49:19 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.22 2006/10/04 00:30:08 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -28,26 +28,25 @@
|
||||
typedef struct
|
||||
{
|
||||
/* dynahash.c requires key to be first field */
|
||||
char stmt_name[NAMEDATALEN];
|
||||
char *query_string; /* text of query, or NULL */
|
||||
const char *commandTag; /* command tag (a constant!), or NULL */
|
||||
List *query_list; /* list of queries, rewritten */
|
||||
List *plan_list; /* list of plans */
|
||||
List *argtype_list; /* list of parameter type OIDs */
|
||||
TimestampTz prepare_time; /* the time when the stmt was prepared */
|
||||
bool from_sql; /* stmt prepared via SQL, not
|
||||
* FE/BE protocol? */
|
||||
MemoryContext context; /* context containing this query */
|
||||
char stmt_name[NAMEDATALEN];
|
||||
char *query_string; /* text of query, or NULL */
|
||||
const char *commandTag; /* command tag (a constant!), or NULL */
|
||||
List *query_list; /* list of queries, rewritten */
|
||||
List *plan_list; /* list of plans */
|
||||
List *argtype_list; /* list of parameter type OIDs */
|
||||
TimestampTz prepare_time; /* the time when the stmt was prepared */
|
||||
bool from_sql; /* stmt prepared via SQL, not FE/BE protocol? */
|
||||
MemoryContext context; /* context containing this query */
|
||||
} PreparedStatement;
|
||||
|
||||
|
||||
/* Utility statements PREPARE, EXECUTE, DEALLOCATE, EXPLAIN EXECUTE */
|
||||
extern void PrepareQuery(PrepareStmt *stmt);
|
||||
extern void ExecuteQuery(ExecuteStmt *stmt, ParamListInfo params,
|
||||
DestReceiver *dest, char *completionTag);
|
||||
DestReceiver *dest, char *completionTag);
|
||||
extern void DeallocateQuery(DeallocateStmt *stmt);
|
||||
extern void ExplainExecuteQuery(ExplainStmt *stmt, ParamListInfo params,
|
||||
TupOutputState *tstate);
|
||||
TupOutputState *tstate);
|
||||
|
||||
/* Low-level access to stored prepared statements */
|
||||
extern void StorePreparedStatement(const char *stmt_name,
|
||||
|
Reference in New Issue
Block a user