[Slackbuilds-users] Postgresql default data dir

Eugen Wissner belka at caraus.de
Sat Jul 2 07:57:59 UTC 2016

I don't think it is different than Gentoo or Ubuntu. /usr/share is only
for documentation, samples and some other stuff.
Data dir in the sense of the directory where the databases are kept, is
the home directory of the postgres user, default /var/lib/pgsql.

Look for "# base database directory" comment in the build script.


Am Samstag, den 02.07.2016, 08:27 +0100 schrieb Sebastian Arcus:
> I note that using the SBo script, the default data dir for PostgreSQL
> is 
> set under /usr/share. The default PostgreSQL data dir (if not set)
> is 
> under /usr/local. I always thought that the aim is to have 
> non-changeable files under /usr (or rarely changeable). Even Gentoo
> and 
> Ubuntu have it under /var/lib. I was wondering if the SBo script 
> shouldn't attempt to follow the same sane path and have it under 
> something like /var/lib or /srv or something?
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/

More information about the SlackBuilds-users mailing list