Expand description
Streaming table copy under an exported snapshot.
Structs§
Functions§
- copy_
table - Stream
tablefromsrc(inside its snapshot transaction) intodst(inside the caller’s target transaction) withCOPY ... TO STDOUT/COPY ... FROM STDIN. Memory is bounded bybuffer_sizeplus one server chunk. - import_
snapshot - Start a read-only REPEATABLE READ transaction on
srcthat seessnapshot_name. Must be the first statements on the connection’s transaction.