Some pedantic compile syntax errors to fix with the following patch

for today's snapshot

Andreas
This commit is contained in:
Bruce Momjian 2000-07-27 19:49:24 +00:00
parent e3b4400667
commit 56c754a555
4 changed files with 9 additions and 7 deletions

View File

@ -4,7 +4,7 @@
* *
* Copyright 2000 by PostgreSQL Global Development Group * Copyright 2000 by PostgreSQL Global Development Group
* *
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc-file.l,v 1.3 2000/06/04 01:44:34 petere Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc-file.l,v 1.4 2000/07/27 19:49:18 momjian Exp $
*/ */
%{ %{
@ -33,7 +33,7 @@ enum {
GUC_REAL = 4, GUC_REAL = 4,
GUC_EQUALS = 5, GUC_EQUALS = 5,
GUC_EOL = 99, GUC_EOL = 99,
GUC_ERROR = 100, GUC_ERROR = 100
}; };
#if defined(yywrap) #if defined(yywrap)

View File

@ -115,8 +115,10 @@ extern void ArchiveEntry(Archive* AH, const char* oid, const char* name,
/* Called to write *data* to the archive */ /* Called to write *data* to the archive */
extern int WriteData(Archive* AH, const void* data, int dLen); extern int WriteData(Archive* AH, const void* data, int dLen);
//extern int StartBlobs(Archive* AH); /*
//extern int EndBlobs(Archive* AH); extern int StartBlobs(Archive* AH);
extern int EndBlobs(Archive* AH);
*/
extern int StartBlob(Archive* AH, int oid); extern int StartBlob(Archive* AH, int oid);
extern int EndBlob(Archive* AH, int oid); extern int EndBlob(Archive* AH, int oid);

View File

@ -1357,7 +1357,7 @@ static void _reconnectAsOwner(ArchiveHandle* AH, TocEntry* te)
if (RestoringToDB(AH)) if (RestoringToDB(AH))
{ {
ReconnectDatabase(AH, te->owner); ReconnectDatabase(AH, te->owner);
//todo pjw - ???? fix for db connection... /* todo pjw - ???? fix for db connection... */
} }
else else
{ {

View File

@ -4,7 +4,7 @@
* External declarations pertaining to backend/utils/misc/guc.c and * External declarations pertaining to backend/utils/misc/guc.c and
* backend/utils/misc/guc-file.l * backend/utils/misc/guc-file.l
* *
* $Header: /cvsroot/pgsql/src/include/utils/guc.h,v 1.3 2000/07/03 20:46:10 petere Exp $ * $Header: /cvsroot/pgsql/src/include/utils/guc.h,v 1.4 2000/07/27 19:49:24 momjian Exp $
*/ */
#ifndef GUC_H #ifndef GUC_H
#define GUC_H #define GUC_H
@ -43,7 +43,7 @@ typedef enum {
PGC_SIGHUP, PGC_SIGHUP,
PGC_BACKEND, PGC_BACKEND,
PGC_SUSET, PGC_SUSET,
PGC_USERSET, PGC_USERSET
} GucContext; } GucContext;