PgDdlCommand
Namespace: Ankus
Assembly: Ankus.Runtime.dll
Owns one command’s descriptive metadata from pg_event_trigger_ddl_commands, independently of the callback lifetime. The opaque pg_ddl_command value and parse-tree pointers are not exposed.
public sealed class PgDdlCommandInheritance: object
Properties
Section titled “Properties”ClassId
Section titled “ClassId”Gets the object’s catalog OID, or null for commands without one object address, such as GRANT.
public uint? ClassId { get; }Value: uint?
CommandTag
Section titled “CommandTag”Gets PostgreSQL’s command tag for this collected command.
public string CommandTag { get; }Value: string
InExtension
Section titled “InExtension”Gets whether the command was collected while an extension script was running.
public bool InExtension { get; }Value: bool
ObjectId
Section titled “ObjectId”Gets the object’s OID, or null when the collected command has no single object address.
public uint? ObjectId { get; }Value: uint?
ObjectIdentity
Section titled “ObjectIdentity”Gets the quoted, qualified object identity, or null when the command has no single object address.
public string? ObjectIdentity { get; }Value: string
ObjectSubId
Section titled “ObjectSubId”Gets the subobject number, zero for a whole object, or null when no object address is available.
public int? ObjectSubId { get; }Value: int?
ObjectType
Section titled “ObjectType”Gets PostgreSQL’s description of the object type.
public string ObjectType { get; }Value: string
SchemaName
Section titled “SchemaName”Gets the schema name, or null for schema-less objects and commands without a single object address.
public string? SchemaName { get; }Value: string