diff options
author | Andres Freund <andres@anarazel.de> | 2022-03-23 13:05:25 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2022-03-23 13:13:20 -0700 |
commit | 8014c61ebda10d39ef8855b4826aeba5cacd36e1 (patch) | |
tree | 31fe395221bb7d36e497407044e5cdd03347a231 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 7c163aa93fe6e37f231cef9ac08d5041855228fa (diff) | |
download | postgresql-8014c61ebda10d39ef8855b4826aeba5cacd36e1.tar.gz postgresql-8014c61ebda10d39ef8855b4826aeba5cacd36e1.zip |
Don't call fwrite() with len == 0 when writing out relcache init file.
Noticed via -fsanitize=undefined.
Backpatch to all branches, for the same reasons as 46ab07ffda9.
Discussion: https://postgr.es/m/20220323173537.ll7klrglnp4gn2um@alap3.anarazel.de
Backpatch: 10-
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions