Skip to content

Commit 810ff51

Browse files
committed
Make compiler happy
1 parent 179f57a commit 810ff51

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

backup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ pg_stop_backup(pgBackup *backup)
916916
PGresult *res;
917917
uint32 xlogid;
918918
uint32 xrecoff;
919-
XLogRecPtr restore_lsn = InvalidXLogRecPtr ;
919+
XLogRecPtr restore_lsn = InvalidXLogRecPtr;
920920
bool sent = false;
921921
int pg_stop_backup_timeout = 0;
922922

utils/logger.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,9 @@ pg_log(eLogType type, const char *fmt, ...)
252252
case PG_FATAL:
253253
elevel = ERROR;
254254
break;
255+
default:
256+
elog(ERROR, "invalid logging level: %d", type);
257+
break;
255258
}
256259

257260
/*

0 commit comments

Comments
 (0)