Skip to content

pgroll init --role app_admin ignores --role #993

@andriusjurkus

Description

@andriusjurkus

Title says it all. There is no error nothing.

--role: The Postgres role to use for all pgroll DDL operations (default: "", which doesn't set any role).

Or I m misunderstanding something and this is intended for some reason?

pgroll init --role app_admin 
 SUCCESS  Initialization complete
postgres=# \dns
      List of schemas
  Name  |       Owner       
--------+-------------------
 pgroll | postgres
postgres=# \du
                             List of roles
 Role name |                         Attributes                         
-----------+------------------------------------------------------------
 app_admin | Superuser, Cannot login
 postgres  | Superuser, Create role, Create DB, Replication, Bypass RLS

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