Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(PDB-5743) Fix join-deps for latest_report_status #3967

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

austb
Copy link
Contributor

@austb austb commented Apr 15, 2024

Without another reference to a field that depends on the certnames table, a query for latest_report_status will fail with the error.

ERROR: missing FROM-clause entry for table "certnames"

latest_report_status needs the certnames table in order to know the latest_report_id that it needs to join against the reports table.

Fixes #3966

@austb austb requested review from a team as code owners April 15, 2024 19:33
Without another reference to a field that depends on the certnames
table, a query for latest_report_status will fail with the error.

    ERROR: missing FROM-clause entry for table "certnames"

latest_report_status needs the certnames table in order to know the
latest_report_id that it needs to join against the reports table.

Fixes puppetlabs#3966
@austb austb force-pushed the pdb-5743-latest-report-status-failure branch from d0b2156 to 2e4c25a Compare April 15, 2024 20:55
@rbrw rbrw merged commit 7e6e3e0 into puppetlabs:main Apr 15, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

puppetdb 8.5.0 sql exception missing from clause for table certnames
2 participants