Commit d81d1ae
committed
Use start transaction timestamp instead of clock
Looks like an oversight from #2221 when CAgg refresh policies were
introduced. The idea of the function `subtract_interval_from_now` is to
calculate timestamp for offset intervals for policy checks and make no
sense get the clock timestamp instead of the start transaction.
So changed the `GetCurrentTimestamp()` (aka `clock_timestamp()`) to
`GetCurrentTransactionStartTimestamp` (aka `now()`).1 parent c821594 commit d81d1ae
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
0 commit comments