On Sat, 4 Jan 2020, nikhil raj wrote:

Step 1-: Stop the postgres services and change the path of the
data directory in postgres.conf file.

The postgresql.conf.sample notes that the default value of data_directory is
taken from -D in the startup command or the PGDATA environment variable. I
suppose that I can define PGDATA in ~/.bash_profile as I'm the only user.

Thanks,

Rich


Reply via email to