aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-02-28 12:54:12 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2022-02-28 12:54:12 -0500
commit12d768e70497afc5a57acf73c251316997b5175a (patch)
tree129fc68a13e888875e85770beda5cddd6de775d7 /src/backend/utils/adt/numeric.c
parent2e517818f4af4abe93bf56442469944544f10d4b (diff)
downloadpostgresql-12d768e70497afc5a57acf73c251316997b5175a.tar.gz
postgresql-12d768e70497afc5a57acf73c251316997b5175a.zip
Don't use static storage for SaveTransactionCharacteristics().
This is pretty queasy-making on general principles, and the more so once you notice that CommitTransactionCommand() is actually stomping on the values saved by _SPI_commit(). It's okay as long as the active values didn't change during HoldPinnedPortals(); but that's a larger assumption than I think we want to make, especially since the fix is so simple. Discussion: https://postgr.es/m/1533956.1645731245@sss.pgh.pa.us
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions