diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-09-18 14:33:46 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1997-09-18 14:33:46 +0000 |
commit | 8f1e1b4551c07c48fc59682d606ec5957b9d9178 (patch) | |
tree | 90574ac410d374051cce9f429570e7045906d33a /src/backend/tcop/postgres.c | |
parent | 4948a51d74331e1863dab91b00287d64093db554 (diff) | |
download | postgresql-8f1e1b4551c07c48fc59682d606ec5957b9d9178.tar.gz postgresql-8f1e1b4551c07c48fc59682d606ec5957b9d9178.zip |
No more SortTuplesInTree...
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index b5aec218c7a..4726071aaf0 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.47 1997/09/18 05:19:17 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.48 1997/09/18 14:33:33 vadim Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -1120,31 +1120,15 @@ PostgresMain(int argc, char *argv[]) case 'S': /* ---------------- - * S - amount of sort memory to use in 1k bytes and - * (optional) max number of tuples in leftist tree + * S - amount of sort memory to use in 1k bytes * ---------------- */ { int S; - char *p = strchr (optarg, ','); - if ( p != NULL ) - { - *p = 0; - S = atoi(optarg); - if ( S >= 4*MAXBLCKSZ/1024 ) - SortMem = S; - S = atoi (p + 1); - if ( S >= 32 ) - SortTuplesInTree = S; - *p = ','; - } - else - { - S = atoi(optarg); - if ( S >= 4*MAXBLCKSZ/1024 ) - SortMem = S; - } + S = atoi(optarg); + if ( S >= 4*MAXBLCKSZ/1024 ) + SortMem = S; } break; @@ -1407,7 +1391,7 @@ PostgresMain(int argc, char *argv[]) if (IsUnderPostmaster == false) { puts("\nPOSTGRES backend interactive interface"); - puts("$Revision: 1.47 $ $Date: 1997/09/18 05:19:17 $"); + puts("$Revision: 1.48 $ $Date: 1997/09/18 14:33:33 $"); } /* ---------------- |