Package-level declarations

Types

Link copied to clipboard
class LargeObject(session: OctaviusSession, val oid: Int, val fd: Int) : AutoCloseable

Represents an open descriptor to a PostgreSQL Large Object. Implements AutoCloseable for convenient usage within .use { } blocks.

Link copied to clipboard

An InputStream that reads data from a PostgreSQL LargeObject. Closing this stream also closes the underlying LargeObject.

Link copied to clipboard

Manager for PostgreSQL Large Objects associated with a specific connection. NOTE: All operations on Large Objects must be performed within a transaction (BEGIN ... COMMIT/ROLLBACK) to be valid in PostgreSQL. Note: PostgreSQL OIDs are unsigned 32-bit integers. In the JVM, they are represented as signed Int, meaning values above 2.14B will appear as negative numbers if printed. This is expected and perfectly safe for database operations.

Link copied to clipboard

Defines access modes for opening PostgreSQL Large Objects.

Link copied to clipboard

An OutputStream that writes data to a PostgreSQL LargeObject. Closing this stream also closes the underlying LargeObject.

Link copied to clipboard
object SeekWhence

Defines the reference point for seek operations on a Large Object.