Skip to content

cannot parse some SHOW variables #15

Closed
@jinty

Description

@jinty

I was trying out the latest master and get this:

time="2016-07-27T14:07:50Z" level=error msg="Unexpected error parsing column:  pg max_pred_locks_per_transaction 64" file="postgres_exporter.go" line=471
time="2016-07-27T14:07:50Z" level=error msg="Unexpected error parsing column:  pg max_identifier_length 63" file="postgres_exporter.go" line=471
time="2016-07-27T14:07:50Z" level=error msg="Unexpected error parsing column:  pg max_locks_per_transaction 64" file="postgres_exporter.go" line=471

This is querying postgresql 9.5. It seems that the query:

SHOW max_pred_locks_per_transaction;

returns a "text" type. But eyeballing the code, that should work...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions