diff options
| author | Fujii Masao | 2020-05-13 13:20:37 +0000 |
|---|---|---|
| committer | Fujii Masao | 2020-05-13 13:20:37 +0000 |
| commit | 043e3e04016077735f986726a3a74192c295ace7 (patch) | |
| tree | 0e5ebdc6d3c47118f8d8428e685993f78a5c0fe6 /src/common/string.c | |
| parent | f3d23d83ef9a33344391acbaa92a6235a4350791 (diff) | |
Use proper GetDatum function in pg_stat_get_slru().
This commit changes pg_stat_get_slru() so that it uses
TimestampTzGetDatum() for stats_reset field because that field
stores the timestamp with time zone value. Previously
Int64GetDatum() was used.
Author: Fujii Masao
Reviewed-by: Tomas Vondra
Discussion: https://postgr.es/m/b8784fe6-1401-ab35-aa14-d57b5bb8e312@oss.nttdata.com
Diffstat (limited to 'src/common/string.c')
0 files changed, 0 insertions, 0 deletions
