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
030f8e73
Commit
030f8e73
authored
Jan 06, 2004
by
Neil Conway
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused 'noversion' command-line option processing from the
backend.
parent
bc028beb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
16 deletions
+4
-16
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+2
-11
src/backend/utils/init/globals.c
src/backend/utils/init/globals.c
+1
-3
src/include/miscadmin.h
src/include/miscadmin.h
+1
-2
No files found.
src/backend/tcop/postgres.c
View file @
030f8e73
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.38
1 2003/12/25 03:52:51 momjian
Exp $
* $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.38
2 2004/01/06 17:36:31 neilc
Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -2073,7 +2073,6 @@ PostgresMain(int argc, char *argv[], const char *username)
/*
* Set default values for command-line options.
*/
Noversion
=
false
;
EchoQuery
=
false
;
if
(
!
IsUnderPostmaster
)
...
...
@@ -2104,7 +2103,7 @@ PostgresMain(int argc, char *argv[], const char *username)
ctx
=
debug_context
=
PGC_POSTMASTER
;
gucsource
=
PGC_S_ARGV
;
/* initial switches came from command line */
while
((
flag
=
getopt
(
argc
,
argv
,
"A:B:c:
C
D:d:Eef:FiNOPo:p:S:st:v:W:x:-:"
))
!=
-
1
)
while
((
flag
=
getopt
(
argc
,
argv
,
"A:B:c:D:d:Eef:FiNOPo:p:S:st:v:W:x:-:"
))
!=
-
1
)
switch
(
flag
)
{
case
'A'
:
...
...
@@ -2125,14 +2124,6 @@ PostgresMain(int argc, char *argv[], const char *username)
SetConfigOption
(
"shared_buffers"
,
optarg
,
ctx
,
gucsource
);
break
;
case
'C'
:
/*
* don't print version string
*/
Noversion
=
true
;
break
;
case
'D'
:
/* PGDATA directory */
if
(
secure
)
potential_DataDir
=
optarg
;
...
...
src/backend/utils/init/globals.c
View file @
030f8e73
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.7
6 2003/11/29 19:52:01 pgsql
Exp $
* $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.7
7 2004/01/06 17:36:31 neilc
Exp $
*
* NOTES
* Globals used all over the place should be declared here and not
...
...
@@ -25,8 +25,6 @@
ProtocolVersion
FrontendProtocol
=
PG_PROTOCOL_LATEST
;
bool
Noversion
=
false
;
volatile
bool
InterruptPending
=
false
;
volatile
bool
QueryCancelPending
=
false
;
volatile
bool
ProcDiePending
=
false
;
...
...
src/include/miscadmin.h
View file @
030f8e73
...
...
@@ -12,7 +12,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.14
0 2003/12/21 04:34:35 momjian
Exp $
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.14
1 2004/01/06 17:36:31 neilc
Exp $
*
* NOTES
* some of the information in this file should be moved to
...
...
@@ -125,7 +125,6 @@ extern bool IsUnderPostmaster;
extern
bool
ExitOnAnyError
;
extern
bool
Noversion
;
extern
char
*
DataDir
;
extern
DLLIMPORT
int
MyProcPid
;
...
...
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