Fix comment in pg_proc.c
authorMichael Paquier <michael@paquier.xyz>
Fri, 13 May 2022 23:27:59 +0000 (08:27 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 13 May 2022 23:27:59 +0000 (08:27 +0900)
commitfcab82a2d79b4533cfdc8e8d5e00dbdf6830d63a
tree055690470529d469344b97d4b8a5164713f859d7
parentc4f113e8fef900e9e7e7c77a3a21db1535e5be72
Fix comment in pg_proc.c

pgstat_create_function() creates stats for a function in a transactional
fashion, so the stats would be dropped if transaction creating the
function is aborted, not committed.

Author: Amul Sul
Discussion: https://postgr.es/m/CAAJ_b97x1T3xgAMWNj4w7kSgN0nTuG-vLrQJ4NB-dsNr0Kudxw@mail.gmail.com
src/backend/catalog/pg_proc.c