git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1865fb6)
In pg_resetxlog.c, uint -> uint32, for Win32 port.
2006年4月26日 21:52:31 +0000 (21:52 +0000)
2006年4月26日 21:52:31 +0000 (21:52 +0000)

diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c
index d1060023f9e1d68dc852f81ce1905efe625fe653..2544dcf02fedbd51375dae44e530ba78d6109642 100644 (file)
--- a/src/bin/pg_resetxlog/pg_resetxlog.c
+++ b/src/bin/pg_resetxlog/pg_resetxlog.c
@@ -109,7 +109,7 @@ static void usage(void);
static void GetXLogFiles(void);
static bool ValidXLogFileName(char * fname);
static bool ValidXLogFileHeader(XLogFileName *segfile);
-static bool ValidXLOGPageHeader(XLogPageHeader hdr, uint tli, uint id, uint seg);
+static bool ValidXLOGPageHeader(XLogPageHeader hdr, uint32 tli, uint32 id, uint32 seg);
static bool CmpXLogFileOT(XLogFileName * f1, XLogFileName *f2);
static bool IsNextSeg(XLogFileName *prev, XLogFileName *cur);
static void InsertXLogFile( char * fname );
@@ -1204,7 +1204,7 @@ SelectStartXLog( void )
static bool
ValidXLogFileName(char * fname)
{
- uint logTLI, logId, logSeg;
+ uint32 logTLI, logId, logSeg;
if (strlen(fname) != 24 ||
strspn(fname, "0123456789ABCDEF") != 24 ||
sscanf(fname, "%8x%8x%8x", &logTLI, &logId, &logSeg) != 3)
@@ -1243,7 +1243,7 @@ ValidXLogFileHeader(XLogFileName *segfile)
}
static bool
-ValidXLOGPageHeader(XLogPageHeader hdr, uint tli, uint id, uint seg)
+ValidXLOGPageHeader(XLogPageHeader hdr, uint32 tli, uint32 id, uint32 seg)
{
XLogRecPtr recaddr;
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /