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

Commit8fd7db8

Browse files
committed
Another fix.
1 parentead2193 commit8fd7db8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/backend/tcop/postgres.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.37 1997/08/0603:41:41 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.38 1997/08/0605:08:37 momjian Exp $
1111
*
1212
* NOTES
1313
* this is the "main" module of the postgres backend and
@@ -108,7 +108,7 @@ extern int lockingOff;
108108
externintNBuffers;
109109

110110
intfsyncOff=0;
111-
intSortMem=512;
111+
intSortMem=512*1024;
112112

113113
intdontExecute=0;
114114
staticintShowStats;
@@ -1045,7 +1045,7 @@ PostgresMain(int argc, char *argv[])
10451045
* S - amount of sort memory to use in 1k bytes
10461046
* ----------------
10471047
*/
1048-
SortMem=atoi(optarg);
1048+
SortMem=atoi(optarg)*1024;
10491049
break;
10501050

10511051
#ifdefNOT_USED
@@ -1292,7 +1292,7 @@ PostgresMain(int argc, char *argv[])
12921292
*/
12931293
if (IsUnderPostmaster== false) {
12941294
puts("\nPOSTGRES backend interactive interface");
1295-
puts("$Revision: 1.37 $ $Date: 1997/08/0603:41:41 $");
1295+
puts("$Revision: 1.38 $ $Date: 1997/08/0605:08:37 $");
12961296
}
12971297

12981298
/* ----------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp