Skip to content

Commit 9e088f7

Browse files
Fix compiler warning in pg_logicalinspect.
Oversight in bd65cb3. Reported-by: David Rowley <[email protected]> Reported-by: Nathan Bossart <[email protected]> Author: David Rowley <[email protected]> Discussion: https://postgr.es/m/CAApHDvqrhFfnetbcwgGkJ=z63T8HfQ_OyP=vX8BYiXyxFKt67w@mail.gmail.com
1 parent ac44946 commit 9e088f7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

contrib/pg_logicalinspect/pg_logicalinspect.c

+2
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ parse_snapshot_filename(const char *filename)
8585
parse_error:
8686
ereport(ERROR,
8787
errmsg("invalid snapshot file name \"%s\"", filename));
88+
89+
return InvalidXLogRecPtr; /* keep compiler quiet */
8890
}
8991

9092
/*

0 commit comments

Comments
 (0)