12.1. Настройка администратора Postgres Pro AXE #

Чтобы настроить администратора Postgres Pro AXE на сервере Postgres Pro AXE:

  1. Создайте роль или используйте существующую.

    Например:

      CREATE ROLE axe_admin;

    Если роль не является суперпользователем, предоставьте ей требуемые права.

  2. Назначьте роль администратором Postgres Pro AXE с помощью параметра конфигурации axe.postgres_role.

    Например:

      ALTER SYSTEM SET axe.postgres_role TO 'axe_admin';

    Если указанной роли не существует, Postgres Pro AXE возвращает предупреждение, и в этом случае роль начального суперпользователя (bootstrap superuser) действует как администратор Postgres Pro AXE.

  3. Перезапустите сервер.

12.1. Configuring the Postgres Pro AXE Administrator #

To configure the Postgres Pro AXE administrator on the Postgres Pro AXE server:

  1. Create a role or use an existing one.

    For example:

      CREATE ROLE axe_admin;
    

    If the role is not a superuser, grant it the required privileges.

  2. Designate the role as the Postgres Pro AXE administrator using the axe.postgres_role configuration parameter.

    For example:

      ALTER SYSTEM SET axe.postgres_role TO 'axe_admin';
    

    If the specified role does not exist, Postgres Pro AXE returns a warning, and the bootstrap superuser role acts as the Postgres Pro AXE administrator.

  3. Restart the server.

FAQ