Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
5e38665f
Commit
5e38665f
authored
24 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Update make_mkid
parent
a37ab1d3
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/backend/postmaster/postmaster.c
+17
-1
17 additions, 1 deletion
src/backend/postmaster/postmaster.c
src/backend/utils/misc/guc.c
+7
-2
7 additions, 2 deletions
src/backend/utils/misc/guc.c
src/tools/make_mkid
+4
-2
4 additions, 2 deletions
src/tools/make_mkid
with
28 additions
and
5 deletions
src/backend/postmaster/postmaster.c
+
17
−
1
View file @
5e38665f
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.1
69
2000/10/
08 09:25:36 ishii
Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.1
70
2000/10/
11 17:55:32 momjian
Exp $
*
* NOTES
*
...
...
@@ -543,6 +543,22 @@ PostmasterMain(int argc, char *argv[])
exit
(
1
);
}
/*
* Select default values for switches where needed
*/
if
(
HostName
==
NULL
)
{
if
(
!
(
HostName
=
getenv
(
"PGHOST"
)))
{
HostName
=
"any"
;
}
}
else
if
(
!
NetServer
)
{
fprintf
(
stderr
,
"%s: -h requires -i.
\n
"
,
progname
);
exit
(
1
);
}
/*
* Check for invalid combinations of switches
*/
...
...
This diff is collapsed.
Click to expand it.
src/backend/utils/misc/guc.c
+
7
−
2
View file @
5e38665f
...
...
@@ -4,7 +4,7 @@
* Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options.
*
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.1
2
2000/10/
08 09:25:37 ishii
Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.1
3
2000/10/
11 17:55:32 momjian
Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
...
...
@@ -237,6 +237,8 @@ ConfigureNamesInt[] =
DEF_NBUFFERS
,
16
,
INT_MAX
},
{
"port"
,
PGC_POSTMASTER
,
&
PostPortName
,
DEF_PGPORT
,
1
,
65535
},
{
"unixsocket"
,
PGC_POSTMASTER
,
&
UnixSocketName
,
DEF_PGSOCKETFILE
,
1
,
65535
},
{
"sort_mem"
,
PGC_USERSET
,
&
SortMem
,
512
,
1
,
INT_MAX
},
...
...
@@ -372,7 +374,10 @@ ResetAllOptions(void)
}
if
(
getenv
(
"PGPORT"
))
PostPortName
=
atoi
(
getenv
(
"PGPORT"
));
PostPortNumber
=
atoi
(
getenv
(
"PGPORT"
));
if
(
UnixSocketName
==
NULL
)
UnixSocketName
=
getenv
(
"PGUNIXSOCKET"
);
}
...
...
This diff is collapsed.
Click to expand it.
src/tools/make_mkid
+
4
−
2
View file @
5e38665f
#!/bin/sh
find
`
pwd
`
/
\(
-name
_deadcode
-a
-prune
\)
-o
\
-type
f
-name
'*.[chyl]'
-print
|sed
's;//;/;g'
| mkid -
#set -x
mkid
`
find
\`
pwd
\`
/
\(
-name
_deadcode
-a
-prune
\)
-o
\
-type
f
-name
'*.[chyl]'
-print
|sed
's;//;/;g'
`
find
.
-name
'CVS'
-prune
-o
-type
d
-print
|while
read
DIR
do
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment