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
cae56719
Commit
cae56719
authored
Apr 26, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
In pg_resetxlog.c, uint -> uint32, for Win32 port.
parent
1865fb66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/bin/pg_resetxlog/pg_resetxlog.c
src/bin/pg_resetxlog/pg_resetxlog.c
+3
-3
No files found.
src/bin/pg_resetxlog/pg_resetxlog.c
View file @
cae56719
...
@@ -109,7 +109,7 @@ static void usage(void);
...
@@ -109,7 +109,7 @@ static void usage(void);
static
void
GetXLogFiles
(
void
);
static
void
GetXLogFiles
(
void
);
static
bool
ValidXLogFileName
(
char
*
fname
);
static
bool
ValidXLogFileName
(
char
*
fname
);
static
bool
ValidXLogFileHeader
(
XLogFileName
*
segfile
);
static
bool
ValidXLogFileHeader
(
XLogFileName
*
segfile
);
static
bool
ValidXLOGPageHeader
(
XLogPageHeader
hdr
,
uint
tli
,
uint
id
,
uint
seg
);
static
bool
ValidXLOGPageHeader
(
XLogPageHeader
hdr
,
uint
32
tli
,
uint32
id
,
uint32
seg
);
static
bool
CmpXLogFileOT
(
XLogFileName
*
f1
,
XLogFileName
*
f2
);
static
bool
CmpXLogFileOT
(
XLogFileName
*
f1
,
XLogFileName
*
f2
);
static
bool
IsNextSeg
(
XLogFileName
*
prev
,
XLogFileName
*
cur
);
static
bool
IsNextSeg
(
XLogFileName
*
prev
,
XLogFileName
*
cur
);
static
void
InsertXLogFile
(
char
*
fname
);
static
void
InsertXLogFile
(
char
*
fname
);
...
@@ -1204,7 +1204,7 @@ SelectStartXLog( void )
...
@@ -1204,7 +1204,7 @@ SelectStartXLog( void )
static
bool
static
bool
ValidXLogFileName
(
char
*
fname
)
ValidXLogFileName
(
char
*
fname
)
{
{
uint
logTLI
,
logId
,
logSeg
;
uint
32
logTLI
,
logId
,
logSeg
;
if
(
strlen
(
fname
)
!=
24
||
if
(
strlen
(
fname
)
!=
24
||
strspn
(
fname
,
"0123456789ABCDEF"
)
!=
24
||
strspn
(
fname
,
"0123456789ABCDEF"
)
!=
24
||
sscanf
(
fname
,
"%8x%8x%8x"
,
&
logTLI
,
&
logId
,
&
logSeg
)
!=
3
)
sscanf
(
fname
,
"%8x%8x%8x"
,
&
logTLI
,
&
logId
,
&
logSeg
)
!=
3
)
...
@@ -1243,7 +1243,7 @@ ValidXLogFileHeader(XLogFileName *segfile)
...
@@ -1243,7 +1243,7 @@ ValidXLogFileHeader(XLogFileName *segfile)
}
}
static
bool
static
bool
ValidXLOGPageHeader
(
XLogPageHeader
hdr
,
uint
tli
,
uint
id
,
uint
seg
)
ValidXLOGPageHeader
(
XLogPageHeader
hdr
,
uint
32
tli
,
uint32
id
,
uint32
seg
)
{
{
XLogRecPtr
recaddr
;
XLogRecPtr
recaddr
;
...
...
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