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
- Packagepostgresql-simple-0.7.0.0
- Exports17
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceLargeObjects.hs
Instances7Eq, Ord, Read, Show, Storable, FromField, …
Eq OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.OidOrd OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.OidRead OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.OidShow OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.OidStorable OidDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.OidFromField OidDefined in postgresql-simple-0.7.0.0 · Database.PostgreSQL.Simple.FromFieldoid
ToField OidDefined in postgresql-simple-0.7.0.0 · Database.PostgreSQL.Simple.ToField
LoFd is a Large Object (pseudo) File Descriptor. It is understood by libpq but not by operating system calls.
See GHC.Internal.System.IO.openFile
Instances7Enum, Eq, Ord, Read, Show, Ix, …
Enum IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOModeEq IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOModeOrd IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOModeRead IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOModeShow IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOModeIx IOModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.IOModeToCInt IOModeDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Enums
A mode that determines the effect of GHC.Internal.System.IO.hSeek hdl mode i.
Constructors
AbsoluteSeekthe position of
hdlis set toi.RelativeSeekthe position of
hdlis set to offsetifrom the current position.SeekFromEndthe position of
hdlis set to offsetifrom the end of the file.
Instances7Enum, Eq, Ord, Read, Show, Ix, …
Enum SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.DeviceEq SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.DeviceOrd SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.DeviceRead SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.DeviceShow SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.DeviceIx SeekModeDefined in ghc-internal-9.1003.0 · GHC.Internal.IO.DeviceToCInt SeekModeDefined in postgresql-libpq-0.11.0.0 · Database.PostgreSQL.LibPQ.Enums