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

Qualify oid colum fixing Postgres v16 incompatibility #38428

Merged
merged 1 commit into from Feb 22, 2024

Conversation

Tener
Copy link
Contributor

@Tener Tener commented Feb 20, 2024

Starting with Postgres v16, the pg_catalog.pg_auth_members view also has oid column, which causes the reference to the column become ambiguous in the existing query.

Sample error:

connection to server at "localhost" (127.0.0.1), port 62057 failed: your Teleport role requires automatic database user provisioning but an attempt to activate database user "ben" failed due to the following error: ERROR: column reference "oid" is ambiguous (SQLSTATE 42702)

Changelog: Fixed Postgres v16.x compatibility issue preventing multiple connections for auto-provisioned users.

Copy link

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@Tener Tener requested a review from greedy52 February 20, 2024 15:14
@Tener Tener added this pull request to the merge queue Feb 22, 2024
Merged via the queue into master with commit 469f3bd Feb 22, 2024
38 of 40 checks passed
@Tener Tener deleted the tener/postgres-activate-user-v16 branch February 22, 2024 12:05
@public-teleport-github-review-bot

@Tener See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR
branch/v15 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants