gleu/pgstats

xlog : KO on PG10

Closed this issue · 0 comments

15:45 $ pgstat -p10003 -s xlog
-------- filename -------- -- location -- ---- bytes ----
pgstat: pgstats: query failed: ERROR:  function pg_current_wal_location() does not exist
LINE 1: SELECT   pg_walfile_name(pg_current_wal_location()),   pg_cu...
                                 ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.

pgstat: pgstats: query was: SELECT   pg_walfile_name(pg_current_wal_location()),   pg_current_wal_location(),   pg_wal_location_diff(pg_current_wal_location(), '0/0'),   pg_size_pretty(pg_wal_location_diff(pg_current_wal_location(), '0/0'))