Skip to content

pg_authid dependency makes using managed postgres impossible #212

Closed

Description

@SuiOni

Bug report

Describe the bug

After a lot of time settingup AWS RDS Postgres the final thing that prevents a working instance is that pg-meta is using pg_authid which is not available for AWS RDS and most manageged Postgres Instances.
pg_roles has all the needed columns except passwords.

Can we replace pg_authid with pg_roles?

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Use AWS RDS Postgress as DB.
  2. Open Supabase Studio
  3. Click on Tables

Expected behavior

Working Studio

Screenshots

If applicable, add screenshots to help explain your problem.

System information

  • OS: [AWS EC2 and RDS]
  • Version of supabase-js: [e.g. 6.0.2]

Additional context

Add any other context about the problem here.
Bildschirmfoto 2022-03-25 um 21 07 07

Activity

  1. added
    bug
    on Mar 25, 2022
  2. soedirgo commented on Mar 26, 2022

    @soedirgo
    Member

    Can we replace pg_authid with pg_roles?

    +1, we should be using pg_roles from the start. Would you be willing to make a PR for this?

  3. fuergaosi233 commented on Jul 21, 2022

    @fuergaosi233
    Contributor

    Can we replace pg_authid with pg_roles?

    +1, we should be using pg_roles from the start. Would you be willing to make a PR for this?

    Can you review this PR? It works OK for me locally.

  4. linked a pull request that will close this issuefeat: change pg_authid 2 pg_roles #302on Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugp3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions