1 2 3 4 5
#!/bin/bash export PGDATA=/var/lib/postgres/data14 export PATH=/opt/postgresql14/bin:$PATH export LD_LIBRARY_PATH=/opt/postgresql14/lib