Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
8f1e1b45
Commit
8f1e1b45
authored
Sep 18, 1997
by
Vadim B. Mikheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No more SortTuplesInTree...
parent
4948a51d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
24 deletions
+7
-24
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+6
-22
src/backend/utils/init/globals.c
src/backend/utils/init/globals.c
+1
-2
No files found.
src/backend/tcop/postgres.c
View file @
8f1e1b45
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.4
7 1997/09/18 05:19:17
vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.4
8 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
(
"
\n
POSTGRES backend interactive interface"
);
puts
(
"$Revision: 1.4
7 $ $Date: 1997/09/18 05:19:17
$"
);
puts
(
"$Revision: 1.4
8 $ $Date: 1997/09/18 14:33:33
$"
);
}
/* ----------------
...
...
src/backend/utils/init/globals.c
View file @
8f1e1b45
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.1
3 1997/09/18 05:23:58
vadim Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.1
4 1997/09/18 14:33:46
vadim Exp $
*
* NOTES
* Globals used all over the place should be declared here and not
...
...
@@ -80,7 +80,6 @@ char FloatFormat[20] = "%f";
int
fsyncOff
=
0
;
int
SortMem
=
512
;
int
SortTuplesInTree
=
2560
;
char
*
IndexedCatalogNames
[]
=
{
AttributeRelationName
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment