Difference between revisions of "State"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
 
* [[Ansible state]]: <code>[[present]] | [[absent]] | [[rebooted]]</code>
 
* [[Ansible state]]: <code>[[present]] | [[absent]] | [[rebooted]]</code>
  
SELECT usename, application_name, client_addr, client_hostname, state FROM [[pg_stat_activity]];
+
* <code>SELECT usename, application_name, client_addr, client_hostname, state FROM [[pg_stat_activity]];</code>

Revision as of 13:21, 6 February 2023

  • SELECT usename, application_name, client_addr, client_hostname, state FROM pg_stat_activity;

Advertising: