Closed fluca1978 closed 6 years ago
Queries from the system other than the one the database is running at are not supported, as pg_view uses information from local /proc in order to deliver system statistics. That is also the reason behind the fact that pg_view is currently Linux only. We would very much like to address both in 2.0, by allowing the system be collected by sprocs inside the remote database and querying the results from local pg_view.
There is a proof-on-concept PR from @a1exsh https://github.com/zalando/pg_view/pull/80
I've a remote FreeBSD machine running PostgreSQL 9.6.5 (procfs enabled, if that matters). From an ubuntu machine I try to use pg_view installed from the repostiory (de5325ac50).
Now when I try to start the pg_view command I have the error in the subject:
I'm using python 2.7. Of course, PostgreSQL is running, as well as the postmaster.pid file is in place. What am I missing?