Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
polysemy Polysemy.Output Like runLazyOutputMonoid, but right-associates uses of <>. This asymptotically improves performance if the time complexity of <> for the Monoid depends only on the size of the first argument. You should always use this instead of runLazyOutputMonoid if the monoid is a list, such as String. Warning: This inherits the nasty space leak issue of WriterT! Don't use this if you don't have to.
-
polysemy Polysemy.Output Run an Output effect by transforming it into a monoid.
-
polysemy Polysemy.Output Like runOutputMonoid, but right-associates uses of <>. This asymptotically improves performance if the time complexity of <> for the Monoid depends only on the size of the first argument. You should always use this instead of runOutputMonoid if the monoid is a list, such as String.
-
polysemy Polysemy.Output Run an Output effect by transforming it into atomic operations over an IORef.
-
polysemy Polysemy.Output Run an Output effect by transforming it into atomic operations over a TVar.
-
postgresql-libpq Database.PostgreSQL.LibPQ No documentation available.
-
postgresql-libpq Database.PostgreSQL.LibPQ No documentation available.
TransIdle :: TransactionStatuspostgresql-libpq Database.PostgreSQL.LibPQ currently idle
backendPID :: Connection -> IO CPidpostgresql-libpq Database.PostgreSQL.LibPQ Returns the process CPid of the backend server process handling this connection. The backend PID is useful for debugging purposes and for comparison to NOTIFY messages (which include the PID of the notifying backend process). Note that the PID belongs to a process executing on the database server host, not the local host!
escapeIdentifier :: Connection -> ByteString -> IO (Maybe ByteString)postgresql-libpq Database.PostgreSQL.LibPQ escapeIdentifier escapes a string for use as an SQL identifier, such as a table, column, or function name. This is useful when a user-supplied identifier might contain special characters that would otherwise not be interpreted as part of the identifier by the SQL parser, or when the identifier might contain upper case characters whose case should be preserved. The return string has all special characters replaced so that it will be properly processed as an SQL identifier. The return string will also be surrounded by double quotes. On error, escapeIdentifier returns Nothing and a suitable message is stored in the conn object.