From 1e7677eba17926f2650f8387c66106a895e83ff3 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 13 Oct 2005 22:57:27 +0000 Subject: [PATCH] Make stack_base_ptr non-static, for PL/Java. --- src/backend/tcop/postgres.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 019cc01904..37c5f4241d 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -95,7 +95,8 @@ int max_stack_depth = 2048; static int max_stack_depth_bytes = 2048 * 1024; /* stack base pointer (initialized by PostgresMain) */ -static char *stack_base_ptr = NULL; +/* Do not make static so PL/Java can modifiy it */ +char *stack_base_ptr = NULL; /* -- 2.39.5