ToastTupleTargetParameter

PostgreSQL toast_tuple_target parameter.

Controls the minimum tuple length required before TOAST compression is attempted. Larger values may reduce CPU overhead at the cost of storage space.

Example:

object Documents : Table("documents") {
override val storageParameters = listOf(Table.ToastTupleTargetParameter(8160))
}

Generates: toast_tuple_target=8160

Constructors

Link copied to clipboard
constructor(value: Int)

Functions

Link copied to clipboard
open override fun toSQL(): String

Returns the SQL string representation of this parameter for use in a WITH clause.

Link copied to clipboard
open override fun toString(): String