PostgreSQL major release version:
15or16Note: Recommended PostgreSQL for version15:15.8Alert follows the Black Duck SCA PostgreSQL Version Upgrade Schedule
Extension:
uuid-ossp(Note: this should be installed prior to creating the database)Schemas:
public,alertRoles/Privileges: Alert requires two sets of Postgres Privileges. The
Alert Adminrole is required to installuuid-osspif it doesn't already exist. TheAlert Userrole is required for all other operations during install and operation of the application.Ensure the DB roles have the public schema on their search_path(s):
ALTER ROLE <user> SET search_path = "$user", public;The
Alert Userrole should have the following privileges on all objects in the alert schema (or the schema/database when relevant):SELECTINSERTCREATEUPDATEDELETETRUNCATEREFERENCESTRIGGERTEMPORARYEXECUTEUSAGE
The
Alert Userrole should have the following privileges on all objects in the public schema (or the schema/database when relevant):SELECTINSERTUPDATEDELETEEXECUTE
GRANT UPDATE,SELECT ON public.databasechangeloglock