File postgresql-tmpfiles.conf of Package postgresql

# For the PostgreSQL server's unix domain socket
d /run/postgresql 1775 postgres postgres - -
f /var/lib/pgsql/.bash_profile 0640 postgres postgres - /usr/share/postgresql/bash_profile