There is of course set_config in 9.4 - superusers can then edit the config file through that (a superuser can overwrite any file the user running the server can write to anyway, but through more convoluted means).
There is of course set_config in 9.4 - superusers can then edit the config file through that (a superuser can overwrite any file the user running the server can write to anyway, but through more convoluted means).
I'd also like to know more about how superusers can overwrite files. Do you have a link?
[1] http://www.postgresql.org/docs/9.4/static/functions-admin.ht... [2] http://www.postgresql.org/docs/9.4/static/runtime-config-wal...
Regarding superusers overwriting files - COPY can write to anywhere on the filesystem. From the docs "COPY naming a file is only allowed to database superusers, since it allows reading or writing any file that the server has privileges to access." [3].
[1] http://www.postgresql.org/docs/9.4/static/sql-altersystem.ht...
[2] http://michael.otacoo.com/postgresql-2/postgres-9-4-feature-...
[3] http://www.postgresql.org/docs/current/static/sql-copy.html