Path: csiph.com!weretis.net!feeder4.news.weretis.net!news.roellig-ltd.de!open-news-network.org!poup.poupinou.org!news.izac.org!reader From: Benoit Izac Newsgroups: comp.databases.postgresql Subject: Re: Linux Recommended Installation Directory Date: Wed, 19 Oct 2016 18:24:45 +0200 Lines: 19 Message-ID: <87r37cnw6q.fsf@izac.org> References: Reply-To: benoit.izac@free.fr Mime-Version: 1.0 Content-Type: text/plain NNTP-Posting-Date: Wed, 19 Oct 2016 16:24:45 +0000 (UTC) Xref: csiph.com comp.databases.postgresql:723 gargoyle60 writes: > I have Lubuntu 14.04 (32-bit) on an i386 machine and have downloaded > the interactive installer by > EnterpriseDB for version 9.4.9 (postgresql-9.4.9-2-linux.run). > > As my usual approach for installing on Linux I have always chosen to > install with PGDATA set as > "/var/lib/postgresql/9.4" but I notice that the interactive installer > prompts to use /opt rather > than /var. > > What are the general thoughts regarding the recommended directory? For Linux, this is documented in hier(7), /opt is for static data, /var/opt/ is for variable data. -- Benoit Izac