Skip to content

PgAggregateFinalModify

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Describes whether an aggregate final callback may modify its transition state.

public enum PgAggregateFinalModify

Uses PostgreSQL’s default for this aggregate kind.

Default = 0

Leaves state unchanged and permits sharing or repeated final evaluation.

ReadOnly = 1

May modify or consume state, preventing subsequent use of the same transition state.

ReadWrite = 3

May modify state but allows subsequent final callbacks to use it.

Shareable = 2