@@ -53,7 +53,7 @@ import Database.PostgreSQL.Simple.Internal
54-- | Issue a @COPY FROM STDIN@ or @COPY TO STDOUT@ query. In the former
54-- | Issue a @COPY FROM STDIN@ or @COPY TO STDOUT@ query. In the former
55-- case, the connection's state will change to @CopyIn@; in the latter,
55-- case, the connection's state will change to @CopyIn@; in the latter,
56−-- @CopyOut@. The connection must be in the normal state in order
56+-- @CopyOut@. The connection must be in the ready state in order
57-- to call this function. Performs parameter subsitution.
57-- to call this function. Performs parameter subsitution.
59copy :: ( ToRow params ) => Connection -> Query -> params -> IO ()
59copy :: ( ToRow params ) => Connection -> Query -> params -> IO ()
@@ -64,7 +64,7 @@ copy conn template qs = do
65-- | Issue a @COPY FROM STDIN@ or @COPY TO STDOUT@ query. In the former
65-- | Issue a @COPY FROM STDIN@ or @COPY TO STDOUT@ query. In the former
66-- case, the connection's state will change to @CopyIn@; in the latter,
66-- case, the connection's state will change to @CopyIn@; in the latter,
67−-- @CopyOut@. The connection must be in the normal state in order
67+-- @CopyOut@. The connection must be in the ready state in order
68-- to call this function. Does not perform parameter subsitution.
68-- to call this function. Does not perform parameter subsitution.
70copy_ :: Connection -> Query -> IO ()
70copy_ :: Connection -> Query -> IO ()
@@ -163,7 +163,7 @@ putCopyData conn dat = withConnection conn $ \pqconn -> do
164-- A connection must be in the @CopyIn@ state in order to call this
164-- A connection must be in the @CopyIn@ state in order to call this
165-- function, otherwise a 'SqlError' exception will result. The
165-- function, otherwise a 'SqlError' exception will result. The
166−-- connection's state changes back to normal after this function
166+-- connection's state changes back to ready after this function
167-- is called.
167-- is called.
169putCopyEnd :: Connection -> IO Int64
169putCopyEnd :: Connection -> IO Int64
@@ -180,7 +180,7 @@ putCopyEnd conn = withConnection conn $ \pqconn -> do
181-- A connection must be in the @CopyIn@ state in order to call this
181-- A connection must be in the @CopyIn@ state in order to call this
182-- function, otherwise a 'SqlError' exception will result. The
182-- function, otherwise a 'SqlError' exception will result. The
183−-- connection's state changes back to normal after this function
183+-- connection's state changes back to ready after this function
184-- is called.
184-- is called.
186putCopyError :: Connection -> B.ByteString -> IO ()
186putCopyError :: Connection -> B.ByteString -> IO ()