Skip to content

How to know if PG_TIMETABLE is running ? #170

Answered by pashagolub
msisolucoes asked this question in Q&A
Discussion options

You must be logged in to vote

Ah, you mean from the database point of view :) Sorry.

Well the most obvious would be to check the special table. You can read about this in my blog post.

SELECT * FROM timetable.active_session;

You can, of course, check special PostgreSQL view, in case you are using outdated pg_timetable (I hope you're not :-)

SELECT * FROM pg_stat_activity WHERE datname = 'mydatabasename';

Kind regards!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@msisolucoes
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by pashagolub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants