PgParallelSafety
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Declares where PostgreSQL may execute a function in a parallel query.
public enum PgParallelSafetyFields
Section titled “Fields”Restricted
Section titled “Restricted”Allows parallel plans but executes the function only in the leader process.
Restricted = 1Allows execution in parallel workers as well as the leader.
Safe = 2Unsafe
Section titled “Unsafe”Disables parallel plans for queries containing the function. This is the default.
Unsafe = 0