Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote mode does not work. Stored function 'pg_cputime' is missing. #11

Closed
Sammers21 opened this issue Sep 10, 2019 · 3 comments
Closed

Comments

@Sammers21
Copy link

Sammers21 commented Sep 10, 2019

Problem

I'm trying to connect to a PostgreSQL located in a docker container using remote mode

$ pg_top -r -h localhost -p 5432 -U postgres -W
Password: 
Stored function 'pg_cputime' is missing.

Version

$ pg_top --version
pg_top 3.7.0

$ select version();
PostgreSQL 9.6.14 on x86_64-pc-linux-gnu (Debian 9.6.14-1.pgdg90+1), compiled by gcc (Debian 6.3.0-18+deb9u1) 6.3.0 2
0170516, 64-bit
@Sammers21 Sammers21 changed the title Remote mode does not work Remote mode does not work. Stored function 'pg_cputime' is missing. Sep 10, 2019
@Sammers21
Copy link
Author

@markwkm , is PostgreSQL 9.6.14 compatible with remote mode?

@markwkm
Copy link
Owner

markwkm commented Sep 12, 2019

The pg_proctab extension needs to be loaded into the database you are connecting too. That can be installed from pgxn or source.

@Sammers21
Copy link
Author

@markwkm, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants