* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+
+extern bool got_show_fds;
+
bool admin_handle_client(PgSocket *client, PktHdr *pkt) _MUSTCHECK;
bool admin_pre_login(PgSocket *client, const char *username) _MUSTCHECK;
bool admin_post_login(PgSocket *client) _MUSTCHECK;
/* only valid during processing */
static const char *current_query;
+bool got_show_fds;
+
void admin_cleanup(void)
{
regfree(&rc_cmd);
PgSocket *sk;
bool res = true;
+ got_show_fds = true;
+
statlist_for_each(item, list) {
sk = container_of(item, PgSocket, head);
res = show_one_fd(admin, sk);