diff options
Diffstat (limited to 'src/include/tcop')
| -rw-r--r-- | src/include/tcop/tcopprot.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 3ac7dac96a..4235d6d257 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: tcopprot.h,v 1.53 2002/11/15 01:57:28 momjian Exp $ + * $Id: tcopprot.h,v 1.54 2003/04/27 20:09:44 tgl Exp $ * * OLD COMMENTS * This file was created so that other c files could get the two @@ -22,7 +22,6 @@ #include <setjmp.h> #include "executor/execdesc.h" -#include "lib/stringinfo.h" #include "tcop/dest.h" @@ -32,16 +31,16 @@ extern bool InError; extern CommandDest whereToSendOutput; extern bool log_hostname; extern bool LogSourcePort; -extern DLLIMPORT char* debug_query_string; +extern DLLIMPORT const char *debug_query_string; #ifndef BOOTSTRAP_INCLUDE -extern List *pg_parse_query(StringInfo query_string, Oid *typev, int nargs); +extern List *pg_parse_query(const char *query_string, Oid *typev, int nargs); extern List *pg_analyze_and_rewrite(Node *parsetree); -extern List *pg_parse_and_rewrite(char *query_string, +extern List *pg_parse_and_rewrite(const char *query_string, Oid *typev, int nargs); extern Plan *pg_plan_query(Query *querytree); -extern void pg_exec_query_string(StringInfo query_string, +extern void pg_exec_query_string(const char *query_string, CommandDest dest, MemoryContext parse_context); |
