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
05b0f229
Commit
05b0f229
authored
Jan 14, 1997
by
Bryan Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Eliminate dupliclate definition of external variables reldesc and DataDir.
Some compilers recognize this error.
parent
025f281d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
14 deletions
+11
-14
src/backend/bootstrap/bootstrap.c
src/backend/bootstrap/bootstrap.c
+1
-2
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+1
-6
src/backend/tcop/postgres.c
src/backend/tcop/postgres.c
+2
-3
src/backend/utils/init/globals.c
src/backend/utils/init/globals.c
+7
-3
No files found.
src/backend/bootstrap/bootstrap.c
View file @
05b0f229
...
...
@@ -7,7 +7,7 @@
* Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.1
3 1996/12/26 22:06:59 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.1
4 1997/01/14 08:04:42 bryanh
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -184,7 +184,6 @@ static struct typmap *Ap = (struct typmap *)NULL;
static
int
Warnings
=
0
;
static
char
Blanks
[
MAXATTR
];
Relation
reldesc
;
/* current relation descriptor */
static
char
*
relname
;
/* current relation name */
AttributeTupleForm
attrtypes
[
MAXATTR
];
/* points to attribute info */
...
...
src/backend/postmaster/postmaster.c
View file @
05b0f229
...
...
@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.3
0 1996/12/26 22:07:17 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.3
1 1997/01/14 08:05:19 bryanh
Exp $
*
* NOTES
*
...
...
@@ -119,11 +119,6 @@ static short ActiveBackends = FALSE;
static
int
NextBackendId
=
MAXINT
;
/* XXX why? */
static
char
*
progname
=
(
char
*
)
NULL
;
char
*
DataDir
;
/* The PGDATA directory user says to use, or defaults to via environment
variable. NULL if no option given and no environment variable set
*/
/*
* Default Values
*/
...
...
src/backend/tcop/postgres.c
View file @
05b0f229
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.2
4 1996/12/26 22:07:40 momjian
Exp $
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.2
5 1997/01/14 08:05:26 bryanh
Exp $
*
* NOTES
* this is the "main" module of the postgres backend and
...
...
@@ -100,7 +100,6 @@ int dontExecute = 0;
static
int
ShowStats
;
static
bool
IsEmptyQuery
=
false
;
Relation
reldesc
;
/* current relation descritor */
char
relname
[
80
];
/* current relation name */
#if defined(WIN32) || defined(next)
...
...
@@ -1272,7 +1271,7 @@ PostgresMain(int argc, char *argv[])
*/
if
(
IsUnderPostmaster
==
false
)
{
puts
(
"
\n
POSTGRES backend interactive interface"
);
puts
(
"$Revision: 1.2
4 $ $Date: 1996/12/26 22:07:40
$"
);
puts
(
"$Revision: 1.2
5 $ $Date: 1997/01/14 08:05:26
$"
);
}
/* ----------------
...
...
src/backend/utils/init/globals.c
View file @
05b0f229
...
...
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.
3 1996/11/14 10:24:38
bryanh Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/init/globals.c,v 1.
4 1997/01/14 08:05:36
bryanh Exp $
*
* NOTES
* Globals used all over the place should be declared here and not
...
...
@@ -41,8 +41,12 @@ int Noversion = 0;
int
Quiet
=
1
;
int
MasterPid
;
char
*
DataDir
;
char
*
DataDir
;
/* The PGDATA directory user says to use, or defaults to via environment
variable. NULL if no option given and no environment variable set
*/
Relation
reldesc
;
/* current relation descriptor */
char
OutputFileName
[
MAXPGPATH
]
=
""
;
BackendId
MyBackendId
;
...
...
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