diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2013-04-17 15:58:04 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2013-04-17 15:58:04 +0200 |
commit | 36b1a442815ebe821aaaf6388fbd0d75b853a44a (patch) | |
tree | af19769c360c12fbbc17380adb68e68077de39ff /DEVELOPERS | |
parent | b431181bd1830beed98aed6569fe399a3636c88b (diff) | |
download | pgfuse-36b1a442815ebe821aaaf6388fbd0d75b853a44a.tar.gz pgfuse-36b1a442815ebe821aaaf6388fbd0d75b853a44a.tar.bz2 |
improved statfs (symlink handling, handling of default PGDATA)
Diffstat (limited to 'DEVELOPERS')
-rw-r--r-- | DEVELOPERS | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -140,7 +140,7 @@ Calculate the size of: a) virtual things like blocks and inodes (that's the way we went) b) get physical disk usage data from the database directly -b) Detect location of tables on disk +B) Detect location of tables on disk a) environment variable PGDATA Is only really set for the postgresql startup script and for the @@ -153,7 +153,9 @@ b) standard location (probed) /var/lib/postgres/data ERROR: must be superuser to examine "data_directory" Can't do this, as the db user must be underprivileged: -c) When the DBA create dedicated tablespaces, then there is no problem + ArchLinux: /var/lib/postgres + Centos/RHEL/Fedora: /var/lib/pgsql + Debian/Ubuntu: /var/lib/postgresql/9.1/main (/var/lib/postgresql should be fine) This is a rough sketch of the algorithm: |