summaryrefslogtreecommitdiff
path: root/DEVELOPERS
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-04-17 15:58:04 +0200
committerAndreas Baumann <abaumann@yahoo.com>2013-04-17 15:58:04 +0200
commit36b1a442815ebe821aaaf6388fbd0d75b853a44a (patch)
treeaf19769c360c12fbbc17380adb68e68077de39ff /DEVELOPERS
parentb431181bd1830beed98aed6569fe399a3636c88b (diff)
downloadpgfuse-36b1a442815ebe821aaaf6388fbd0d75b853a44a.tar.gz
pgfuse-36b1a442815ebe821aaaf6388fbd0d75b853a44a.tar.bz2
improved statfs (symlink handling, handling of default PGDATA)
Diffstat (limited to 'DEVELOPERS')
-rw-r--r--DEVELOPERS6
1 files changed, 4 insertions, 2 deletions
diff --git a/DEVELOPERS b/DEVELOPERS
index fc329ea..d146bb5 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -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: