aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-03-18 13:43:10 -0400
committerAndres Freund <andres@anarazel.de>2025-03-18 13:44:10 -0400
commitee578921b60ef9a14eaea54b608549e4f8b14f26 (patch)
treed3fbb4800eeda5ea1f5114eb1fd501f6d13d657b /contrib/postgres_fdw/postgres_fdw.c
parent09ef2f8df1cd746d711ffd916bdd2e9526c51b65 (diff)
downloadpostgresql-ee578921b60ef9a14eaea54b608549e4f8b14f26.tar.gz
postgresql-ee578921b60ef9a14eaea54b608549e4f8b14f26.zip
smgr: Make SMgrRelation initialization safer against errors
In case the smgr_open callback failed, the ->pincount field would not be initialized and the relation would not be put onto the unpinned_relns list. This buglet was introduced in 21d9c3ee4ef7, in 17. Discussion: https://postgr.es/m/3vae7l5ozvqtxmd7rr7zaeq3qkuipz365u3rtim5t5wdkr6f4g@vkgf2fogjirl Backpatch-through: 17
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions