Skip to content

Can not get some report from tar file. #122

@killerwzb

Description

@killerwzb

Describe the bug

Can not get some report from tar file.

Environment
Describe the environment where the bug occurred.

OS: CentOS Linux 7 (Core)
pgCenter Version 0.9.2
pgCenter installation method: source code
PostgreSQL Version 14.9

I type this command record some staictics informations

./pgcenter record -f /tmp/stats.tar

And I get this file stats.tar

so I want to view this report about database
./pgcenter report -f /tmp/stats.tar --databases g --grep datname:highgo

and I get this :

[wangzhibin@localhost bin]$ ./pgcenter report -f /tmp/stats.tar --databases g --grep datname:highgo
INFO: reading from /tmp/stats.tar
INFO: report databases_general
INFO: start from: 0001-01-01 00:00:00 LMT, to: 2023-09-08 02:53:41 CST
invalid result

All parameter types returned are “invalid result”,I don't know where was wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions