git.iko.soy/typeable/postgresql-simple
on master help sign in
Clarify loImport/transaction issue in docs
72a65f8Leon P Smith
src/Database/PostgreSQL/Simple/LargeObjects.hs+5−2
@@ -12,8 +12,11 @@
12--
12--
13-- Note that Large Object File Descriptors are only valid within a single
13-- Note that Large Object File Descriptors are only valid within a single
14-- database transaction, so if you are interested in using anything beyond
14-- database transaction, so if you are interested in using anything beyond
15−-- 'loCreat', 'loImport', 'loExport', and 'loUnlink', you will need to run
15+-- 'loCreat', 'loCreate', and 'loUnlink', you will need to run the entire
16−-- the entire sequence of functions in a transaction.
16+-- sequence of functions in a transaction. As 'loImport' and 'loExport'
17+-- are simply C functions that call 'loCreat', 'loOpen', 'loRead', and
18+-- 'loWrite', and do not perform any transaction handling themselves,
19+-- they also need to be wrapped in an explicit transaction.
17--
20--
18-----------------------------------------------------------------------------
21-----------------------------------------------------------------------------
19
22