|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * 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 $ |
11 | 11 | *
|
12 | 12 | * NOTES
|
13 | 13 | * this is the "main" module of the postgres backend and
|
@@ -108,7 +108,7 @@ extern int lockingOff;
|
108 | 108 | externintNBuffers;
|
109 | 109 |
|
110 | 110 | intfsyncOff=0;
|
111 |
| -intSortMem=512; |
| 111 | +intSortMem=512*1024; |
112 | 112 |
|
113 | 113 | intdontExecute=0;
|
114 | 114 | staticintShowStats;
|
@@ -1045,7 +1045,7 @@ PostgresMain(int argc, char *argv[])
|
1045 | 1045 | * S - amount of sort memory to use in 1k bytes
|
1046 | 1046 | * ----------------
|
1047 | 1047 | */
|
1048 |
| -SortMem=atoi(optarg); |
| 1048 | +SortMem=atoi(optarg)*1024; |
1049 | 1049 | break;
|
1050 | 1050 |
|
1051 | 1051 | #ifdefNOT_USED
|
@@ -1292,7 +1292,7 @@ PostgresMain(int argc, char *argv[])
|
1292 | 1292 | */
|
1293 | 1293 | if (IsUnderPostmaster== false) {
|
1294 | 1294 | 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 $"); |
1296 | 1296 | }
|
1297 | 1297 |
|
1298 | 1298 | /* ----------------
|
|