<?php $connection = $this->driver->connect($parameters);
$hash = microtime(true); // required to identify the record in the results uniquely
$sql = sprintf('SELECT * FROM pg_stat_activity WHERE %d = %d', $hash, $hash);
$records = $connection->query($sql)->fetchAllAssociative();