Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Fix _prom_catalog.metric_view() function on non-tsdb installs #958

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

JamesGuthrie
Copy link
Contributor

The metric_view function would fail when tsdb is not installed with the
following error:

column reference "id" is ambiguous

The fix is to use the full qualifier of the aliased subselect.

Fixes #738

Note: I did not add a test for this fix as I was unable to reproduce the issue in our testing framework. I would appreciate assistance with adding a test for this.

@jgpruitt jgpruitt added the Bug Something isn't working label Dec 8, 2021
The metric_view function would fail when tsdb is not installed with the
following error:

column reference "id" is ambiguous

The fix is to use the full qualifier of the aliased subselect.

Fixes #738
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

View "prom_info.metric" does not work for vanilla PostgreSQL
3 participants