Skip to content

Commit 56c754a

Browse files
committed
Some pedantic compile syntax errors to fix with the following patch
for today's snapshot Andreas
1 parent e3b4400 commit 56c754a

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

src/backend/utils/misc/guc-file.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* Copyright 2000 by PostgreSQL Global Development Group
66
*
7-
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc-file.l,v 1.3 2000/06/04 01:44:34 petere Exp $
7+
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc-file.l,v 1.4 2000/07/27 19:49:18 momjian Exp $
88
*/
99

1010
%{
@@ -33,7 +33,7 @@ enum {
3333
GUC_REAL = 4,
3434
GUC_EQUALS = 5,
3535
GUC_EOL = 99,
36-
GUC_ERROR = 100,
36+
GUC_ERROR = 100
3737
};
3838

3939
#if defined(yywrap)

src/bin/pg_dump/pg_backup.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ extern void ArchiveEntry(Archive* AH, const char* oid, const char* name,
115115
/* Called to write *data* to the archive */
116116
extern int WriteData(Archive* AH, const void* data, int dLen);
117117

118-
//extern int StartBlobs(Archive* AH);
119-
//extern int EndBlobs(Archive* AH);
118+
/*
119+
extern int StartBlobs(Archive* AH);
120+
extern int EndBlobs(Archive* AH);
121+
*/
120122
extern int StartBlob(Archive* AH, int oid);
121123
extern int EndBlob(Archive* AH, int oid);
122124

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1357,7 +1357,7 @@ static void _reconnectAsOwner(ArchiveHandle* AH, TocEntry* te)
13571357
if (RestoringToDB(AH))
13581358
{
13591359
ReconnectDatabase(AH, te->owner);
1360-
//todo pjw - ???? fix for db connection...
1360+
/* todo pjw - ???? fix for db connection... */
13611361
}
13621362
else
13631363
{

src/include/utils/guc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* External declarations pertaining to backend/utils/misc/guc.c and
55
* backend/utils/misc/guc-file.l
66
*
7-
* $Header: /cvsroot/pgsql/src/include/utils/guc.h,v 1.3 2000/07/03 20:46:10 petere Exp $
7+
* $Header: /cvsroot/pgsql/src/include/utils/guc.h,v 1.4 2000/07/27 19:49:24 momjian Exp $
88
*/
99
#ifndef GUC_H
1010
#define GUC_H
@@ -43,7 +43,7 @@ typedef enum {
4343
PGC_SIGHUP,
4444
PGC_BACKEND,
4545
PGC_SUSET,
46-
PGC_USERSET,
46+
PGC_USERSET
4747
} GucContext;
4848

4949

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy