Documentation

Hale.Hasql.Database.PostgreSQL.LibPQ.Types

Opaque PostgreSQL connection handle. $$\text{PgConn} : \text{NonemptyType}$$ Wraps libpq's PGconn*. The GC finalizer calls PQfinish.

A live (or formerly-live) PostgreSQL connection.

Equations
Instances For

    Opaque PostgreSQL result handle. $$\text{PgResult} : \text{NonemptyType}$$ Wraps libpq's PGresult*. The GC finalizer calls PQclear.

    Connection status returned by PQstatus. $$\text{ConnStatus} \in \{\text{ok}, \text{bad}, \text{other}\}$$

    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For

        Result status returned by PQresultStatus. $$\text{ExecStatus} \in \{\text{emptyQuery}, \text{commandOk}, \ldots\}$$

        Instances For
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For

              Transaction status returned by PQtransactionStatus.

              Instances For
                Equations
                • One or more equations did not get rendered due to their size.
                Instances For

                  A PostgreSQL error returned from libpq.

                  Instances For
                    Equations
                    Instances For
                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For
                        @[implicit_reducible]
                        Equations
                        • One or more equations did not get rendered due to their size.

                        A LISTEN/NOTIFY notification from PostgreSQL.

                        Instances For
                          Equations
                          Instances For
                            Equations
                            • One or more equations did not get rendered due to their size.
                            Instances For