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
6b198d61
Commit
6b198d61
authored
Mar 22, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing extern for optind.
parent
3b7ca96c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
src/bin/pg_resetxlog/pg_resetxlog.c
src/bin/pg_resetxlog/pg_resetxlog.c
+7
-6
No files found.
src/bin/pg_resetxlog/pg_resetxlog.c
View file @
6b198d61
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.1
6 2004/02/17 03:45:17 momjian
Exp $
* $PostgreSQL: pgsql/src/bin/pg_resetxlog/pg_resetxlog.c,v 1.1
7 2004/03/22 16:46:28 tgl
Exp $
*
*
*-------------------------------------------------------------------------
*-------------------------------------------------------------------------
*/
*/
...
@@ -42,6 +42,12 @@
...
@@ -42,6 +42,12 @@
#include "catalog/catversion.h"
#include "catalog/catversion.h"
#include "catalog/pg_control.h"
#include "catalog/pg_control.h"
extern
int
optind
;
extern
char
*
optarg
;
#define _(x) gettext((x))
/******************** stuff copied from xlog.c ********************/
/******************** stuff copied from xlog.c ********************/
/* Increment an xlogid/segment pair */
/* Increment an xlogid/segment pair */
...
@@ -62,8 +68,6 @@
...
@@ -62,8 +68,6 @@
/******************** end of stuff copied from xlog.c ********************/
/******************** end of stuff copied from xlog.c ********************/
#define _(x) gettext((x))
static
char
XLogDir
[
MAXPGPATH
];
static
char
XLogDir
[
MAXPGPATH
];
static
char
ControlFilePath
[
MAXPGPATH
];
static
char
ControlFilePath
[
MAXPGPATH
];
...
@@ -81,9 +85,6 @@ static void KillExistingXLOG(void);
...
@@ -81,9 +85,6 @@ static void KillExistingXLOG(void);
static
void
WriteEmptyXLOG
(
void
);
static
void
WriteEmptyXLOG
(
void
);
static
void
usage
(
void
);
static
void
usage
(
void
);
extern
char
*
optarg
;
int
int
main
(
int
argc
,
char
*
argv
[])
main
(
int
argc
,
char
*
argv
[])
...
...
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