Content-Length: 258920 | pFad | https://github.com/postgrespro/postgres/commit/9e088f7dd8cd1f14813d0919a68564d55cbff18a

4C Fix compiler warning in pg_logicalinspect. · postgrespro/postgres@9e088f7 · GitHub
Skip to content

Commit 9e088f7

Browse files
Fix compiler warning in pg_logicalinspect.
Oversight in bd65cb3. Reported-by: David Rowley <dgrowleyml@gmail.com> Reported-by: Nathan Bossart <nathandbossart@gmail.com> Author: David Rowley <dgrowleyml@gmail.com> 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

Lines changed: 2 additions & 0 deletions
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/postgrespro/postgres/commit/9e088f7dd8cd1f14813d0919a68564d55cbff18a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy