Re: Changing default ../data/ directory
Rich Shepard <[email protected]> Sat, 4 Jan 2020 10:05:53 -0800 (PST)
| Newsgroups | gmane.comp.db.postgresql.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 4 Jan 2020, Jeff Janes wrote: > PGDATA should work fine if you always start the server directly. But if > you sudo or su to another user, they likely won't inherit your environment > variables. And if you use some kind of start-up script, they will likely > override it. How do you start and stop PostgreSQL? Jeff, Slackware's /etc/rc.d/rc.postgresql start command. I can modify that script to change the data directory path. Thanks, Rich