From 699782b69518e18c20211df315c49b8cd0dc9345 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 30 Dec 2002 22:10:54 +0000 Subject: Adjust Tcl-related code to compile cleanly with Tcl 8.4 (add const modifiers as needed). Some desultory const-ification of SPI interface to support this. --- src/include/utils/portal.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/utils') diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h index 40258acc32a..41fa2f735c2 100644 --- a/src/include/utils/portal.h +++ b/src/include/utils/portal.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: portal.h,v 1.36 2002/12/05 15:50:39 tgl Exp $ + * $Id: portal.h,v 1.37 2002/12/30 22:10:54 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -53,9 +53,9 @@ typedef struct PortalData extern void EnablePortalManager(void); extern void AtEOXact_portals(void); -extern Portal CreatePortal(char *name); +extern Portal CreatePortal(const char *name); extern void PortalDrop(Portal portal); -extern Portal GetPortalByName(char *name); +extern Portal GetPortalByName(const char *name); extern void PortalSetQuery(Portal portal, QueryDesc *queryDesc, void (*cleanup) (Portal portal)); -- cgit v1.2.3