CopyOperation

Base interface for COPY operations.

Inheritors

Properties

Link copied to clipboard
abstract val isActive: Boolean

Whether the transfer is still in progress, and with it whether the connection is still in copy mode and unusable for ordinary queries.

Functions

Link copied to clipboard
abstract fun cancelCopy()

Abandons the transfer and returns the connection to a usable state.

Link copied to clipboard
open override fun close()

Cancels the transfer if it is still running, so use { } cannot leave a connection in copy mode.