Skip to content

PgParallelSafety

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Declares where PostgreSQL may execute a function in a parallel query.

public enum PgParallelSafety

Allows parallel plans but executes the function only in the leader process.

Restricted = 1

Allows execution in parallel workers as well as the leader.

Safe = 2

Disables parallel plans for queries containing the function. This is the default.

Unsafe = 0