Difference between revisions of "Pg cancel backend"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
  
 
  SELECT [[pg_terminate_backend]](__pid__) from [[pg_stat_activity]];
 
  SELECT [[pg_terminate_backend]](__pid__) from [[pg_stat_activity]];
 +
 +
 +
select [[pg_terminate_backend]](procpid) from pg_stat_activity where datname = 'your-db';
  
 
== Related ==
 
== Related ==

Latest revision as of 11:45, 16 December 2022

Advertising: