How to configure custom database directory for rh-postgresql10

Solution Verified - Updated -

Issue

  • rh-postgresql10 has a default database directory at /var/opt/rh/rh-postgresql10/lib/pgsql/data .
  • We want to have it at a new, bigger filesystem.

Environment

  • RHEL 7
  • rh-postgresql10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content