HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulepostgresql-simple-0.7.0.0Haskell2010

Database.PostgreSQL.Simple.LargeObjects

Support for PostgreSQL's Large Objects; see https://www.postgresql.org/docs/9.5/static/largeobjects.html for more information.

Note that Large Object File Descriptors are only valid within a single database transaction, so if you are interested in using anything beyond loCreat, loCreate, and loUnlink, you will need to run the entire sequence of functions in a transaction. As loImport and loExport are simply C functions that call loCreat, loOpen, loRead, and loWrite, and do not perform any transaction handling themselves, they also need to be wrapped in an explicit transaction.

  • 4 types
  • 13 values
newtypenewtype Oid
#

Constructors

Instances7Eq, Ord, Read, Show, Storable, FromField, …
  • Eq OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Oid
  • Ord OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Oid
  • Read OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Oid
  • Show OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Oid
  • Storable OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Oid
  • FromField OidDefined in postgresql-simple-0.7.0.0 · Database.PostgreSQL.Simple.FromField

    oid

  • ToField OidDefined in postgresql-simple-0.7.0.0 · Database.PostgreSQL.Simple.ToField
newtypenewtype LoFd
#

LoFd is a Large Object (pseudo) File Descriptor. It is understood by libpq but not by operating system calls.

Instances3Eq, Ord, Show
  • Eq LoFdDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ
  • Ord LoFdDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ
  • Show LoFdDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ
datadata IOMode
#

See GHC.Internal.System.IO.openFile

Instances7Enum, Eq, Ord, Read, Show, Ix, …
  • Enum IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOMode
  • Eq IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOMode
  • Ord IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOMode
  • Read IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOMode
  • Show IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOMode
  • Ix IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOMode
  • ToCInt IOModeDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Enums
datadata SeekMode
#

A mode that determines the effect of GHC.Internal.System.IO.hSeek hdl mode i.

Constructors

  • AbsoluteSeek

    the position of hdl is set to i.

  • RelativeSeek

    the position of hdl is set to offset i from the current position.

  • SeekFromEnd

    the position of hdl is set to offset i from the end of the file.

Instances7Enum, Eq, Ord, Read, Show, Ix, …
  • Enum SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Device
  • Eq SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Device
  • Ord SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Device
  • Read SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Device
  • Show SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Device
  • Ix SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.Device
  • ToCInt SeekModeDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Enums