Skip to content

IPgNativeNode

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Identifies a generated PostgreSQL node representation and its native downcast rules.

public interface IPgNativeNode : IPgNativeType

A node starts with a native NodeTag, directly or through a struct or union prefix. Cast acceptance does not validate pointer fields, their ownership, or externally supplied raw storage.

Determines whether a native node with the supplied tag may be viewed as this target type.

public static abstract bool AcceptsTag(uint tag)

Parameters:

tag — uint

The exact native NodeTag value.

Returns: bool

Whether the generated target accepts the tag under PostgreSQL’s node inheritance rules.