Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf7737a

Browse files
committed
On Windows, set the postmaster executable's stack size to 4MB, so that
it agrees with the default value of max_stack_depth.
1 parent7969649 commitbf7737a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
# Copyright (c) 1994, Regents of the University of California
66
#
7-
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.107 2004/12/31 19:09:37 tgl Exp $
7+
# $PostgreSQL: pgsql/src/backend/Makefile,v 1.108 2005/01/26 21:55:26 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -48,7 +48,7 @@ postgres: $(OBJS) $(DLLINIT) postgres.def libpostgres.a
4848
$(DLLTOOL) --dllname$@$(X) --output-exp$@.exp --def postgres.def
4949
$(CC)$(CFLAGS)$(LDFLAGS) -o$@$(X) -Wl,--base-file,$@.base$@.exp$(OBJS)$(LIBS)
5050
$(DLLTOOL) --dllname$@$(X) --base-file$@.base --output-exp$@.exp --def postgres.def
51-
$(CC)$(CFLAGS)$(LDFLAGS) -o$@$(X)$@.exp$(OBJS)$(LIBS)
51+
$(CC)$(CFLAGS)$(LDFLAGS) -Wl,--stack,4194304 -o$@$(X)$@.exp$(OBJS)$(LIBS)
5252
rm -f$@.exp$@.base
5353

5454
postgres.def:$(OBJS)
@@ -65,7 +65,7 @@ postgres: $(OBJS) $(DLLINIT) postgres.def libpostgres.a $(WIN32RES)
6565
$(DLLTOOL) --dllname$@$(X) --output-exp$@.exp --def postgres.def
6666
$(CC)$(CFLAGS)$(LDFLAGS) -o$@$(X) -Wl,--base-file,$@.base$@.exp$(OBJS)$(WIN32RES)$(LIBS)
6767
$(DLLTOOL) --dllname$@$(X) --base-file$@.base --output-exp$@.exp --def postgres.def
68-
$(CC)$(CFLAGS)$(LDFLAGS) -o$@$(X)$@.exp$(OBJS)$(WIN32RES)$(LIBS)
68+
$(CC)$(CFLAGS)$(LDFLAGS) -Wl,--stack=4194304 -o$@$(X)$@.exp$(OBJS)$(WIN32RES)$(LIBS)
6969
rm -f$@.exp$@.base
7070

7171
postgres.def:$(OBJS)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp