def pgsql(_pgsql, pgsql_apply):
    """Returns pgsql wrapper dictionary.

    Example usage:

    .. code-block:: python

      def test_pg(pgsql):
          cursor = pgsql['example_db'].cursor()
          cursor.execute('SELECT ... FROM ...WHERE ...')
          assert list(cusror) == [...]
    """
    return _pgsql