forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit309b2cf
committed
Have GetCurrentTransactionStopTimestamp() set xactStopTimestamp if unset
Previously GetCurrentTransactionStopTimestamp() computed a new timestampwhenever xactStopTimestamp was unset and xactStopTimestamp was only set when acommit or abort record was written.An upcoming patch will add additional calls toGetCurrentTransactionStopTimestamp() from pgstats. To avoid computingtimestamps multiple times, set xactStopTimestamp inGetCurrentTransactionStopTimestamp() if not already set.Author: Dave Page <dpage@pgadmin.org>Reviewed-by: Andres Freund <andres@anarazel.de>Reviewed-by: Vik Fearing <vik@postgresfriends.org>Discussion:https://postgr.es/m/20220906155325.an3xesq5o3fq36gt%40awork3.anarazel.de1 parentdb1b931 commit309b2cf
1 file changed
+21
-21
lines changedLines changed: 21 additions & 21 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
266 |
| - | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
267 | 270 |
| |
268 | 271 |
| |
269 | 272 |
| |
| |||
865 | 868 |
| |
866 | 869 |
| |
867 | 870 |
| |
868 |
| - | |
869 |
| - | |
| 871 | + | |
| 872 | + | |
870 | 873 |
| |
871 | 874 |
| |
872 | 875 |
| |
873 | 876 |
| |
874 |
| - | |
875 |
| - | |
876 |
| - | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
877 | 889 |
| |
878 | 890 |
| |
879 | 891 |
| |
| |||
891 | 903 |
| |
892 | 904 |
| |
893 | 905 |
| |
894 |
| - | |
895 |
| - | |
896 |
| - | |
897 |
| - | |
898 |
| - | |
899 |
| - | |
900 |
| - | |
901 |
| - | |
902 |
| - | |
903 | 906 |
| |
904 | 907 |
| |
905 | 908 |
| |
| |||
1396 | 1399 |
| |
1397 | 1400 |
| |
1398 | 1401 |
| |
1399 |
| - | |
1400 |
| - | |
1401 |
| - | |
| 1402 | + | |
1402 | 1403 |
| |
1403 | 1404 |
| |
1404 | 1405 |
| |
| |||
1422 | 1423 |
| |
1423 | 1424 |
| |
1424 | 1425 |
| |
1425 |
| - | |
| 1426 | + | |
1426 | 1427 |
| |
1427 | 1428 |
| |
1428 | 1429 |
| |
| |||
1754 | 1755 |
| |
1755 | 1756 |
| |
1756 | 1757 |
| |
1757 |
| - | |
1758 |
| - | |
| 1758 | + | |
1759 | 1759 |
| |
1760 | 1760 |
| |
1761 | 1761 |
| |
|
0 commit comments
Comments
(0)