From 02b1a7fd5160d4117973527dc6d4214cd225a97c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 8 Sep 2001 01:10:21 +0000 Subject: Clean up some confusion about where and how to set whereToSendOutput. We will no longer try to send elog messages to the client before we have initialized backend libpq (oops); however, reporting bogus commandline switches via elog does work now (not irrelevant, because of PGOPTIONS). Fix problem with inappropriate sending of checkpoint-process messages to stderr. --- src/include/commands/defrem.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/include/commands/defrem.h') diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index 88c8a93135..d2c01862d9 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: defrem.h,v 1.24 2001/08/21 16:36:06 tgl Exp $ + * $Id: defrem.h,v 1.25 2001/09/08 01:10:21 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -15,7 +15,6 @@ #define DEFREM_H #include "nodes/parsenodes.h" -#include "tcop/dest.h" /* * prototypes in indexcmds.c @@ -36,7 +35,7 @@ extern void ReindexDatabase(const char *databaseName, bool force, bool all); /* * prototypes in define.c */ -extern void CreateFunction(ProcedureStmt *stmt, CommandDest dest); +extern void CreateFunction(ProcedureStmt *stmt); extern void DefineOperator(char *name, List *parameters); extern void DefineAggregate(char *name, List *parameters); extern void DefineType(char *name, List *parameters); -- cgit v1.2.1