Skip to content

Commit 2d8e3d1

Browse files
committed
Make stack_base_ptr non-static, for PL/Java.
1 parent 1d02853 commit 2d8e3d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/tcop/postgres.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.464 2005/10/05 23:46:06 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.465 2005/10/13 22:57:27 momjian Exp $
1212
*
1313
* NOTES
1414
* this is the "main" module of the postgres backend and
@@ -95,7 +95,8 @@ int max_stack_depth = 2048;
9595
static int max_stack_depth_bytes = 2048 * 1024;
9696

9797
/* stack base pointer (initialized by PostgresMain) */
98-
static char *stack_base_ptr = NULL;
98+
/* Do not make static so PL/Java can modifiy it */
99+
char *stack_base_ptr = NULL;
99100

100101

101102
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy