From ebb0a2014930034a89ae5f4953b52c9afbf585ae Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 12 Nov 2000 20:51:52 +0000 Subject: Keep track of the last active slot in the shared ProcState array, so that search loops only have to scan that far and not through all maxBackends entries. This eliminates a performance penalty for setting maxBackends much higher than the average number of active backends. Also, eliminate no-longer-used 'backend tag' concept. Remove setting of environment variables at backend start (except for CYR_RECODE), since none of them are being examined by the backend any longer. --- src/include/miscadmin.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/include/miscadmin.h') diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 6e6436d1528..7b684291a33 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.69 2000/11/04 12:43:24 petere Exp $ + * $Id: miscadmin.h,v 1.70 2000/11/12 20:51:52 tgl Exp $ * * NOTES * some of the information in this file will be moved to @@ -55,7 +55,6 @@ extern char OutputFileName[]; * done in storage/backendid.h for now. * * extern BackendId MyBackendId; - * extern BackendTag MyBackendTag; */ extern bool MyDatabaseIdIsInitialized; extern Oid MyDatabaseId; -- cgit v1.2.3