aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-11-21 22:27:34 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-11-21 22:27:34 +0000
commit183e8b911c452de056fe8d355017c9edd1ee3c74 (patch)
treede0518742dfc9430ea220e35a042ba634ea0c6a0 /src/backend/utils/adt/numeric.c
parent32c97fd58ffdd5c7b62e9bc80d6311b608823218 (diff)
downloadpostgresql-183e8b911c452de056fe8d355017c9edd1ee3c74.tar.gz
postgresql-183e8b911c452de056fe8d355017c9edd1ee3c74.zip
While fixing plperl and pltcl, I realized plpgsql wasn't doing
subtransactions quite right either: the ReleaseCurrentSubTransaction call should occur inside the PG_TRY, so that the proper path is taken if an error occurs during subtransaction commit. This assumes that AbortSubTransaction can cope with the state left behind if CommitSubTransaction fails partway through, but we were already requiring that.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions