@pgsql/types
Advanced tools
+76
| /** | ||
| * This file was automatically generated by pg-proto-parser@1.25.0. | ||
| * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, | ||
| * and run the pg-proto-parser generate command to regenerate this file. | ||
| */ | ||
| export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; | ||
| export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; | ||
| export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; | ||
| export type SetQuantifier = "SET_QUANTIFIER_DEFAULT" | "SET_QUANTIFIER_ALL" | "SET_QUANTIFIER_DISTINCT"; | ||
| export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM"; | ||
| export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_ROLE" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; | ||
| export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_COMPRESSION" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; | ||
| export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; | ||
| export type PartitionStrategy = "PARTITION_STRATEGY_LIST" | "PARTITION_STRATEGY_RANGE" | "PARTITION_STRATEGY_HASH"; | ||
| export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; | ||
| export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; | ||
| export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK" | "WCO_RLS_MERGE_UPDATE_CHECK" | "WCO_RLS_MERGE_DELETE_CHECK"; | ||
| export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; | ||
| export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; | ||
| export type JsonQuotes = "JS_QUOTES_UNSPEC" | "JS_QUOTES_KEEP" | "JS_QUOTES_OMIT"; | ||
| export type JsonTableColumnType = "JTC_FOR_ORDINALITY" | "JTC_REGULAR" | "JTC_EXISTS" | "JTC_FORMATTED" | "JTC_NESTED"; | ||
| export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; | ||
| export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_PARAMETER_ACL" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_NAMESPACE" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; | ||
| export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; | ||
| export type AlterTableType = "AT_AddColumn" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_SetExpression" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_SetCompression" | "AT_DropColumn" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetAccessMethod" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_DetachPartitionFinalize" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity" | "AT_ReAddStatistics"; | ||
| export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; | ||
| export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; | ||
| export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; | ||
| export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; | ||
| export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; | ||
| export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; | ||
| export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE" | "FUNC_PARAM_DEFAULT"; | ||
| export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; | ||
| export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; | ||
| export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; | ||
| export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; | ||
| export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; | ||
| export type PublicationObjSpecType = "PUBLICATIONOBJ_TABLE" | "PUBLICATIONOBJ_TABLES_IN_SCHEMA" | "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA" | "PUBLICATIONOBJ_CONTINUATION"; | ||
| export type AlterPublicationAction = "AP_AddObjects" | "AP_DropObjects" | "AP_SetObjects"; | ||
| export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_SET_PUBLICATION" | "ALTER_SUBSCRIPTION_ADD_PUBLICATION" | "ALTER_SUBSCRIPTION_DROP_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED" | "ALTER_SUBSCRIPTION_SKIP"; | ||
| export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; | ||
| export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; | ||
| export type TableFuncType = "TFT_XMLTABLE" | "TFT_JSON_TABLE"; | ||
| export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; | ||
| export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_PLPGSQL" | "COERCION_EXPLICIT"; | ||
| export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST" | "COERCE_SQL_SYNTAX"; | ||
| export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; | ||
| export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; | ||
| export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; | ||
| export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; | ||
| export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; | ||
| export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; | ||
| export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; | ||
| export type JsonEncoding = "JS_ENC_DEFAULT" | "JS_ENC_UTF8" | "JS_ENC_UTF16" | "JS_ENC_UTF32"; | ||
| export type JsonFormatType = "JS_FORMAT_DEFAULT" | "JS_FORMAT_JSON" | "JS_FORMAT_JSONB"; | ||
| export type JsonConstructorType = "JSCTOR_JSON_OBJECT" | "JSCTOR_JSON_ARRAY" | "JSCTOR_JSON_OBJECTAGG" | "JSCTOR_JSON_ARRAYAGG" | "JSCTOR_JSON_PARSE" | "JSCTOR_JSON_SCALAR" | "JSCTOR_JSON_SERIALIZE"; | ||
| export type JsonValueType = "JS_TYPE_ANY" | "JS_TYPE_OBJECT" | "JS_TYPE_ARRAY" | "JS_TYPE_SCALAR"; | ||
| export type JsonWrapper = "JSW_UNSPEC" | "JSW_NONE" | "JSW_CONDITIONAL" | "JSW_UNCONDITIONAL"; | ||
| export type JsonBehaviorType = "JSON_BEHAVIOR_NULL" | "JSON_BEHAVIOR_ERROR" | "JSON_BEHAVIOR_EMPTY" | "JSON_BEHAVIOR_TRUE" | "JSON_BEHAVIOR_FALSE" | "JSON_BEHAVIOR_UNKNOWN" | "JSON_BEHAVIOR_EMPTY_ARRAY" | "JSON_BEHAVIOR_EMPTY_OBJECT" | "JSON_BEHAVIOR_DEFAULT"; | ||
| export type JsonExprOp = "JSON_EXISTS_OP" | "JSON_QUERY_OP" | "JSON_VALUE_OP" | "JSON_TABLE_OP"; | ||
| export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; | ||
| export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; | ||
| export type MergeMatchKind = "MERGE_WHEN_MATCHED" | "MERGE_WHEN_NOT_MATCHED_BY_SOURCE" | "MERGE_WHEN_NOT_MATCHED_BY_TARGET"; | ||
| export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_MERGE" | "CMD_UTILITY" | "CMD_NOTHING"; | ||
| export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_RIGHT_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; | ||
| export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; | ||
| export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; | ||
| export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; | ||
| export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; | ||
| export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; | ||
| export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; | ||
| export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; | ||
| export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; | ||
| export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; | ||
| export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; | ||
| export type Token = "NUL" | "ASCII_36" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSENT" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASENSITIVE" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "ATOMIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BREADTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "COMPRESSION" | "CONCURRENTLY" | "CONDITIONAL" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DEPTH" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "EMPTY_P" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ERROR_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FINALIZE" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORMAT" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "JSON" | "JSON_ARRAY" | "JSON_ARRAYAGG" | "JSON_EXISTS" | "JSON_OBJECT" | "JSON_OBJECTAGG" | "JSON_QUERY" | "JSON_SCALAR" | "JSON_SERIALIZE" | "JSON_TABLE" | "JSON_VALUE" | "KEEP" | "KEY" | "KEYS" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATCHED" | "MATERIALIZED" | "MAXVALUE" | "MERGE" | "MERGE_ACTION" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NESTED" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "OMIT" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARAMETER" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PATH" | "PLACING" | "PLAN" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "QUOTES" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURN" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCALAR" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SOURCE" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRING_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "SYSTEM_USER" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TARGET" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCONDITIONAL" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "FORMAT_LA" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "WITHOUT_LA" | "MODE_TYPE_NAME" | "MODE_PLPGSQL_EXPR" | "MODE_PLPGSQL_ASSIGN1" | "MODE_PLPGSQL_ASSIGN2" | "MODE_PLPGSQL_ASSIGN3" | "UMINUS"; |
+2
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
| export {}; |
| export * from './types'; | ||
| export * from './enums'; |
| export {}; |
| export * from './types'; | ||
| export * from './enums'; |
+18
| "use strict"; | ||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| var desc = Object.getOwnPropertyDescriptor(m, k); | ||
| if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
| desc = { enumerable: true, get: function() { return m[k]; } }; | ||
| } | ||
| Object.defineProperty(o, k2, desc); | ||
| }) : (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| o[k2] = m[k]; | ||
| })); | ||
| var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
| for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| __exportStar(require("./types"), exports); | ||
| __exportStar(require("./enums"), exports); |
+2488
| /** | ||
| * This file was automatically generated by pg-proto-parser@1.25.0. | ||
| * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, | ||
| * and run the pg-proto-parser generate command to regenerate this file. | ||
| */ | ||
| import { QuerySource, SortByDir, SortByNulls, A_Expr_Kind, RoleSpecType, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, JsonQuotes, JsonTableColumnType, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OverridingKind, OnCommitAction, TableFuncType, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, JsonWrapper, JsonBehaviorType, JsonExprOp, NullTestType, BoolTestType, MergeMatchKind, CmdType, JoinType, AggSplit, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, KeywordKind, Token } from "./enums"; | ||
| export type Node = { | ||
| ParseResult: ParseResult; | ||
| } | { | ||
| ScanResult: ScanResult; | ||
| } | { | ||
| Integer: Integer; | ||
| } | { | ||
| Float: Float; | ||
| } | { | ||
| Boolean: Boolean; | ||
| } | { | ||
| String: String; | ||
| } | { | ||
| BitString: BitString; | ||
| } | { | ||
| List: List; | ||
| } | { | ||
| OidList: OidList; | ||
| } | { | ||
| IntList: IntList; | ||
| } | { | ||
| A_Const: A_Const; | ||
| } | { | ||
| Alias: Alias; | ||
| } | { | ||
| RangeVar: RangeVar; | ||
| } | { | ||
| TableFunc: TableFunc; | ||
| } | { | ||
| IntoClause: IntoClause; | ||
| } | { | ||
| Var: Var; | ||
| } | { | ||
| Param: Param; | ||
| } | { | ||
| Aggref: Aggref; | ||
| } | { | ||
| GroupingFunc: GroupingFunc; | ||
| } | { | ||
| WindowFunc: WindowFunc; | ||
| } | { | ||
| WindowFuncRunCondition: WindowFuncRunCondition; | ||
| } | { | ||
| MergeSupportFunc: MergeSupportFunc; | ||
| } | { | ||
| SubscriptingRef: SubscriptingRef; | ||
| } | { | ||
| FuncExpr: FuncExpr; | ||
| } | { | ||
| NamedArgExpr: NamedArgExpr; | ||
| } | { | ||
| OpExpr: OpExpr; | ||
| } | { | ||
| DistinctExpr: DistinctExpr; | ||
| } | { | ||
| NullIfExpr: NullIfExpr; | ||
| } | { | ||
| ScalarArrayOpExpr: ScalarArrayOpExpr; | ||
| } | { | ||
| BoolExpr: BoolExpr; | ||
| } | { | ||
| SubLink: SubLink; | ||
| } | { | ||
| SubPlan: SubPlan; | ||
| } | { | ||
| AlternativeSubPlan: AlternativeSubPlan; | ||
| } | { | ||
| FieldSelect: FieldSelect; | ||
| } | { | ||
| FieldStore: FieldStore; | ||
| } | { | ||
| RelabelType: RelabelType; | ||
| } | { | ||
| CoerceViaIO: CoerceViaIO; | ||
| } | { | ||
| ArrayCoerceExpr: ArrayCoerceExpr; | ||
| } | { | ||
| ConvertRowtypeExpr: ConvertRowtypeExpr; | ||
| } | { | ||
| CollateExpr: CollateExpr; | ||
| } | { | ||
| CaseExpr: CaseExpr; | ||
| } | { | ||
| CaseWhen: CaseWhen; | ||
| } | { | ||
| CaseTestExpr: CaseTestExpr; | ||
| } | { | ||
| ArrayExpr: ArrayExpr; | ||
| } | { | ||
| RowExpr: RowExpr; | ||
| } | { | ||
| RowCompareExpr: RowCompareExpr; | ||
| } | { | ||
| CoalesceExpr: CoalesceExpr; | ||
| } | { | ||
| MinMaxExpr: MinMaxExpr; | ||
| } | { | ||
| SQLValueFunction: SQLValueFunction; | ||
| } | { | ||
| XmlExpr: XmlExpr; | ||
| } | { | ||
| JsonFormat: JsonFormat; | ||
| } | { | ||
| JsonReturning: JsonReturning; | ||
| } | { | ||
| JsonValueExpr: JsonValueExpr; | ||
| } | { | ||
| JsonConstructorExpr: JsonConstructorExpr; | ||
| } | { | ||
| JsonIsPredicate: JsonIsPredicate; | ||
| } | { | ||
| JsonBehavior: JsonBehavior; | ||
| } | { | ||
| JsonExpr: JsonExpr; | ||
| } | { | ||
| JsonTablePath: JsonTablePath; | ||
| } | { | ||
| JsonTablePathScan: JsonTablePathScan; | ||
| } | { | ||
| JsonTableSiblingJoin: JsonTableSiblingJoin; | ||
| } | { | ||
| NullTest: NullTest; | ||
| } | { | ||
| BooleanTest: BooleanTest; | ||
| } | { | ||
| MergeAction: MergeAction; | ||
| } | { | ||
| CoerceToDomain: CoerceToDomain; | ||
| } | { | ||
| CoerceToDomainValue: CoerceToDomainValue; | ||
| } | { | ||
| SetToDefault: SetToDefault; | ||
| } | { | ||
| CurrentOfExpr: CurrentOfExpr; | ||
| } | { | ||
| NextValueExpr: NextValueExpr; | ||
| } | { | ||
| InferenceElem: InferenceElem; | ||
| } | { | ||
| TargetEntry: TargetEntry; | ||
| } | { | ||
| RangeTblRef: RangeTblRef; | ||
| } | { | ||
| JoinExpr: JoinExpr; | ||
| } | { | ||
| FromExpr: FromExpr; | ||
| } | { | ||
| OnConflictExpr: OnConflictExpr; | ||
| } | { | ||
| Query: Query; | ||
| } | { | ||
| TypeName: TypeName; | ||
| } | { | ||
| ColumnRef: ColumnRef; | ||
| } | { | ||
| ParamRef: ParamRef; | ||
| } | { | ||
| A_Expr: A_Expr; | ||
| } | { | ||
| TypeCast: TypeCast; | ||
| } | { | ||
| CollateClause: CollateClause; | ||
| } | { | ||
| RoleSpec: RoleSpec; | ||
| } | { | ||
| FuncCall: FuncCall; | ||
| } | { | ||
| A_Star: A_Star; | ||
| } | { | ||
| A_Indices: A_Indices; | ||
| } | { | ||
| A_Indirection: A_Indirection; | ||
| } | { | ||
| A_ArrayExpr: A_ArrayExpr; | ||
| } | { | ||
| ResTarget: ResTarget; | ||
| } | { | ||
| MultiAssignRef: MultiAssignRef; | ||
| } | { | ||
| SortBy: SortBy; | ||
| } | { | ||
| WindowDef: WindowDef; | ||
| } | { | ||
| RangeSubselect: RangeSubselect; | ||
| } | { | ||
| RangeFunction: RangeFunction; | ||
| } | { | ||
| RangeTableFunc: RangeTableFunc; | ||
| } | { | ||
| RangeTableFuncCol: RangeTableFuncCol; | ||
| } | { | ||
| RangeTableSample: RangeTableSample; | ||
| } | { | ||
| ColumnDef: ColumnDef; | ||
| } | { | ||
| TableLikeClause: TableLikeClause; | ||
| } | { | ||
| IndexElem: IndexElem; | ||
| } | { | ||
| DefElem: DefElem; | ||
| } | { | ||
| LockingClause: LockingClause; | ||
| } | { | ||
| XmlSerialize: XmlSerialize; | ||
| } | { | ||
| PartitionElem: PartitionElem; | ||
| } | { | ||
| PartitionSpec: PartitionSpec; | ||
| } | { | ||
| PartitionBoundSpec: PartitionBoundSpec; | ||
| } | { | ||
| PartitionRangeDatum: PartitionRangeDatum; | ||
| } | { | ||
| SinglePartitionSpec: SinglePartitionSpec; | ||
| } | { | ||
| PartitionCmd: PartitionCmd; | ||
| } | { | ||
| RangeTblEntry: RangeTblEntry; | ||
| } | { | ||
| RTEPermissionInfo: RTEPermissionInfo; | ||
| } | { | ||
| RangeTblFunction: RangeTblFunction; | ||
| } | { | ||
| TableSampleClause: TableSampleClause; | ||
| } | { | ||
| WithCheckOption: WithCheckOption; | ||
| } | { | ||
| SortGroupClause: SortGroupClause; | ||
| } | { | ||
| GroupingSet: GroupingSet; | ||
| } | { | ||
| WindowClause: WindowClause; | ||
| } | { | ||
| RowMarkClause: RowMarkClause; | ||
| } | { | ||
| WithClause: WithClause; | ||
| } | { | ||
| InferClause: InferClause; | ||
| } | { | ||
| OnConflictClause: OnConflictClause; | ||
| } | { | ||
| CTESearchClause: CTESearchClause; | ||
| } | { | ||
| CTECycleClause: CTECycleClause; | ||
| } | { | ||
| CommonTableExpr: CommonTableExpr; | ||
| } | { | ||
| MergeWhenClause: MergeWhenClause; | ||
| } | { | ||
| TriggerTransition: TriggerTransition; | ||
| } | { | ||
| JsonOutput: JsonOutput; | ||
| } | { | ||
| JsonArgument: JsonArgument; | ||
| } | { | ||
| JsonFuncExpr: JsonFuncExpr; | ||
| } | { | ||
| JsonTablePathSpec: JsonTablePathSpec; | ||
| } | { | ||
| JsonTable: JsonTable; | ||
| } | { | ||
| JsonTableColumn: JsonTableColumn; | ||
| } | { | ||
| JsonKeyValue: JsonKeyValue; | ||
| } | { | ||
| JsonParseExpr: JsonParseExpr; | ||
| } | { | ||
| JsonScalarExpr: JsonScalarExpr; | ||
| } | { | ||
| JsonSerializeExpr: JsonSerializeExpr; | ||
| } | { | ||
| JsonObjectConstructor: JsonObjectConstructor; | ||
| } | { | ||
| JsonArrayConstructor: JsonArrayConstructor; | ||
| } | { | ||
| JsonArrayQueryConstructor: JsonArrayQueryConstructor; | ||
| } | { | ||
| JsonAggConstructor: JsonAggConstructor; | ||
| } | { | ||
| JsonObjectAgg: JsonObjectAgg; | ||
| } | { | ||
| JsonArrayAgg: JsonArrayAgg; | ||
| } | { | ||
| RawStmt: RawStmt; | ||
| } | { | ||
| InsertStmt: InsertStmt; | ||
| } | { | ||
| DeleteStmt: DeleteStmt; | ||
| } | { | ||
| UpdateStmt: UpdateStmt; | ||
| } | { | ||
| MergeStmt: MergeStmt; | ||
| } | { | ||
| SelectStmt: SelectStmt; | ||
| } | { | ||
| SetOperationStmt: SetOperationStmt; | ||
| } | { | ||
| ReturnStmt: ReturnStmt; | ||
| } | { | ||
| PLAssignStmt: PLAssignStmt; | ||
| } | { | ||
| CreateSchemaStmt: CreateSchemaStmt; | ||
| } | { | ||
| AlterTableStmt: AlterTableStmt; | ||
| } | { | ||
| ReplicaIdentityStmt: ReplicaIdentityStmt; | ||
| } | { | ||
| AlterTableCmd: AlterTableCmd; | ||
| } | { | ||
| AlterCollationStmt: AlterCollationStmt; | ||
| } | { | ||
| AlterDomainStmt: AlterDomainStmt; | ||
| } | { | ||
| GrantStmt: GrantStmt; | ||
| } | { | ||
| ObjectWithArgs: ObjectWithArgs; | ||
| } | { | ||
| AccessPriv: AccessPriv; | ||
| } | { | ||
| GrantRoleStmt: GrantRoleStmt; | ||
| } | { | ||
| AlterDefaultPrivilegesStmt: AlterDefaultPrivilegesStmt; | ||
| } | { | ||
| CopyStmt: CopyStmt; | ||
| } | { | ||
| VariableSetStmt: VariableSetStmt; | ||
| } | { | ||
| VariableShowStmt: VariableShowStmt; | ||
| } | { | ||
| CreateStmt: CreateStmt; | ||
| } | { | ||
| Constraint: Constraint; | ||
| } | { | ||
| CreateTableSpaceStmt: CreateTableSpaceStmt; | ||
| } | { | ||
| DropTableSpaceStmt: DropTableSpaceStmt; | ||
| } | { | ||
| AlterTableSpaceOptionsStmt: AlterTableSpaceOptionsStmt; | ||
| } | { | ||
| AlterTableMoveAllStmt: AlterTableMoveAllStmt; | ||
| } | { | ||
| CreateExtensionStmt: CreateExtensionStmt; | ||
| } | { | ||
| AlterExtensionStmt: AlterExtensionStmt; | ||
| } | { | ||
| AlterExtensionContentsStmt: AlterExtensionContentsStmt; | ||
| } | { | ||
| CreateFdwStmt: CreateFdwStmt; | ||
| } | { | ||
| AlterFdwStmt: AlterFdwStmt; | ||
| } | { | ||
| CreateForeignServerStmt: CreateForeignServerStmt; | ||
| } | { | ||
| AlterForeignServerStmt: AlterForeignServerStmt; | ||
| } | { | ||
| CreateForeignTableStmt: CreateForeignTableStmt; | ||
| } | { | ||
| CreateUserMappingStmt: CreateUserMappingStmt; | ||
| } | { | ||
| AlterUserMappingStmt: AlterUserMappingStmt; | ||
| } | { | ||
| DropUserMappingStmt: DropUserMappingStmt; | ||
| } | { | ||
| ImportForeignSchemaStmt: ImportForeignSchemaStmt; | ||
| } | { | ||
| CreatePolicyStmt: CreatePolicyStmt; | ||
| } | { | ||
| AlterPolicyStmt: AlterPolicyStmt; | ||
| } | { | ||
| CreateAmStmt: CreateAmStmt; | ||
| } | { | ||
| CreateTrigStmt: CreateTrigStmt; | ||
| } | { | ||
| CreateEventTrigStmt: CreateEventTrigStmt; | ||
| } | { | ||
| AlterEventTrigStmt: AlterEventTrigStmt; | ||
| } | { | ||
| CreatePLangStmt: CreatePLangStmt; | ||
| } | { | ||
| CreateRoleStmt: CreateRoleStmt; | ||
| } | { | ||
| AlterRoleStmt: AlterRoleStmt; | ||
| } | { | ||
| AlterRoleSetStmt: AlterRoleSetStmt; | ||
| } | { | ||
| DropRoleStmt: DropRoleStmt; | ||
| } | { | ||
| CreateSeqStmt: CreateSeqStmt; | ||
| } | { | ||
| AlterSeqStmt: AlterSeqStmt; | ||
| } | { | ||
| DefineStmt: DefineStmt; | ||
| } | { | ||
| CreateDomainStmt: CreateDomainStmt; | ||
| } | { | ||
| CreateOpClassStmt: CreateOpClassStmt; | ||
| } | { | ||
| CreateOpClassItem: CreateOpClassItem; | ||
| } | { | ||
| CreateOpFamilyStmt: CreateOpFamilyStmt; | ||
| } | { | ||
| AlterOpFamilyStmt: AlterOpFamilyStmt; | ||
| } | { | ||
| DropStmt: DropStmt; | ||
| } | { | ||
| TruncateStmt: TruncateStmt; | ||
| } | { | ||
| CommentStmt: CommentStmt; | ||
| } | { | ||
| SecLabelStmt: SecLabelStmt; | ||
| } | { | ||
| DeclareCursorStmt: DeclareCursorStmt; | ||
| } | { | ||
| ClosePortalStmt: ClosePortalStmt; | ||
| } | { | ||
| FetchStmt: FetchStmt; | ||
| } | { | ||
| IndexStmt: IndexStmt; | ||
| } | { | ||
| CreateStatsStmt: CreateStatsStmt; | ||
| } | { | ||
| StatsElem: StatsElem; | ||
| } | { | ||
| AlterStatsStmt: AlterStatsStmt; | ||
| } | { | ||
| CreateFunctionStmt: CreateFunctionStmt; | ||
| } | { | ||
| FunctionParameter: FunctionParameter; | ||
| } | { | ||
| AlterFunctionStmt: AlterFunctionStmt; | ||
| } | { | ||
| DoStmt: DoStmt; | ||
| } | { | ||
| InlineCodeBlock: InlineCodeBlock; | ||
| } | { | ||
| CallStmt: CallStmt; | ||
| } | { | ||
| CallContext: CallContext; | ||
| } | { | ||
| RenameStmt: RenameStmt; | ||
| } | { | ||
| AlterObjectDependsStmt: AlterObjectDependsStmt; | ||
| } | { | ||
| AlterObjectSchemaStmt: AlterObjectSchemaStmt; | ||
| } | { | ||
| AlterOwnerStmt: AlterOwnerStmt; | ||
| } | { | ||
| AlterOperatorStmt: AlterOperatorStmt; | ||
| } | { | ||
| AlterTypeStmt: AlterTypeStmt; | ||
| } | { | ||
| RuleStmt: RuleStmt; | ||
| } | { | ||
| NotifyStmt: NotifyStmt; | ||
| } | { | ||
| ListenStmt: ListenStmt; | ||
| } | { | ||
| UnlistenStmt: UnlistenStmt; | ||
| } | { | ||
| TransactionStmt: TransactionStmt; | ||
| } | { | ||
| CompositeTypeStmt: CompositeTypeStmt; | ||
| } | { | ||
| CreateEnumStmt: CreateEnumStmt; | ||
| } | { | ||
| CreateRangeStmt: CreateRangeStmt; | ||
| } | { | ||
| AlterEnumStmt: AlterEnumStmt; | ||
| } | { | ||
| ViewStmt: ViewStmt; | ||
| } | { | ||
| LoadStmt: LoadStmt; | ||
| } | { | ||
| CreatedbStmt: CreatedbStmt; | ||
| } | { | ||
| AlterDatabaseStmt: AlterDatabaseStmt; | ||
| } | { | ||
| AlterDatabaseRefreshCollStmt: AlterDatabaseRefreshCollStmt; | ||
| } | { | ||
| AlterDatabaseSetStmt: AlterDatabaseSetStmt; | ||
| } | { | ||
| DropdbStmt: DropdbStmt; | ||
| } | { | ||
| AlterSystemStmt: AlterSystemStmt; | ||
| } | { | ||
| ClusterStmt: ClusterStmt; | ||
| } | { | ||
| VacuumStmt: VacuumStmt; | ||
| } | { | ||
| VacuumRelation: VacuumRelation; | ||
| } | { | ||
| ExplainStmt: ExplainStmt; | ||
| } | { | ||
| CreateTableAsStmt: CreateTableAsStmt; | ||
| } | { | ||
| RefreshMatViewStmt: RefreshMatViewStmt; | ||
| } | { | ||
| CheckPointStmt: CheckPointStmt; | ||
| } | { | ||
| DiscardStmt: DiscardStmt; | ||
| } | { | ||
| LockStmt: LockStmt; | ||
| } | { | ||
| ConstraintsSetStmt: ConstraintsSetStmt; | ||
| } | { | ||
| ReindexStmt: ReindexStmt; | ||
| } | { | ||
| CreateConversionStmt: CreateConversionStmt; | ||
| } | { | ||
| CreateCastStmt: CreateCastStmt; | ||
| } | { | ||
| CreateTransformStmt: CreateTransformStmt; | ||
| } | { | ||
| PrepareStmt: PrepareStmt; | ||
| } | { | ||
| ExecuteStmt: ExecuteStmt; | ||
| } | { | ||
| DeallocateStmt: DeallocateStmt; | ||
| } | { | ||
| DropOwnedStmt: DropOwnedStmt; | ||
| } | { | ||
| ReassignOwnedStmt: ReassignOwnedStmt; | ||
| } | { | ||
| AlterTSDictionaryStmt: AlterTSDictionaryStmt; | ||
| } | { | ||
| AlterTSConfigurationStmt: AlterTSConfigurationStmt; | ||
| } | { | ||
| PublicationTable: PublicationTable; | ||
| } | { | ||
| PublicationObjSpec: PublicationObjSpec; | ||
| } | { | ||
| CreatePublicationStmt: CreatePublicationStmt; | ||
| } | { | ||
| AlterPublicationStmt: AlterPublicationStmt; | ||
| } | { | ||
| CreateSubscriptionStmt: CreateSubscriptionStmt; | ||
| } | { | ||
| AlterSubscriptionStmt: AlterSubscriptionStmt; | ||
| } | { | ||
| DropSubscriptionStmt: DropSubscriptionStmt; | ||
| } | { | ||
| ScanToken: ScanToken; | ||
| }; | ||
| export interface ParseResult { | ||
| version?: number; | ||
| stmts?: RawStmt[]; | ||
| } | ||
| export interface ScanResult { | ||
| version?: number; | ||
| tokens?: ScanToken[]; | ||
| } | ||
| export interface Integer { | ||
| ival?: number; | ||
| } | ||
| export interface Float { | ||
| fval?: string; | ||
| } | ||
| export interface Boolean { | ||
| boolval?: boolean; | ||
| } | ||
| export interface String { | ||
| sval?: string; | ||
| } | ||
| export interface BitString { | ||
| bsval?: string; | ||
| } | ||
| export interface List { | ||
| items?: Node[]; | ||
| } | ||
| export interface OidList { | ||
| items?: Node[]; | ||
| } | ||
| export interface IntList { | ||
| items?: Node[]; | ||
| } | ||
| export interface A_Const { | ||
| ival?: Integer; | ||
| fval?: Float; | ||
| boolval?: Boolean; | ||
| sval?: String; | ||
| bsval?: BitString; | ||
| isnull?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface Alias { | ||
| aliasname?: string; | ||
| colnames?: Node[]; | ||
| } | ||
| export interface RangeVar { | ||
| catalogname?: string; | ||
| schemaname?: string; | ||
| relname?: string; | ||
| inh?: boolean; | ||
| relpersistence?: string; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface TableFunc { | ||
| functype?: TableFuncType; | ||
| ns_uris?: Node[]; | ||
| ns_names?: Node[]; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| colnames?: Node[]; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| colexprs?: Node[]; | ||
| coldefexprs?: Node[]; | ||
| colvalexprs?: Node[]; | ||
| passingvalexprs?: Node[]; | ||
| notnulls?: bigint[]; | ||
| plan?: Node; | ||
| ordinalitycol?: number; | ||
| location?: number; | ||
| } | ||
| export interface IntoClause { | ||
| rel?: RangeVar; | ||
| colNames?: Node[]; | ||
| accessMethod?: string; | ||
| options?: Node[]; | ||
| onCommit?: OnCommitAction; | ||
| tableSpaceName?: string; | ||
| viewQuery?: Node; | ||
| skipData?: boolean; | ||
| } | ||
| export interface Var { | ||
| xpr?: Node; | ||
| varno?: number; | ||
| varattno?: number; | ||
| vartype?: number; | ||
| vartypmod?: number; | ||
| varcollid?: number; | ||
| varnullingrels?: bigint[]; | ||
| varlevelsup?: number; | ||
| location?: number; | ||
| } | ||
| export interface Param { | ||
| xpr?: Node; | ||
| paramkind?: ParamKind; | ||
| paramid?: number; | ||
| paramtype?: number; | ||
| paramtypmod?: number; | ||
| paramcollid?: number; | ||
| location?: number; | ||
| } | ||
| export interface Aggref { | ||
| xpr?: Node; | ||
| aggfnoid?: number; | ||
| aggtype?: number; | ||
| aggcollid?: number; | ||
| inputcollid?: number; | ||
| aggargtypes?: Node[]; | ||
| aggdirectargs?: Node[]; | ||
| args?: Node[]; | ||
| aggorder?: Node[]; | ||
| aggdistinct?: Node[]; | ||
| aggfilter?: Node; | ||
| aggstar?: boolean; | ||
| aggvariadic?: boolean; | ||
| aggkind?: string; | ||
| agglevelsup?: number; | ||
| aggsplit?: AggSplit; | ||
| aggno?: number; | ||
| aggtransno?: number; | ||
| location?: number; | ||
| } | ||
| export interface GroupingFunc { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| refs?: Node[]; | ||
| agglevelsup?: number; | ||
| location?: number; | ||
| } | ||
| export interface WindowFunc { | ||
| xpr?: Node; | ||
| winfnoid?: number; | ||
| wintype?: number; | ||
| wincollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| aggfilter?: Node; | ||
| runCondition?: Node[]; | ||
| winref?: number; | ||
| winstar?: boolean; | ||
| winagg?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface WindowFuncRunCondition { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| inputcollid?: number; | ||
| wfunc_left?: boolean; | ||
| arg?: Node; | ||
| } | ||
| export interface MergeSupportFunc { | ||
| xpr?: Node; | ||
| msftype?: number; | ||
| msfcollid?: number; | ||
| location?: number; | ||
| } | ||
| export interface SubscriptingRef { | ||
| xpr?: Node; | ||
| refcontainertype?: number; | ||
| refelemtype?: number; | ||
| refrestype?: number; | ||
| reftypmod?: number; | ||
| refcollid?: number; | ||
| refupperindexpr?: Node[]; | ||
| reflowerindexpr?: Node[]; | ||
| refexpr?: Node; | ||
| refassgnexpr?: Node; | ||
| } | ||
| export interface FuncExpr { | ||
| xpr?: Node; | ||
| funcid?: number; | ||
| funcresulttype?: number; | ||
| funcretset?: boolean; | ||
| funcvariadic?: boolean; | ||
| funcformat?: CoercionForm; | ||
| funccollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NamedArgExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| name?: string; | ||
| argnumber?: number; | ||
| location?: number; | ||
| } | ||
| export interface OpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface DistinctExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NullIfExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ScalarArrayOpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| useOr?: boolean; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface BoolExpr { | ||
| xpr?: Node; | ||
| boolop?: BoolExprType; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SubLink { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| subLinkId?: number; | ||
| testexpr?: Node; | ||
| operName?: Node[]; | ||
| subselect?: Node; | ||
| location?: number; | ||
| } | ||
| export interface SubPlan { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| testexpr?: Node; | ||
| paramIds?: Node[]; | ||
| plan_id?: number; | ||
| plan_name?: string; | ||
| firstColType?: number; | ||
| firstColTypmod?: number; | ||
| firstColCollation?: number; | ||
| useHashTable?: boolean; | ||
| unknownEqFalse?: boolean; | ||
| parallel_safe?: boolean; | ||
| setParam?: Node[]; | ||
| parParam?: Node[]; | ||
| args?: Node[]; | ||
| startup_cost?: number; | ||
| per_call_cost?: number; | ||
| } | ||
| export interface AlternativeSubPlan { | ||
| xpr?: Node; | ||
| subplans?: Node[]; | ||
| } | ||
| export interface FieldSelect { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| fieldnum?: number; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| } | ||
| export interface FieldStore { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| newvals?: Node[]; | ||
| fieldnums?: Node[]; | ||
| resulttype?: number; | ||
| } | ||
| export interface RelabelType { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| relabelformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceViaIO { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ArrayCoerceExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| elemexpr?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ConvertRowtypeExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| convertformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CollateExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| collOid?: number; | ||
| location?: number; | ||
| } | ||
| export interface CaseExpr { | ||
| xpr?: Node; | ||
| casetype?: number; | ||
| casecollid?: number; | ||
| arg?: Node; | ||
| args?: Node[]; | ||
| defresult?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseWhen { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| result?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseTestExpr { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| } | ||
| export interface ArrayExpr { | ||
| xpr?: Node; | ||
| array_typeid?: number; | ||
| array_collid?: number; | ||
| element_typeid?: number; | ||
| elements?: Node[]; | ||
| multidims?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface RowExpr { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| row_typeid?: number; | ||
| row_format?: CoercionForm; | ||
| colnames?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface RowCompareExpr { | ||
| xpr?: Node; | ||
| rctype?: RowCompareType; | ||
| opnos?: Node[]; | ||
| opfamilies?: Node[]; | ||
| inputcollids?: Node[]; | ||
| largs?: Node[]; | ||
| rargs?: Node[]; | ||
| } | ||
| export interface CoalesceExpr { | ||
| xpr?: Node; | ||
| coalescetype?: number; | ||
| coalescecollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface MinMaxExpr { | ||
| xpr?: Node; | ||
| minmaxtype?: number; | ||
| minmaxcollid?: number; | ||
| inputcollid?: number; | ||
| op?: MinMaxOp; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SQLValueFunction { | ||
| xpr?: Node; | ||
| op?: SQLValueFunctionOp; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface XmlExpr { | ||
| xpr?: Node; | ||
| op?: XmlExprOp; | ||
| name?: string; | ||
| named_args?: Node[]; | ||
| arg_names?: Node[]; | ||
| args?: Node[]; | ||
| xmloption?: XmlOptionType; | ||
| indent?: boolean; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonFormat { | ||
| format_type?: JsonFormatType; | ||
| encoding?: JsonEncoding; | ||
| location?: number; | ||
| } | ||
| export interface JsonReturning { | ||
| format?: JsonFormat; | ||
| typid?: number; | ||
| typmod?: number; | ||
| } | ||
| export interface JsonValueExpr { | ||
| raw_expr?: Node; | ||
| formatted_expr?: Node; | ||
| format?: JsonFormat; | ||
| } | ||
| export interface JsonConstructorExpr { | ||
| xpr?: Node; | ||
| type?: JsonConstructorType; | ||
| args?: Node[]; | ||
| func?: Node; | ||
| coercion?: Node; | ||
| returning?: JsonReturning; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonIsPredicate { | ||
| expr?: Node; | ||
| format?: JsonFormat; | ||
| item_type?: JsonValueType; | ||
| unique_keys?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonBehavior { | ||
| btype?: JsonBehaviorType; | ||
| expr?: Node; | ||
| coerce?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonExpr { | ||
| xpr?: Node; | ||
| op?: JsonExprOp; | ||
| column_name?: string; | ||
| formatted_expr?: Node; | ||
| format?: JsonFormat; | ||
| path_spec?: Node; | ||
| returning?: JsonReturning; | ||
| passing_names?: Node[]; | ||
| passing_values?: Node[]; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| use_io_coercion?: boolean; | ||
| use_json_coercion?: boolean; | ||
| wrapper?: JsonWrapper; | ||
| omit_quotes?: boolean; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonTablePath { | ||
| name?: string; | ||
| } | ||
| export interface JsonTablePathScan { | ||
| plan?: Node; | ||
| path?: JsonTablePath; | ||
| errorOnError?: boolean; | ||
| child?: Node; | ||
| colMin?: number; | ||
| colMax?: number; | ||
| } | ||
| export interface JsonTableSiblingJoin { | ||
| plan?: Node; | ||
| lplan?: Node; | ||
| rplan?: Node; | ||
| } | ||
| export interface NullTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| nulltesttype?: NullTestType; | ||
| argisrow?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface BooleanTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| booltesttype?: BoolTestType; | ||
| location?: number; | ||
| } | ||
| export interface MergeAction { | ||
| matchKind?: MergeMatchKind; | ||
| commandType?: CmdType; | ||
| override?: OverridingKind; | ||
| qual?: Node; | ||
| targetList?: Node[]; | ||
| updateColnos?: Node[]; | ||
| } | ||
| export interface CoerceToDomain { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coercionformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceToDomainValue { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface SetToDefault { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface CurrentOfExpr { | ||
| xpr?: Node; | ||
| cvarno?: number; | ||
| cursor_name?: string; | ||
| cursor_param?: number; | ||
| } | ||
| export interface NextValueExpr { | ||
| xpr?: Node; | ||
| seqid?: number; | ||
| typeId?: number; | ||
| } | ||
| export interface InferenceElem { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| infercollid?: number; | ||
| inferopclass?: number; | ||
| } | ||
| export interface TargetEntry { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| resno?: number; | ||
| resname?: string; | ||
| ressortgroupref?: number; | ||
| resorigtbl?: number; | ||
| resorigcol?: number; | ||
| resjunk?: boolean; | ||
| } | ||
| export interface RangeTblRef { | ||
| rtindex?: number; | ||
| } | ||
| export interface JoinExpr { | ||
| jointype?: JoinType; | ||
| isNatural?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| usingClause?: Node[]; | ||
| join_using_alias?: Alias; | ||
| quals?: Node; | ||
| alias?: Alias; | ||
| rtindex?: number; | ||
| } | ||
| export interface FromExpr { | ||
| fromlist?: Node[]; | ||
| quals?: Node; | ||
| } | ||
| export interface OnConflictExpr { | ||
| action?: OnConflictAction; | ||
| arbiterElems?: Node[]; | ||
| arbiterWhere?: Node; | ||
| constraint?: number; | ||
| onConflictSet?: Node[]; | ||
| onConflictWhere?: Node; | ||
| exclRelIndex?: number; | ||
| exclRelTlist?: Node[]; | ||
| } | ||
| export interface Query { | ||
| commandType?: CmdType; | ||
| querySource?: QuerySource; | ||
| canSetTag?: boolean; | ||
| utilityStmt?: Node; | ||
| resultRelation?: number; | ||
| hasAggs?: boolean; | ||
| hasWindowFuncs?: boolean; | ||
| hasTargetSRFs?: boolean; | ||
| hasSubLinks?: boolean; | ||
| hasDistinctOn?: boolean; | ||
| hasRecursive?: boolean; | ||
| hasModifyingCTE?: boolean; | ||
| hasForUpdate?: boolean; | ||
| hasRowSecurity?: boolean; | ||
| isReturn?: boolean; | ||
| cteList?: Node[]; | ||
| rtable?: Node[]; | ||
| rteperminfos?: Node[]; | ||
| jointree?: FromExpr; | ||
| mergeActionList?: Node[]; | ||
| mergeTargetRelation?: number; | ||
| mergeJoinCondition?: Node; | ||
| targetList?: Node[]; | ||
| override?: OverridingKind; | ||
| onConflict?: OnConflictExpr; | ||
| returningList?: Node[]; | ||
| groupClause?: Node[]; | ||
| groupDistinct?: boolean; | ||
| groupingSets?: Node[]; | ||
| havingQual?: Node; | ||
| windowClause?: Node[]; | ||
| distinctClause?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| rowMarks?: Node[]; | ||
| setOperations?: Node; | ||
| constraintDeps?: Node[]; | ||
| withCheckOptions?: Node[]; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface TypeName { | ||
| names?: Node[]; | ||
| typeOid?: number; | ||
| setof?: boolean; | ||
| pct_type?: boolean; | ||
| typmods?: Node[]; | ||
| typemod?: number; | ||
| arrayBounds?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ColumnRef { | ||
| fields?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ParamRef { | ||
| number?: number; | ||
| location?: number; | ||
| } | ||
| export interface A_Expr { | ||
| kind?: A_Expr_Kind; | ||
| name?: Node[]; | ||
| lexpr?: Node; | ||
| rexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface TypeCast { | ||
| arg?: Node; | ||
| typeName?: TypeName; | ||
| location?: number; | ||
| } | ||
| export interface CollateClause { | ||
| arg?: Node; | ||
| collname?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface RoleSpec { | ||
| roletype?: RoleSpecType; | ||
| rolename?: string; | ||
| location?: number; | ||
| } | ||
| export interface FuncCall { | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| agg_order?: Node[]; | ||
| agg_filter?: Node; | ||
| over?: WindowDef; | ||
| agg_within_group?: boolean; | ||
| agg_star?: boolean; | ||
| agg_distinct?: boolean; | ||
| func_variadic?: boolean; | ||
| funcformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface A_Star { | ||
| } | ||
| export interface A_Indices { | ||
| is_slice?: boolean; | ||
| lidx?: Node; | ||
| uidx?: Node; | ||
| } | ||
| export interface A_Indirection { | ||
| arg?: Node; | ||
| indirection?: Node[]; | ||
| } | ||
| export interface A_ArrayExpr { | ||
| elements?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ResTarget { | ||
| name?: string; | ||
| indirection?: Node[]; | ||
| val?: Node; | ||
| location?: number; | ||
| } | ||
| export interface MultiAssignRef { | ||
| source?: Node; | ||
| colno?: number; | ||
| ncolumns?: number; | ||
| } | ||
| export interface SortBy { | ||
| node?: Node; | ||
| sortby_dir?: SortByDir; | ||
| sortby_nulls?: SortByNulls; | ||
| useOp?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowDef { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeSubselect { | ||
| lateral?: boolean; | ||
| subquery?: Node; | ||
| alias?: Alias; | ||
| } | ||
| export interface RangeFunction { | ||
| lateral?: boolean; | ||
| ordinality?: boolean; | ||
| is_rowsfrom?: boolean; | ||
| functions?: Node[]; | ||
| alias?: Alias; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface RangeTableFunc { | ||
| lateral?: boolean; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| namespaces?: Node[]; | ||
| columns?: Node[]; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableFuncCol { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| for_ordinality?: boolean; | ||
| is_not_null?: boolean; | ||
| colexpr?: Node; | ||
| coldefexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableSample { | ||
| relation?: Node; | ||
| method?: Node[]; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| location?: number; | ||
| } | ||
| export interface ColumnDef { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| compression?: string; | ||
| inhcount?: number; | ||
| is_local?: boolean; | ||
| is_not_null?: boolean; | ||
| is_from_type?: boolean; | ||
| storage?: string; | ||
| storage_name?: string; | ||
| raw_default?: Node; | ||
| cooked_default?: Node; | ||
| identity?: string; | ||
| identitySequence?: RangeVar; | ||
| generated?: string; | ||
| collClause?: CollateClause; | ||
| collOid?: number; | ||
| constraints?: Node[]; | ||
| fdwoptions?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface TableLikeClause { | ||
| relation?: RangeVar; | ||
| options?: number; | ||
| relationOid?: number; | ||
| } | ||
| export interface IndexElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| indexcolname?: string; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| opclassopts?: Node[]; | ||
| ordering?: SortByDir; | ||
| nulls_ordering?: SortByNulls; | ||
| } | ||
| export interface DefElem { | ||
| defnamespace?: string; | ||
| defname?: string; | ||
| arg?: Node; | ||
| defaction?: DefElemAction; | ||
| location?: number; | ||
| } | ||
| export interface LockingClause { | ||
| lockedRels?: Node[]; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| } | ||
| export interface XmlSerialize { | ||
| xmloption?: XmlOptionType; | ||
| expr?: Node; | ||
| typeName?: TypeName; | ||
| indent?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface PartitionElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionSpec { | ||
| strategy?: PartitionStrategy; | ||
| partParams?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionBoundSpec { | ||
| strategy?: string; | ||
| is_default?: boolean; | ||
| modulus?: number; | ||
| remainder?: number; | ||
| listdatums?: Node[]; | ||
| lowerdatums?: Node[]; | ||
| upperdatums?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionRangeDatum { | ||
| kind?: PartitionRangeDatumKind; | ||
| value?: Node; | ||
| location?: number; | ||
| } | ||
| export interface SinglePartitionSpec { | ||
| } | ||
| export interface PartitionCmd { | ||
| name?: RangeVar; | ||
| bound?: PartitionBoundSpec; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface RangeTblEntry { | ||
| alias?: Alias; | ||
| eref?: Alias; | ||
| rtekind?: RTEKind; | ||
| relid?: number; | ||
| inh?: boolean; | ||
| relkind?: string; | ||
| rellockmode?: number; | ||
| perminfoindex?: number; | ||
| tablesample?: TableSampleClause; | ||
| subquery?: Query; | ||
| security_barrier?: boolean; | ||
| jointype?: JoinType; | ||
| joinmergedcols?: number; | ||
| joinaliasvars?: Node[]; | ||
| joinleftcols?: Node[]; | ||
| joinrightcols?: Node[]; | ||
| join_using_alias?: Alias; | ||
| functions?: Node[]; | ||
| funcordinality?: boolean; | ||
| tablefunc?: TableFunc; | ||
| values_lists?: Node[]; | ||
| ctename?: string; | ||
| ctelevelsup?: number; | ||
| self_reference?: boolean; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| enrname?: string; | ||
| enrtuples?: number; | ||
| lateral?: boolean; | ||
| inFromCl?: boolean; | ||
| securityQuals?: Node[]; | ||
| } | ||
| export interface RTEPermissionInfo { | ||
| relid?: number; | ||
| inh?: boolean; | ||
| requiredPerms?: bigint; | ||
| checkAsUser?: number; | ||
| selectedCols?: bigint[]; | ||
| insertedCols?: bigint[]; | ||
| updatedCols?: bigint[]; | ||
| } | ||
| export interface RangeTblFunction { | ||
| funcexpr?: Node; | ||
| funccolcount?: number; | ||
| funccolnames?: Node[]; | ||
| funccoltypes?: Node[]; | ||
| funccoltypmods?: Node[]; | ||
| funccolcollations?: Node[]; | ||
| funcparams?: bigint[]; | ||
| } | ||
| export interface TableSampleClause { | ||
| tsmhandler?: number; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| } | ||
| export interface WithCheckOption { | ||
| kind?: WCOKind; | ||
| relname?: string; | ||
| polname?: string; | ||
| qual?: Node; | ||
| cascaded?: boolean; | ||
| } | ||
| export interface SortGroupClause { | ||
| tleSortGroupRef?: number; | ||
| eqop?: number; | ||
| sortop?: number; | ||
| nulls_first?: boolean; | ||
| hashable?: boolean; | ||
| } | ||
| export interface GroupingSet { | ||
| kind?: GroupingSetKind; | ||
| content?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowClause { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| startInRangeFunc?: number; | ||
| endInRangeFunc?: number; | ||
| inRangeColl?: number; | ||
| inRangeAsc?: boolean; | ||
| inRangeNullsFirst?: boolean; | ||
| winref?: number; | ||
| copiedOrder?: boolean; | ||
| } | ||
| export interface RowMarkClause { | ||
| rti?: number; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| pushedDown?: boolean; | ||
| } | ||
| export interface WithClause { | ||
| ctes?: Node[]; | ||
| recursive?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface InferClause { | ||
| indexElems?: Node[]; | ||
| whereClause?: Node; | ||
| conname?: string; | ||
| location?: number; | ||
| } | ||
| export interface OnConflictClause { | ||
| action?: OnConflictAction; | ||
| infer?: InferClause; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CTESearchClause { | ||
| search_col_list?: Node[]; | ||
| search_breadth_first?: boolean; | ||
| search_seq_column?: string; | ||
| location?: number; | ||
| } | ||
| export interface CTECycleClause { | ||
| cycle_col_list?: Node[]; | ||
| cycle_mark_column?: string; | ||
| cycle_mark_value?: Node; | ||
| cycle_mark_default?: Node; | ||
| cycle_path_column?: string; | ||
| location?: number; | ||
| cycle_mark_type?: number; | ||
| cycle_mark_typmod?: number; | ||
| cycle_mark_collation?: number; | ||
| cycle_mark_neop?: number; | ||
| } | ||
| export interface CommonTableExpr { | ||
| ctename?: string; | ||
| aliascolnames?: Node[]; | ||
| ctematerialized?: CTEMaterialize; | ||
| ctequery?: Node; | ||
| search_clause?: CTESearchClause; | ||
| cycle_clause?: CTECycleClause; | ||
| location?: number; | ||
| cterecursive?: boolean; | ||
| cterefcount?: number; | ||
| ctecolnames?: Node[]; | ||
| ctecoltypes?: Node[]; | ||
| ctecoltypmods?: Node[]; | ||
| ctecolcollations?: Node[]; | ||
| } | ||
| export interface MergeWhenClause { | ||
| matchKind?: MergeMatchKind; | ||
| commandType?: CmdType; | ||
| override?: OverridingKind; | ||
| condition?: Node; | ||
| targetList?: Node[]; | ||
| values?: Node[]; | ||
| } | ||
| export interface TriggerTransition { | ||
| name?: string; | ||
| isNew?: boolean; | ||
| isTable?: boolean; | ||
| } | ||
| export interface JsonOutput { | ||
| typeName?: TypeName; | ||
| returning?: JsonReturning; | ||
| } | ||
| export interface JsonArgument { | ||
| val?: JsonValueExpr; | ||
| name?: string; | ||
| } | ||
| export interface JsonFuncExpr { | ||
| op?: JsonExprOp; | ||
| column_name?: string; | ||
| context_item?: JsonValueExpr; | ||
| pathspec?: Node; | ||
| passing?: Node[]; | ||
| output?: JsonOutput; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| wrapper?: JsonWrapper; | ||
| quotes?: JsonQuotes; | ||
| location?: number; | ||
| } | ||
| export interface JsonTablePathSpec { | ||
| string?: Node; | ||
| name?: string; | ||
| name_location?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonTable { | ||
| context_item?: JsonValueExpr; | ||
| pathspec?: JsonTablePathSpec; | ||
| passing?: Node[]; | ||
| columns?: Node[]; | ||
| on_error?: JsonBehavior; | ||
| alias?: Alias; | ||
| lateral?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonTableColumn { | ||
| coltype?: JsonTableColumnType; | ||
| name?: string; | ||
| typeName?: TypeName; | ||
| pathspec?: JsonTablePathSpec; | ||
| format?: JsonFormat; | ||
| wrapper?: JsonWrapper; | ||
| quotes?: JsonQuotes; | ||
| columns?: Node[]; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| location?: number; | ||
| } | ||
| export interface JsonKeyValue { | ||
| key?: Node; | ||
| value?: JsonValueExpr; | ||
| } | ||
| export interface JsonParseExpr { | ||
| expr?: JsonValueExpr; | ||
| output?: JsonOutput; | ||
| unique_keys?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonScalarExpr { | ||
| expr?: Node; | ||
| output?: JsonOutput; | ||
| location?: number; | ||
| } | ||
| export interface JsonSerializeExpr { | ||
| expr?: JsonValueExpr; | ||
| output?: JsonOutput; | ||
| location?: number; | ||
| } | ||
| export interface JsonObjectConstructor { | ||
| exprs?: Node[]; | ||
| output?: JsonOutput; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonArrayConstructor { | ||
| exprs?: Node[]; | ||
| output?: JsonOutput; | ||
| absent_on_null?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonArrayQueryConstructor { | ||
| query?: Node; | ||
| output?: JsonOutput; | ||
| format?: JsonFormat; | ||
| absent_on_null?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonAggConstructor { | ||
| output?: JsonOutput; | ||
| agg_filter?: Node; | ||
| agg_order?: Node[]; | ||
| over?: WindowDef; | ||
| location?: number; | ||
| } | ||
| export interface JsonObjectAgg { | ||
| constructor?: JsonAggConstructor; | ||
| arg?: JsonKeyValue; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| } | ||
| export interface JsonArrayAgg { | ||
| constructor?: JsonAggConstructor; | ||
| arg?: JsonValueExpr; | ||
| absent_on_null?: boolean; | ||
| } | ||
| export interface RawStmt { | ||
| stmt?: Node; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface InsertStmt { | ||
| relation?: RangeVar; | ||
| cols?: Node[]; | ||
| selectStmt?: Node; | ||
| onConflictClause?: OnConflictClause; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| override?: OverridingKind; | ||
| } | ||
| export interface DeleteStmt { | ||
| relation?: RangeVar; | ||
| usingClause?: Node[]; | ||
| whereClause?: Node; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface UpdateStmt { | ||
| relation?: RangeVar; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| fromClause?: Node[]; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface MergeStmt { | ||
| relation?: RangeVar; | ||
| sourceRelation?: Node; | ||
| joinCondition?: Node; | ||
| mergeWhenClauses?: Node[]; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface SelectStmt { | ||
| distinctClause?: Node[]; | ||
| intoClause?: IntoClause; | ||
| targetList?: Node[]; | ||
| fromClause?: Node[]; | ||
| whereClause?: Node; | ||
| groupClause?: Node[]; | ||
| groupDistinct?: boolean; | ||
| havingClause?: Node; | ||
| windowClause?: Node[]; | ||
| valuesLists?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| lockingClause?: Node[]; | ||
| withClause?: WithClause; | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: SelectStmt; | ||
| rarg?: SelectStmt; | ||
| } | ||
| export interface SetOperationStmt { | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| colTypes?: Node[]; | ||
| colTypmods?: Node[]; | ||
| colCollations?: Node[]; | ||
| groupClauses?: Node[]; | ||
| } | ||
| export interface ReturnStmt { | ||
| returnval?: Node; | ||
| } | ||
| export interface PLAssignStmt { | ||
| name?: string; | ||
| indirection?: Node[]; | ||
| nnames?: number; | ||
| val?: SelectStmt; | ||
| location?: number; | ||
| } | ||
| export interface CreateSchemaStmt { | ||
| schemaname?: string; | ||
| authrole?: RoleSpec; | ||
| schemaElts?: Node[]; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterTableStmt { | ||
| relation?: RangeVar; | ||
| cmds?: Node[]; | ||
| objtype?: ObjectType; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface ReplicaIdentityStmt { | ||
| identity_type?: string; | ||
| name?: string; | ||
| } | ||
| export interface AlterTableCmd { | ||
| subtype?: AlterTableType; | ||
| name?: string; | ||
| num?: number; | ||
| newowner?: RoleSpec; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| recurse?: boolean; | ||
| } | ||
| export interface AlterCollationStmt { | ||
| collname?: Node[]; | ||
| } | ||
| export interface AlterDomainStmt { | ||
| subtype?: string; | ||
| typeName?: Node[]; | ||
| name?: string; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface GrantStmt { | ||
| is_grant?: boolean; | ||
| targtype?: GrantTargetType; | ||
| objtype?: ObjectType; | ||
| objects?: Node[]; | ||
| privileges?: Node[]; | ||
| grantees?: Node[]; | ||
| grant_option?: boolean; | ||
| grantor?: RoleSpec; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ObjectWithArgs { | ||
| objname?: Node[]; | ||
| objargs?: Node[]; | ||
| objfuncargs?: Node[]; | ||
| args_unspecified?: boolean; | ||
| } | ||
| export interface AccessPriv { | ||
| priv_name?: string; | ||
| cols?: Node[]; | ||
| } | ||
| export interface GrantRoleStmt { | ||
| granted_roles?: Node[]; | ||
| grantee_roles?: Node[]; | ||
| is_grant?: boolean; | ||
| opt?: Node[]; | ||
| grantor?: RoleSpec; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface AlterDefaultPrivilegesStmt { | ||
| options?: Node[]; | ||
| action?: GrantStmt; | ||
| } | ||
| export interface CopyStmt { | ||
| relation?: RangeVar; | ||
| query?: Node; | ||
| attlist?: Node[]; | ||
| is_from?: boolean; | ||
| is_program?: boolean; | ||
| filename?: string; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| } | ||
| export interface VariableSetStmt { | ||
| kind?: VariableSetKind; | ||
| name?: string; | ||
| args?: Node[]; | ||
| is_local?: boolean; | ||
| } | ||
| export interface VariableShowStmt { | ||
| name?: string; | ||
| } | ||
| export interface CreateStmt { | ||
| relation?: RangeVar; | ||
| tableElts?: Node[]; | ||
| inhRelations?: Node[]; | ||
| partbound?: PartitionBoundSpec; | ||
| partspec?: PartitionSpec; | ||
| ofTypename?: TypeName; | ||
| constraints?: Node[]; | ||
| options?: Node[]; | ||
| oncommit?: OnCommitAction; | ||
| tablespacename?: string; | ||
| accessMethod?: string; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface Constraint { | ||
| contype?: ConstrType; | ||
| conname?: string; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| skip_validation?: boolean; | ||
| initially_valid?: boolean; | ||
| is_no_inherit?: boolean; | ||
| raw_expr?: Node; | ||
| cooked_expr?: string; | ||
| generated_when?: string; | ||
| inhcount?: number; | ||
| nulls_not_distinct?: boolean; | ||
| keys?: Node[]; | ||
| including?: Node[]; | ||
| exclusions?: Node[]; | ||
| options?: Node[]; | ||
| indexname?: string; | ||
| indexspace?: string; | ||
| reset_default_tblspc?: boolean; | ||
| access_method?: string; | ||
| where_clause?: Node; | ||
| pktable?: RangeVar; | ||
| fk_attrs?: Node[]; | ||
| pk_attrs?: Node[]; | ||
| fk_matchtype?: string; | ||
| fk_upd_action?: string; | ||
| fk_del_action?: string; | ||
| fk_del_set_cols?: Node[]; | ||
| old_conpfeqop?: Node[]; | ||
| old_pktable_oid?: number; | ||
| location?: number; | ||
| } | ||
| export interface CreateTableSpaceStmt { | ||
| tablespacename?: string; | ||
| owner?: RoleSpec; | ||
| location?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropTableSpaceStmt { | ||
| tablespacename?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterTableSpaceOptionsStmt { | ||
| tablespacename?: string; | ||
| options?: Node[]; | ||
| isReset?: boolean; | ||
| } | ||
| export interface AlterTableMoveAllStmt { | ||
| orig_tablespacename?: string; | ||
| objtype?: ObjectType; | ||
| roles?: Node[]; | ||
| new_tablespacename?: string; | ||
| nowait?: boolean; | ||
| } | ||
| export interface CreateExtensionStmt { | ||
| extname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionStmt { | ||
| extname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionContentsStmt { | ||
| extname?: string; | ||
| action?: number; | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| } | ||
| export interface CreateFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateForeignServerStmt { | ||
| servername?: string; | ||
| servertype?: string; | ||
| version?: string; | ||
| fdwname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterForeignServerStmt { | ||
| servername?: string; | ||
| version?: string; | ||
| options?: Node[]; | ||
| has_version?: boolean; | ||
| } | ||
| export interface CreateForeignTableStmt { | ||
| base?: CreateStmt; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface ImportForeignSchemaStmt { | ||
| server_name?: string; | ||
| remote_schema?: string; | ||
| local_schema?: string; | ||
| list_type?: ImportForeignSchemaType; | ||
| table_list?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreatePolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| cmd_name?: string; | ||
| permissive?: boolean; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface AlterPolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface CreateAmStmt { | ||
| amname?: string; | ||
| handler_name?: Node[]; | ||
| amtype?: string; | ||
| } | ||
| export interface CreateTrigStmt { | ||
| replace?: boolean; | ||
| isconstraint?: boolean; | ||
| trigname?: string; | ||
| relation?: RangeVar; | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| row?: boolean; | ||
| timing?: number; | ||
| events?: number; | ||
| columns?: Node[]; | ||
| whenClause?: Node; | ||
| transitionRels?: Node[]; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| constrrel?: RangeVar; | ||
| } | ||
| export interface CreateEventTrigStmt { | ||
| trigname?: string; | ||
| eventname?: string; | ||
| whenclause?: Node[]; | ||
| funcname?: Node[]; | ||
| } | ||
| export interface AlterEventTrigStmt { | ||
| trigname?: string; | ||
| tgenabled?: string; | ||
| } | ||
| export interface CreatePLangStmt { | ||
| replace?: boolean; | ||
| plname?: string; | ||
| plhandler?: Node[]; | ||
| plinline?: Node[]; | ||
| plvalidator?: Node[]; | ||
| pltrusted?: boolean; | ||
| } | ||
| export interface CreateRoleStmt { | ||
| stmt_type?: RoleStmtType; | ||
| role?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterRoleStmt { | ||
| role?: RoleSpec; | ||
| options?: Node[]; | ||
| action?: number; | ||
| } | ||
| export interface AlterRoleSetStmt { | ||
| role?: RoleSpec; | ||
| database?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface DropRoleStmt { | ||
| roles?: Node[]; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface CreateSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| ownerId?: number; | ||
| for_identity?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| for_identity?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface DefineStmt { | ||
| kind?: ObjectType; | ||
| oldstyle?: boolean; | ||
| defnames?: Node[]; | ||
| args?: Node[]; | ||
| definition?: Node[]; | ||
| if_not_exists?: boolean; | ||
| replace?: boolean; | ||
| } | ||
| export interface CreateDomainStmt { | ||
| domainname?: Node[]; | ||
| typeName?: TypeName; | ||
| collClause?: CollateClause; | ||
| constraints?: Node[]; | ||
| } | ||
| export interface CreateOpClassStmt { | ||
| opclassname?: Node[]; | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| datatype?: TypeName; | ||
| items?: Node[]; | ||
| isDefault?: boolean; | ||
| } | ||
| export interface CreateOpClassItem { | ||
| itemtype?: number; | ||
| name?: ObjectWithArgs; | ||
| number?: number; | ||
| order_family?: Node[]; | ||
| class_args?: Node[]; | ||
| storedtype?: TypeName; | ||
| } | ||
| export interface CreateOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| } | ||
| export interface AlterOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| isDrop?: boolean; | ||
| items?: Node[]; | ||
| } | ||
| export interface DropStmt { | ||
| objects?: Node[]; | ||
| removeType?: ObjectType; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface TruncateStmt { | ||
| relations?: Node[]; | ||
| restart_seqs?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface CommentStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| comment?: string; | ||
| } | ||
| export interface SecLabelStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| provider?: string; | ||
| label?: string; | ||
| } | ||
| export interface DeclareCursorStmt { | ||
| portalname?: string; | ||
| options?: number; | ||
| query?: Node; | ||
| } | ||
| export interface ClosePortalStmt { | ||
| portalname?: string; | ||
| } | ||
| export interface FetchStmt { | ||
| direction?: FetchDirection; | ||
| howMany?: bigint; | ||
| portalname?: string; | ||
| ismove?: boolean; | ||
| } | ||
| export interface IndexStmt { | ||
| idxname?: string; | ||
| relation?: RangeVar; | ||
| accessMethod?: string; | ||
| tableSpace?: string; | ||
| indexParams?: Node[]; | ||
| indexIncludingParams?: Node[]; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| excludeOpNames?: Node[]; | ||
| idxcomment?: string; | ||
| indexOid?: number; | ||
| oldNumber?: number; | ||
| oldCreateSubid?: number; | ||
| oldFirstRelfilelocatorSubid?: number; | ||
| unique?: boolean; | ||
| nulls_not_distinct?: boolean; | ||
| primary?: boolean; | ||
| isconstraint?: boolean; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| transformed?: boolean; | ||
| concurrent?: boolean; | ||
| if_not_exists?: boolean; | ||
| reset_default_tblspc?: boolean; | ||
| } | ||
| export interface CreateStatsStmt { | ||
| defnames?: Node[]; | ||
| stat_types?: Node[]; | ||
| exprs?: Node[]; | ||
| relations?: Node[]; | ||
| stxcomment?: string; | ||
| transformed?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface StatsElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| } | ||
| export interface AlterStatsStmt { | ||
| defnames?: Node[]; | ||
| stxstattarget?: Node; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface CreateFunctionStmt { | ||
| is_procedure?: boolean; | ||
| replace?: boolean; | ||
| funcname?: Node[]; | ||
| parameters?: Node[]; | ||
| returnType?: TypeName; | ||
| options?: Node[]; | ||
| sql_body?: Node; | ||
| } | ||
| export interface FunctionParameter { | ||
| name?: string; | ||
| argType?: TypeName; | ||
| mode?: FunctionParameterMode; | ||
| defexpr?: Node; | ||
| } | ||
| export interface AlterFunctionStmt { | ||
| objtype?: ObjectType; | ||
| func?: ObjectWithArgs; | ||
| actions?: Node[]; | ||
| } | ||
| export interface DoStmt { | ||
| args?: Node[]; | ||
| } | ||
| export interface InlineCodeBlock { | ||
| source_text?: string; | ||
| langOid?: number; | ||
| langIsTrusted?: boolean; | ||
| atomic?: boolean; | ||
| } | ||
| export interface CallStmt { | ||
| funccall?: FuncCall; | ||
| funcexpr?: FuncExpr; | ||
| outargs?: Node[]; | ||
| } | ||
| export interface CallContext { | ||
| atomic?: boolean; | ||
| } | ||
| export interface RenameStmt { | ||
| renameType?: ObjectType; | ||
| relationType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| subname?: string; | ||
| newname?: string; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterObjectDependsStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| extname?: String; | ||
| remove?: boolean; | ||
| } | ||
| export interface AlterObjectSchemaStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newschema?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterOwnerStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newowner?: RoleSpec; | ||
| } | ||
| export interface AlterOperatorStmt { | ||
| opername?: ObjectWithArgs; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTypeStmt { | ||
| typeName?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface RuleStmt { | ||
| relation?: RangeVar; | ||
| rulename?: string; | ||
| whereClause?: Node; | ||
| event?: CmdType; | ||
| instead?: boolean; | ||
| actions?: Node[]; | ||
| replace?: boolean; | ||
| } | ||
| export interface NotifyStmt { | ||
| conditionname?: string; | ||
| payload?: string; | ||
| } | ||
| export interface ListenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface UnlistenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface TransactionStmt { | ||
| kind?: TransactionStmtKind; | ||
| options?: Node[]; | ||
| savepoint_name?: string; | ||
| gid?: string; | ||
| chain?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface CompositeTypeStmt { | ||
| typevar?: RangeVar; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface CreateEnumStmt { | ||
| typeName?: Node[]; | ||
| vals?: Node[]; | ||
| } | ||
| export interface CreateRangeStmt { | ||
| typeName?: Node[]; | ||
| params?: Node[]; | ||
| } | ||
| export interface AlterEnumStmt { | ||
| typeName?: Node[]; | ||
| oldVal?: string; | ||
| newVal?: string; | ||
| newValNeighbor?: string; | ||
| newValIsAfter?: boolean; | ||
| skipIfNewValExists?: boolean; | ||
| } | ||
| export interface ViewStmt { | ||
| view?: RangeVar; | ||
| aliases?: Node[]; | ||
| query?: Node; | ||
| replace?: boolean; | ||
| options?: Node[]; | ||
| withCheckOption?: ViewCheckOption; | ||
| } | ||
| export interface LoadStmt { | ||
| filename?: string; | ||
| } | ||
| export interface CreatedbStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterDatabaseStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterDatabaseRefreshCollStmt { | ||
| dbname?: string; | ||
| } | ||
| export interface AlterDatabaseSetStmt { | ||
| dbname?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface DropdbStmt { | ||
| dbname?: string; | ||
| missing_ok?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterSystemStmt { | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface ClusterStmt { | ||
| relation?: RangeVar; | ||
| indexname?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface VacuumStmt { | ||
| options?: Node[]; | ||
| rels?: Node[]; | ||
| is_vacuumcmd?: boolean; | ||
| } | ||
| export interface VacuumRelation { | ||
| relation?: RangeVar; | ||
| oid?: number; | ||
| va_cols?: Node[]; | ||
| } | ||
| export interface ExplainStmt { | ||
| query?: Node; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateTableAsStmt { | ||
| query?: Node; | ||
| into?: IntoClause; | ||
| objtype?: ObjectType; | ||
| is_select_into?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface RefreshMatViewStmt { | ||
| concurrent?: boolean; | ||
| skipData?: boolean; | ||
| relation?: RangeVar; | ||
| } | ||
| export interface CheckPointStmt { | ||
| } | ||
| export interface DiscardStmt { | ||
| target?: DiscardMode; | ||
| } | ||
| export interface LockStmt { | ||
| relations?: Node[]; | ||
| mode?: number; | ||
| nowait?: boolean; | ||
| } | ||
| export interface ConstraintsSetStmt { | ||
| constraints?: Node[]; | ||
| deferred?: boolean; | ||
| } | ||
| export interface ReindexStmt { | ||
| kind?: ReindexObjectType; | ||
| relation?: RangeVar; | ||
| name?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface CreateConversionStmt { | ||
| conversion_name?: Node[]; | ||
| for_encoding_name?: string; | ||
| to_encoding_name?: string; | ||
| func_name?: Node[]; | ||
| def?: boolean; | ||
| } | ||
| export interface CreateCastStmt { | ||
| sourcetype?: TypeName; | ||
| targettype?: TypeName; | ||
| func?: ObjectWithArgs; | ||
| context?: CoercionContext; | ||
| inout?: boolean; | ||
| } | ||
| export interface CreateTransformStmt { | ||
| replace?: boolean; | ||
| type_name?: TypeName; | ||
| lang?: string; | ||
| fromsql?: ObjectWithArgs; | ||
| tosql?: ObjectWithArgs; | ||
| } | ||
| export interface PrepareStmt { | ||
| name?: string; | ||
| argtypes?: Node[]; | ||
| query?: Node; | ||
| } | ||
| export interface ExecuteStmt { | ||
| name?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface DeallocateStmt { | ||
| name?: string; | ||
| isall?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface DropOwnedStmt { | ||
| roles?: Node[]; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ReassignOwnedStmt { | ||
| roles?: Node[]; | ||
| newrole?: RoleSpec; | ||
| } | ||
| export interface AlterTSDictionaryStmt { | ||
| dictname?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTSConfigurationStmt { | ||
| kind?: AlterTSConfigType; | ||
| cfgname?: Node[]; | ||
| tokentype?: Node[]; | ||
| dicts?: Node[]; | ||
| override?: boolean; | ||
| replace?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface PublicationTable { | ||
| relation?: RangeVar; | ||
| whereClause?: Node; | ||
| columns?: Node[]; | ||
| } | ||
| export interface PublicationObjSpec { | ||
| pubobjtype?: PublicationObjSpecType; | ||
| name?: string; | ||
| pubtable?: PublicationTable; | ||
| location?: number; | ||
| } | ||
| export interface CreatePublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| pubobjects?: Node[]; | ||
| for_all_tables?: boolean; | ||
| } | ||
| export interface AlterPublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| pubobjects?: Node[]; | ||
| for_all_tables?: boolean; | ||
| action?: AlterPublicationAction; | ||
| } | ||
| export interface CreateSubscriptionStmt { | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterSubscriptionStmt { | ||
| kind?: AlterSubscriptionType; | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropSubscriptionStmt { | ||
| subname?: string; | ||
| missing_ok?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ScanToken { | ||
| start?: number; | ||
| end?: number; | ||
| token?: Token; | ||
| keywordKind?: KeywordKind; | ||
| } |
+2
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
+21
-57
| { | ||
| "name": "@pgsql/types", | ||
| "version": "17.0.0", | ||
| "version": "17.1.0", | ||
| "author": "Dan Lynch <pyramation@gmail.com>", | ||
| "description": "PostgreSQL AST types for pgsql-parser", | ||
| "author": "Dan Lynch <pyramation@gmail.com>", | ||
| "main": "index.js", | ||
| "module": "esm/index.js", | ||
| "types": "index.d.ts", | ||
| "homepage": "https://github.com/launchql/pgsql-parser", | ||
| "license": "SEE LICENSE IN LICENSE", | ||
| "main": "main/index.js", | ||
| "module": "module/index.js", | ||
| "typings": "types/index.d.ts", | ||
| "directories": { | ||
| "lib": "src", | ||
| "test": "__tests__" | ||
| }, | ||
| "files": [ | ||
| "types", | ||
| "module", | ||
| "src", | ||
| "main" | ||
| ], | ||
| "publishConfig": { | ||
| "access": "public" | ||
| "access": "public", | ||
| "directory": "dist" | ||
| }, | ||
@@ -28,48 +19,21 @@ "repository": { | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/launchql/pgsql-parser/issues" | ||
| }, | ||
| "scripts": { | ||
| "build:main": "yarn tsc -p tsconfig.json --outDir main --module commonjs", | ||
| "build:module": "yarn tsc -p tsconfig.json --outDir module --module es2022", | ||
| "build": "npm run build:proto && npm run build:module && npm run build:main", | ||
| "buidl": "npm run build", | ||
| "buidl:clean": "npm run clean && npm run buidl", | ||
| "copy": "copyfiles -f ../../LICENSE README.md package.json dist", | ||
| "clean": "rimraf dist", | ||
| "prepare": "npm run build", | ||
| "build": "npm run build:proto && npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy", | ||
| "build:dev": "npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy", | ||
| "build:proto": "ts-node scripts/pg-proto-parser", | ||
| "clean": "rimraf ./types", | ||
| "prepare": "npm run build", | ||
| "lint": "eslint .", | ||
| "format": "eslint . --fix", | ||
| "lint": "eslint . --fix", | ||
| "test": "jest", | ||
| "test:watch": "jest --watch", | ||
| "test:debug": "node --inspect node_modules/.bin/jest --runInBand" | ||
| "test:watch": "jest --watch" | ||
| }, | ||
| "bugs": { | ||
| "url": "https://github.com/launchql/pgsql-parser/issues" | ||
| "devDependencies": { | ||
| "pg-proto-parser": "^1.25.0" | ||
| }, | ||
| "jest": { | ||
| "preset": "ts-jest", | ||
| "testEnvironment": "node", | ||
| "transform": { | ||
| "^.+\\.ts?$": "ts-jest" | ||
| }, | ||
| "transformIgnorePatterns": [ | ||
| "<rootDir>/node_modules/" | ||
| ], | ||
| "testPathIgnorePatterns": [ | ||
| "main/", | ||
| "module/" | ||
| ] | ||
| }, | ||
| "devDependencies": { | ||
| "@types/jest": "^29.5.0", | ||
| "eslint": "8.38.0", | ||
| "eslint-config-prettier": "^8.8.0", | ||
| "eslint-plugin-prettier": "^4.0.0", | ||
| "esprima": "4.0.1", | ||
| "jest": "^29.5.0", | ||
| "pg-proto-parser": "^1.20.0", | ||
| "prettier": "^2.8.7", | ||
| "rimraf": "5.0.5", | ||
| "ts-jest": "^29.1.0", | ||
| "ts-node": "10.9.2", | ||
| "typescript": "^5.0.4" | ||
| } | ||
| "keywords": [], | ||
| "gitHead": "40ee618df37a501169847056a50558c453cd30a6" | ||
| } |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
| "use strict"; | ||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| var desc = Object.getOwnPropertyDescriptor(m, k); | ||
| if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
| desc = { enumerable: true, get: function() { return m[k]; } }; | ||
| } | ||
| Object.defineProperty(o, k2, desc); | ||
| }) : (function(o, m, k, k2) { | ||
| if (k2 === undefined) k2 = k; | ||
| o[k2] = m[k]; | ||
| })); | ||
| var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
| for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
| }; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| __exportStar(require("./types"), exports); | ||
| __exportStar(require("./enums"), exports); |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
| export {}; |
| export * from './types'; | ||
| export * from './enums'; |
| export {}; |
-76
| /** | ||
| * This file was automatically generated by pg-proto-parser@1.23.0. | ||
| * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, | ||
| * and run the pg-proto-parser generate command to regenerate this file. | ||
| */ | ||
| export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; | ||
| export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; | ||
| export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; | ||
| export type SetQuantifier = "SET_QUANTIFIER_DEFAULT" | "SET_QUANTIFIER_ALL" | "SET_QUANTIFIER_DISTINCT"; | ||
| export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM"; | ||
| export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_ROLE" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; | ||
| export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_COMPRESSION" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; | ||
| export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; | ||
| export type PartitionStrategy = "PARTITION_STRATEGY_LIST" | "PARTITION_STRATEGY_RANGE" | "PARTITION_STRATEGY_HASH"; | ||
| export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; | ||
| export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; | ||
| export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK" | "WCO_RLS_MERGE_UPDATE_CHECK" | "WCO_RLS_MERGE_DELETE_CHECK"; | ||
| export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; | ||
| export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; | ||
| export type JsonQuotes = "JS_QUOTES_UNSPEC" | "JS_QUOTES_KEEP" | "JS_QUOTES_OMIT"; | ||
| export type JsonTableColumnType = "JTC_FOR_ORDINALITY" | "JTC_REGULAR" | "JTC_EXISTS" | "JTC_FORMATTED" | "JTC_NESTED"; | ||
| export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; | ||
| export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_PARAMETER_ACL" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_NAMESPACE" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; | ||
| export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; | ||
| export type AlterTableType = "AT_AddColumn" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_SetExpression" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_SetCompression" | "AT_DropColumn" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetAccessMethod" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_DetachPartitionFinalize" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity" | "AT_ReAddStatistics"; | ||
| export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; | ||
| export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; | ||
| export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; | ||
| export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; | ||
| export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; | ||
| export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; | ||
| export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE" | "FUNC_PARAM_DEFAULT"; | ||
| export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; | ||
| export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; | ||
| export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; | ||
| export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; | ||
| export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; | ||
| export type PublicationObjSpecType = "PUBLICATIONOBJ_TABLE" | "PUBLICATIONOBJ_TABLES_IN_SCHEMA" | "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA" | "PUBLICATIONOBJ_CONTINUATION"; | ||
| export type AlterPublicationAction = "AP_AddObjects" | "AP_DropObjects" | "AP_SetObjects"; | ||
| export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_SET_PUBLICATION" | "ALTER_SUBSCRIPTION_ADD_PUBLICATION" | "ALTER_SUBSCRIPTION_DROP_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED" | "ALTER_SUBSCRIPTION_SKIP"; | ||
| export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; | ||
| export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; | ||
| export type TableFuncType = "TFT_XMLTABLE" | "TFT_JSON_TABLE"; | ||
| export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; | ||
| export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_PLPGSQL" | "COERCION_EXPLICIT"; | ||
| export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST" | "COERCE_SQL_SYNTAX"; | ||
| export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; | ||
| export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; | ||
| export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; | ||
| export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; | ||
| export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; | ||
| export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; | ||
| export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; | ||
| export type JsonEncoding = "JS_ENC_DEFAULT" | "JS_ENC_UTF8" | "JS_ENC_UTF16" | "JS_ENC_UTF32"; | ||
| export type JsonFormatType = "JS_FORMAT_DEFAULT" | "JS_FORMAT_JSON" | "JS_FORMAT_JSONB"; | ||
| export type JsonConstructorType = "JSCTOR_JSON_OBJECT" | "JSCTOR_JSON_ARRAY" | "JSCTOR_JSON_OBJECTAGG" | "JSCTOR_JSON_ARRAYAGG" | "JSCTOR_JSON_PARSE" | "JSCTOR_JSON_SCALAR" | "JSCTOR_JSON_SERIALIZE"; | ||
| export type JsonValueType = "JS_TYPE_ANY" | "JS_TYPE_OBJECT" | "JS_TYPE_ARRAY" | "JS_TYPE_SCALAR"; | ||
| export type JsonWrapper = "JSW_UNSPEC" | "JSW_NONE" | "JSW_CONDITIONAL" | "JSW_UNCONDITIONAL"; | ||
| export type JsonBehaviorType = "JSON_BEHAVIOR_NULL" | "JSON_BEHAVIOR_ERROR" | "JSON_BEHAVIOR_EMPTY" | "JSON_BEHAVIOR_TRUE" | "JSON_BEHAVIOR_FALSE" | "JSON_BEHAVIOR_UNKNOWN" | "JSON_BEHAVIOR_EMPTY_ARRAY" | "JSON_BEHAVIOR_EMPTY_OBJECT" | "JSON_BEHAVIOR_DEFAULT"; | ||
| export type JsonExprOp = "JSON_EXISTS_OP" | "JSON_QUERY_OP" | "JSON_VALUE_OP" | "JSON_TABLE_OP"; | ||
| export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; | ||
| export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; | ||
| export type MergeMatchKind = "MERGE_WHEN_MATCHED" | "MERGE_WHEN_NOT_MATCHED_BY_SOURCE" | "MERGE_WHEN_NOT_MATCHED_BY_TARGET"; | ||
| export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_MERGE" | "CMD_UTILITY" | "CMD_NOTHING"; | ||
| export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_RIGHT_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; | ||
| export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; | ||
| export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; | ||
| export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; | ||
| export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; | ||
| export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; | ||
| export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; | ||
| export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; | ||
| export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; | ||
| export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; | ||
| export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; | ||
| export type Token = "NUL" | "ASCII_36" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSENT" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASENSITIVE" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "ATOMIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BREADTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "COMPRESSION" | "CONCURRENTLY" | "CONDITIONAL" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DEPTH" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "EMPTY_P" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ERROR_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FINALIZE" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORMAT" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "JSON" | "JSON_ARRAY" | "JSON_ARRAYAGG" | "JSON_EXISTS" | "JSON_OBJECT" | "JSON_OBJECTAGG" | "JSON_QUERY" | "JSON_SCALAR" | "JSON_SERIALIZE" | "JSON_TABLE" | "JSON_VALUE" | "KEEP" | "KEY" | "KEYS" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATCHED" | "MATERIALIZED" | "MAXVALUE" | "MERGE" | "MERGE_ACTION" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NESTED" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "OMIT" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARAMETER" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PATH" | "PLACING" | "PLAN" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "QUOTES" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURN" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCALAR" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SOURCE" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRING_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "SYSTEM_USER" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TARGET" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCONDITIONAL" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "FORMAT_LA" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "WITHOUT_LA" | "MODE_TYPE_NAME" | "MODE_PLPGSQL_EXPR" | "MODE_PLPGSQL_ASSIGN1" | "MODE_PLPGSQL_ASSIGN2" | "MODE_PLPGSQL_ASSIGN3" | "UMINUS"; |
| export * from './types'; | ||
| export * from './enums'; |
-1943
| /** | ||
| * This file was automatically generated by pg-proto-parser@1.23.0. | ||
| * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, | ||
| * and run the pg-proto-parser generate command to regenerate this file. | ||
| */ | ||
| import { QuerySource, SortByDir, SortByNulls, SetQuantifier, A_Expr_Kind, RoleSpecType, TableLikeOption, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, JsonQuotes, JsonTableColumnType, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OverridingKind, OnCommitAction, TableFuncType, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, JsonWrapper, JsonBehaviorType, JsonExprOp, NullTestType, BoolTestType, MergeMatchKind, CmdType, JoinType, AggStrategy, AggSplit, SetOpCmd, SetOpStrategy, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, LockTupleMode, KeywordKind, Token } from "./enums"; | ||
| export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | WindowFuncRunCondition | MergeSupportFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | JsonBehavior | JsonExpr | JsonTablePath | JsonTablePathScan | JsonTableSiblingJoin | NullTest | BooleanTest | MergeAction | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | SinglePartitionSpec | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | TriggerTransition | JsonOutput | JsonArgument | JsonFuncExpr | JsonTablePathSpec | JsonTable | JsonTableColumn | JsonKeyValue | JsonParseExpr | JsonScalarExpr | JsonSerializeExpr | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; | ||
| export interface ParseResult { | ||
| version?: number; | ||
| stmts?: RawStmt[]; | ||
| } | ||
| export interface ScanResult { | ||
| version?: number; | ||
| tokens?: ScanToken[]; | ||
| } | ||
| export interface Integer { | ||
| ival?: number; | ||
| } | ||
| export interface Float { | ||
| fval?: string; | ||
| } | ||
| export interface Boolean { | ||
| boolval?: boolean; | ||
| } | ||
| export interface String { | ||
| sval?: string; | ||
| } | ||
| export interface BitString { | ||
| bsval?: string; | ||
| } | ||
| export interface List { | ||
| items?: Node[]; | ||
| } | ||
| export interface OidList { | ||
| items?: Node[]; | ||
| } | ||
| export interface IntList { | ||
| items?: Node[]; | ||
| } | ||
| export interface A_Const { | ||
| ival?: Integer; | ||
| fval?: Float; | ||
| boolval?: Boolean; | ||
| sval?: String; | ||
| bsval?: BitString; | ||
| isnull?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface Alias { | ||
| aliasname?: string; | ||
| colnames?: Node[]; | ||
| } | ||
| export interface RangeVar { | ||
| catalogname?: string; | ||
| schemaname?: string; | ||
| relname?: string; | ||
| inh?: boolean; | ||
| relpersistence?: string; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface TableFunc { | ||
| functype?: TableFuncType; | ||
| ns_uris?: Node[]; | ||
| ns_names?: Node[]; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| colnames?: Node[]; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| colexprs?: Node[]; | ||
| coldefexprs?: Node[]; | ||
| colvalexprs?: Node[]; | ||
| passingvalexprs?: Node[]; | ||
| notnulls?: bigint[]; | ||
| plan?: Node; | ||
| ordinalitycol?: number; | ||
| location?: number; | ||
| } | ||
| export interface IntoClause { | ||
| rel?: RangeVar; | ||
| colNames?: Node[]; | ||
| accessMethod?: string; | ||
| options?: Node[]; | ||
| onCommit?: OnCommitAction; | ||
| tableSpaceName?: string; | ||
| viewQuery?: Node; | ||
| skipData?: boolean; | ||
| } | ||
| export interface Var { | ||
| xpr?: Node; | ||
| varno?: number; | ||
| varattno?: number; | ||
| vartype?: number; | ||
| vartypmod?: number; | ||
| varcollid?: number; | ||
| varnullingrels?: bigint[]; | ||
| varlevelsup?: number; | ||
| location?: number; | ||
| } | ||
| export interface Param { | ||
| xpr?: Node; | ||
| paramkind?: ParamKind; | ||
| paramid?: number; | ||
| paramtype?: number; | ||
| paramtypmod?: number; | ||
| paramcollid?: number; | ||
| location?: number; | ||
| } | ||
| export interface Aggref { | ||
| xpr?: Node; | ||
| aggfnoid?: number; | ||
| aggtype?: number; | ||
| aggcollid?: number; | ||
| inputcollid?: number; | ||
| aggargtypes?: Node[]; | ||
| aggdirectargs?: Node[]; | ||
| args?: Node[]; | ||
| aggorder?: Node[]; | ||
| aggdistinct?: Node[]; | ||
| aggfilter?: Node; | ||
| aggstar?: boolean; | ||
| aggvariadic?: boolean; | ||
| aggkind?: string; | ||
| agglevelsup?: number; | ||
| aggsplit?: AggSplit; | ||
| aggno?: number; | ||
| aggtransno?: number; | ||
| location?: number; | ||
| } | ||
| export interface GroupingFunc { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| refs?: Node[]; | ||
| agglevelsup?: number; | ||
| location?: number; | ||
| } | ||
| export interface WindowFunc { | ||
| xpr?: Node; | ||
| winfnoid?: number; | ||
| wintype?: number; | ||
| wincollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| aggfilter?: Node; | ||
| runCondition?: Node[]; | ||
| winref?: number; | ||
| winstar?: boolean; | ||
| winagg?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface WindowFuncRunCondition { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| inputcollid?: number; | ||
| wfunc_left?: boolean; | ||
| arg?: Node; | ||
| } | ||
| export interface MergeSupportFunc { | ||
| xpr?: Node; | ||
| msftype?: number; | ||
| msfcollid?: number; | ||
| location?: number; | ||
| } | ||
| export interface SubscriptingRef { | ||
| xpr?: Node; | ||
| refcontainertype?: number; | ||
| refelemtype?: number; | ||
| refrestype?: number; | ||
| reftypmod?: number; | ||
| refcollid?: number; | ||
| refupperindexpr?: Node[]; | ||
| reflowerindexpr?: Node[]; | ||
| refexpr?: Node; | ||
| refassgnexpr?: Node; | ||
| } | ||
| export interface FuncExpr { | ||
| xpr?: Node; | ||
| funcid?: number; | ||
| funcresulttype?: number; | ||
| funcretset?: boolean; | ||
| funcvariadic?: boolean; | ||
| funcformat?: CoercionForm; | ||
| funccollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NamedArgExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| name?: string; | ||
| argnumber?: number; | ||
| location?: number; | ||
| } | ||
| export interface OpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface DistinctExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NullIfExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ScalarArrayOpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| useOr?: boolean; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface BoolExpr { | ||
| xpr?: Node; | ||
| boolop?: BoolExprType; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SubLink { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| subLinkId?: number; | ||
| testexpr?: Node; | ||
| operName?: Node[]; | ||
| subselect?: Node; | ||
| location?: number; | ||
| } | ||
| export interface SubPlan { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| testexpr?: Node; | ||
| paramIds?: Node[]; | ||
| plan_id?: number; | ||
| plan_name?: string; | ||
| firstColType?: number; | ||
| firstColTypmod?: number; | ||
| firstColCollation?: number; | ||
| useHashTable?: boolean; | ||
| unknownEqFalse?: boolean; | ||
| parallel_safe?: boolean; | ||
| setParam?: Node[]; | ||
| parParam?: Node[]; | ||
| args?: Node[]; | ||
| startup_cost?: number; | ||
| per_call_cost?: number; | ||
| } | ||
| export interface AlternativeSubPlan { | ||
| xpr?: Node; | ||
| subplans?: Node[]; | ||
| } | ||
| export interface FieldSelect { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| fieldnum?: number; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| } | ||
| export interface FieldStore { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| newvals?: Node[]; | ||
| fieldnums?: Node[]; | ||
| resulttype?: number; | ||
| } | ||
| export interface RelabelType { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| relabelformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceViaIO { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ArrayCoerceExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| elemexpr?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ConvertRowtypeExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| convertformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CollateExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| collOid?: number; | ||
| location?: number; | ||
| } | ||
| export interface CaseExpr { | ||
| xpr?: Node; | ||
| casetype?: number; | ||
| casecollid?: number; | ||
| arg?: Node; | ||
| args?: Node[]; | ||
| defresult?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseWhen { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| result?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseTestExpr { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| } | ||
| export interface ArrayExpr { | ||
| xpr?: Node; | ||
| array_typeid?: number; | ||
| array_collid?: number; | ||
| element_typeid?: number; | ||
| elements?: Node[]; | ||
| multidims?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface RowExpr { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| row_typeid?: number; | ||
| row_format?: CoercionForm; | ||
| colnames?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface RowCompareExpr { | ||
| xpr?: Node; | ||
| rctype?: RowCompareType; | ||
| opnos?: Node[]; | ||
| opfamilies?: Node[]; | ||
| inputcollids?: Node[]; | ||
| largs?: Node[]; | ||
| rargs?: Node[]; | ||
| } | ||
| export interface CoalesceExpr { | ||
| xpr?: Node; | ||
| coalescetype?: number; | ||
| coalescecollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface MinMaxExpr { | ||
| xpr?: Node; | ||
| minmaxtype?: number; | ||
| minmaxcollid?: number; | ||
| inputcollid?: number; | ||
| op?: MinMaxOp; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SQLValueFunction { | ||
| xpr?: Node; | ||
| op?: SQLValueFunctionOp; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface XmlExpr { | ||
| xpr?: Node; | ||
| op?: XmlExprOp; | ||
| name?: string; | ||
| named_args?: Node[]; | ||
| arg_names?: Node[]; | ||
| args?: Node[]; | ||
| xmloption?: XmlOptionType; | ||
| indent?: boolean; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonFormat { | ||
| format_type?: JsonFormatType; | ||
| encoding?: JsonEncoding; | ||
| location?: number; | ||
| } | ||
| export interface JsonReturning { | ||
| format?: JsonFormat; | ||
| typid?: number; | ||
| typmod?: number; | ||
| } | ||
| export interface JsonValueExpr { | ||
| raw_expr?: Node; | ||
| formatted_expr?: Node; | ||
| format?: JsonFormat; | ||
| } | ||
| export interface JsonConstructorExpr { | ||
| xpr?: Node; | ||
| type?: JsonConstructorType; | ||
| args?: Node[]; | ||
| func?: Node; | ||
| coercion?: Node; | ||
| returning?: JsonReturning; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonIsPredicate { | ||
| expr?: Node; | ||
| format?: JsonFormat; | ||
| item_type?: JsonValueType; | ||
| unique_keys?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonBehavior { | ||
| btype?: JsonBehaviorType; | ||
| expr?: Node; | ||
| coerce?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonExpr { | ||
| xpr?: Node; | ||
| op?: JsonExprOp; | ||
| column_name?: string; | ||
| formatted_expr?: Node; | ||
| format?: JsonFormat; | ||
| path_spec?: Node; | ||
| returning?: JsonReturning; | ||
| passing_names?: Node[]; | ||
| passing_values?: Node[]; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| use_io_coercion?: boolean; | ||
| use_json_coercion?: boolean; | ||
| wrapper?: JsonWrapper; | ||
| omit_quotes?: boolean; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonTablePath { | ||
| name?: string; | ||
| } | ||
| export interface JsonTablePathScan { | ||
| plan?: Node; | ||
| path?: JsonTablePath; | ||
| errorOnError?: boolean; | ||
| child?: Node; | ||
| colMin?: number; | ||
| colMax?: number; | ||
| } | ||
| export interface JsonTableSiblingJoin { | ||
| plan?: Node; | ||
| lplan?: Node; | ||
| rplan?: Node; | ||
| } | ||
| export interface NullTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| nulltesttype?: NullTestType; | ||
| argisrow?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface BooleanTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| booltesttype?: BoolTestType; | ||
| location?: number; | ||
| } | ||
| export interface MergeAction { | ||
| matchKind?: MergeMatchKind; | ||
| commandType?: CmdType; | ||
| override?: OverridingKind; | ||
| qual?: Node; | ||
| targetList?: Node[]; | ||
| updateColnos?: Node[]; | ||
| } | ||
| export interface CoerceToDomain { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coercionformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceToDomainValue { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface SetToDefault { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface CurrentOfExpr { | ||
| xpr?: Node; | ||
| cvarno?: number; | ||
| cursor_name?: string; | ||
| cursor_param?: number; | ||
| } | ||
| export interface NextValueExpr { | ||
| xpr?: Node; | ||
| seqid?: number; | ||
| typeId?: number; | ||
| } | ||
| export interface InferenceElem { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| infercollid?: number; | ||
| inferopclass?: number; | ||
| } | ||
| export interface TargetEntry { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| resno?: number; | ||
| resname?: string; | ||
| ressortgroupref?: number; | ||
| resorigtbl?: number; | ||
| resorigcol?: number; | ||
| resjunk?: boolean; | ||
| } | ||
| export interface RangeTblRef { | ||
| rtindex?: number; | ||
| } | ||
| export interface JoinExpr { | ||
| jointype?: JoinType; | ||
| isNatural?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| usingClause?: Node[]; | ||
| join_using_alias?: Alias; | ||
| quals?: Node; | ||
| alias?: Alias; | ||
| rtindex?: number; | ||
| } | ||
| export interface FromExpr { | ||
| fromlist?: Node[]; | ||
| quals?: Node; | ||
| } | ||
| export interface OnConflictExpr { | ||
| action?: OnConflictAction; | ||
| arbiterElems?: Node[]; | ||
| arbiterWhere?: Node; | ||
| constraint?: number; | ||
| onConflictSet?: Node[]; | ||
| onConflictWhere?: Node; | ||
| exclRelIndex?: number; | ||
| exclRelTlist?: Node[]; | ||
| } | ||
| export interface Query { | ||
| commandType?: CmdType; | ||
| querySource?: QuerySource; | ||
| canSetTag?: boolean; | ||
| utilityStmt?: Node; | ||
| resultRelation?: number; | ||
| hasAggs?: boolean; | ||
| hasWindowFuncs?: boolean; | ||
| hasTargetSRFs?: boolean; | ||
| hasSubLinks?: boolean; | ||
| hasDistinctOn?: boolean; | ||
| hasRecursive?: boolean; | ||
| hasModifyingCTE?: boolean; | ||
| hasForUpdate?: boolean; | ||
| hasRowSecurity?: boolean; | ||
| isReturn?: boolean; | ||
| cteList?: Node[]; | ||
| rtable?: Node[]; | ||
| rteperminfos?: Node[]; | ||
| jointree?: FromExpr; | ||
| mergeActionList?: Node[]; | ||
| mergeTargetRelation?: number; | ||
| mergeJoinCondition?: Node; | ||
| targetList?: Node[]; | ||
| override?: OverridingKind; | ||
| onConflict?: OnConflictExpr; | ||
| returningList?: Node[]; | ||
| groupClause?: Node[]; | ||
| groupDistinct?: boolean; | ||
| groupingSets?: Node[]; | ||
| havingQual?: Node; | ||
| windowClause?: Node[]; | ||
| distinctClause?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| rowMarks?: Node[]; | ||
| setOperations?: Node; | ||
| constraintDeps?: Node[]; | ||
| withCheckOptions?: Node[]; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface TypeName { | ||
| names?: Node[]; | ||
| typeOid?: number; | ||
| setof?: boolean; | ||
| pct_type?: boolean; | ||
| typmods?: Node[]; | ||
| typemod?: number; | ||
| arrayBounds?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ColumnRef { | ||
| fields?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ParamRef { | ||
| number?: number; | ||
| location?: number; | ||
| } | ||
| export interface A_Expr { | ||
| kind?: A_Expr_Kind; | ||
| name?: Node[]; | ||
| lexpr?: Node; | ||
| rexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface TypeCast { | ||
| arg?: Node; | ||
| typeName?: TypeName; | ||
| location?: number; | ||
| } | ||
| export interface CollateClause { | ||
| arg?: Node; | ||
| collname?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface RoleSpec { | ||
| roletype?: RoleSpecType; | ||
| rolename?: string; | ||
| location?: number; | ||
| } | ||
| export interface FuncCall { | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| agg_order?: Node[]; | ||
| agg_filter?: Node; | ||
| over?: WindowDef; | ||
| agg_within_group?: boolean; | ||
| agg_star?: boolean; | ||
| agg_distinct?: boolean; | ||
| func_variadic?: boolean; | ||
| funcformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface A_Star {} | ||
| export interface A_Indices { | ||
| is_slice?: boolean; | ||
| lidx?: Node; | ||
| uidx?: Node; | ||
| } | ||
| export interface A_Indirection { | ||
| arg?: Node; | ||
| indirection?: Node[]; | ||
| } | ||
| export interface A_ArrayExpr { | ||
| elements?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ResTarget { | ||
| name?: string; | ||
| indirection?: Node[]; | ||
| val?: Node; | ||
| location?: number; | ||
| } | ||
| export interface MultiAssignRef { | ||
| source?: Node; | ||
| colno?: number; | ||
| ncolumns?: number; | ||
| } | ||
| export interface SortBy { | ||
| node?: Node; | ||
| sortby_dir?: SortByDir; | ||
| sortby_nulls?: SortByNulls; | ||
| useOp?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowDef { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeSubselect { | ||
| lateral?: boolean; | ||
| subquery?: Node; | ||
| alias?: Alias; | ||
| } | ||
| export interface RangeFunction { | ||
| lateral?: boolean; | ||
| ordinality?: boolean; | ||
| is_rowsfrom?: boolean; | ||
| functions?: Node[]; | ||
| alias?: Alias; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface RangeTableFunc { | ||
| lateral?: boolean; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| namespaces?: Node[]; | ||
| columns?: Node[]; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableFuncCol { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| for_ordinality?: boolean; | ||
| is_not_null?: boolean; | ||
| colexpr?: Node; | ||
| coldefexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableSample { | ||
| relation?: Node; | ||
| method?: Node[]; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| location?: number; | ||
| } | ||
| export interface ColumnDef { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| compression?: string; | ||
| inhcount?: number; | ||
| is_local?: boolean; | ||
| is_not_null?: boolean; | ||
| is_from_type?: boolean; | ||
| storage?: string; | ||
| storage_name?: string; | ||
| raw_default?: Node; | ||
| cooked_default?: Node; | ||
| identity?: string; | ||
| identitySequence?: RangeVar; | ||
| generated?: string; | ||
| collClause?: CollateClause; | ||
| collOid?: number; | ||
| constraints?: Node[]; | ||
| fdwoptions?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface TableLikeClause { | ||
| relation?: RangeVar; | ||
| options?: number; | ||
| relationOid?: number; | ||
| } | ||
| export interface IndexElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| indexcolname?: string; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| opclassopts?: Node[]; | ||
| ordering?: SortByDir; | ||
| nulls_ordering?: SortByNulls; | ||
| } | ||
| export interface DefElem { | ||
| defnamespace?: string; | ||
| defname?: string; | ||
| arg?: Node; | ||
| defaction?: DefElemAction; | ||
| location?: number; | ||
| } | ||
| export interface LockingClause { | ||
| lockedRels?: Node[]; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| } | ||
| export interface XmlSerialize { | ||
| xmloption?: XmlOptionType; | ||
| expr?: Node; | ||
| typeName?: TypeName; | ||
| indent?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface PartitionElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionSpec { | ||
| strategy?: PartitionStrategy; | ||
| partParams?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionBoundSpec { | ||
| strategy?: string; | ||
| is_default?: boolean; | ||
| modulus?: number; | ||
| remainder?: number; | ||
| listdatums?: Node[]; | ||
| lowerdatums?: Node[]; | ||
| upperdatums?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionRangeDatum { | ||
| kind?: PartitionRangeDatumKind; | ||
| value?: Node; | ||
| location?: number; | ||
| } | ||
| export interface SinglePartitionSpec {} | ||
| export interface PartitionCmd { | ||
| name?: RangeVar; | ||
| bound?: PartitionBoundSpec; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface RangeTblEntry { | ||
| alias?: Alias; | ||
| eref?: Alias; | ||
| rtekind?: RTEKind; | ||
| relid?: number; | ||
| inh?: boolean; | ||
| relkind?: string; | ||
| rellockmode?: number; | ||
| perminfoindex?: number; | ||
| tablesample?: TableSampleClause; | ||
| subquery?: Query; | ||
| security_barrier?: boolean; | ||
| jointype?: JoinType; | ||
| joinmergedcols?: number; | ||
| joinaliasvars?: Node[]; | ||
| joinleftcols?: Node[]; | ||
| joinrightcols?: Node[]; | ||
| join_using_alias?: Alias; | ||
| functions?: Node[]; | ||
| funcordinality?: boolean; | ||
| tablefunc?: TableFunc; | ||
| values_lists?: Node[]; | ||
| ctename?: string; | ||
| ctelevelsup?: number; | ||
| self_reference?: boolean; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| enrname?: string; | ||
| enrtuples?: number; | ||
| lateral?: boolean; | ||
| inFromCl?: boolean; | ||
| securityQuals?: Node[]; | ||
| } | ||
| export interface RTEPermissionInfo { | ||
| relid?: number; | ||
| inh?: boolean; | ||
| requiredPerms?: bigint; | ||
| checkAsUser?: number; | ||
| selectedCols?: bigint[]; | ||
| insertedCols?: bigint[]; | ||
| updatedCols?: bigint[]; | ||
| } | ||
| export interface RangeTblFunction { | ||
| funcexpr?: Node; | ||
| funccolcount?: number; | ||
| funccolnames?: Node[]; | ||
| funccoltypes?: Node[]; | ||
| funccoltypmods?: Node[]; | ||
| funccolcollations?: Node[]; | ||
| funcparams?: bigint[]; | ||
| } | ||
| export interface TableSampleClause { | ||
| tsmhandler?: number; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| } | ||
| export interface WithCheckOption { | ||
| kind?: WCOKind; | ||
| relname?: string; | ||
| polname?: string; | ||
| qual?: Node; | ||
| cascaded?: boolean; | ||
| } | ||
| export interface SortGroupClause { | ||
| tleSortGroupRef?: number; | ||
| eqop?: number; | ||
| sortop?: number; | ||
| nulls_first?: boolean; | ||
| hashable?: boolean; | ||
| } | ||
| export interface GroupingSet { | ||
| kind?: GroupingSetKind; | ||
| content?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowClause { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| startInRangeFunc?: number; | ||
| endInRangeFunc?: number; | ||
| inRangeColl?: number; | ||
| inRangeAsc?: boolean; | ||
| inRangeNullsFirst?: boolean; | ||
| winref?: number; | ||
| copiedOrder?: boolean; | ||
| } | ||
| export interface RowMarkClause { | ||
| rti?: number; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| pushedDown?: boolean; | ||
| } | ||
| export interface WithClause { | ||
| ctes?: Node[]; | ||
| recursive?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface InferClause { | ||
| indexElems?: Node[]; | ||
| whereClause?: Node; | ||
| conname?: string; | ||
| location?: number; | ||
| } | ||
| export interface OnConflictClause { | ||
| action?: OnConflictAction; | ||
| infer?: InferClause; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CTESearchClause { | ||
| search_col_list?: Node[]; | ||
| search_breadth_first?: boolean; | ||
| search_seq_column?: string; | ||
| location?: number; | ||
| } | ||
| export interface CTECycleClause { | ||
| cycle_col_list?: Node[]; | ||
| cycle_mark_column?: string; | ||
| cycle_mark_value?: Node; | ||
| cycle_mark_default?: Node; | ||
| cycle_path_column?: string; | ||
| location?: number; | ||
| cycle_mark_type?: number; | ||
| cycle_mark_typmod?: number; | ||
| cycle_mark_collation?: number; | ||
| cycle_mark_neop?: number; | ||
| } | ||
| export interface CommonTableExpr { | ||
| ctename?: string; | ||
| aliascolnames?: Node[]; | ||
| ctematerialized?: CTEMaterialize; | ||
| ctequery?: Node; | ||
| search_clause?: CTESearchClause; | ||
| cycle_clause?: CTECycleClause; | ||
| location?: number; | ||
| cterecursive?: boolean; | ||
| cterefcount?: number; | ||
| ctecolnames?: Node[]; | ||
| ctecoltypes?: Node[]; | ||
| ctecoltypmods?: Node[]; | ||
| ctecolcollations?: Node[]; | ||
| } | ||
| export interface MergeWhenClause { | ||
| matchKind?: MergeMatchKind; | ||
| commandType?: CmdType; | ||
| override?: OverridingKind; | ||
| condition?: Node; | ||
| targetList?: Node[]; | ||
| values?: Node[]; | ||
| } | ||
| export interface TriggerTransition { | ||
| name?: string; | ||
| isNew?: boolean; | ||
| isTable?: boolean; | ||
| } | ||
| export interface JsonOutput { | ||
| typeName?: TypeName; | ||
| returning?: JsonReturning; | ||
| } | ||
| export interface JsonArgument { | ||
| val?: JsonValueExpr; | ||
| name?: string; | ||
| } | ||
| export interface JsonFuncExpr { | ||
| op?: JsonExprOp; | ||
| column_name?: string; | ||
| context_item?: JsonValueExpr; | ||
| pathspec?: Node; | ||
| passing?: Node[]; | ||
| output?: JsonOutput; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| wrapper?: JsonWrapper; | ||
| quotes?: JsonQuotes; | ||
| location?: number; | ||
| } | ||
| export interface JsonTablePathSpec { | ||
| string?: Node; | ||
| name?: string; | ||
| name_location?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonTable { | ||
| context_item?: JsonValueExpr; | ||
| pathspec?: JsonTablePathSpec; | ||
| passing?: Node[]; | ||
| columns?: Node[]; | ||
| on_error?: JsonBehavior; | ||
| alias?: Alias; | ||
| lateral?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonTableColumn { | ||
| coltype?: JsonTableColumnType; | ||
| name?: string; | ||
| typeName?: TypeName; | ||
| pathspec?: JsonTablePathSpec; | ||
| format?: JsonFormat; | ||
| wrapper?: JsonWrapper; | ||
| quotes?: JsonQuotes; | ||
| columns?: Node[]; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| location?: number; | ||
| } | ||
| export interface JsonKeyValue { | ||
| key?: Node; | ||
| value?: JsonValueExpr; | ||
| } | ||
| export interface JsonParseExpr { | ||
| expr?: JsonValueExpr; | ||
| output?: JsonOutput; | ||
| unique_keys?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonScalarExpr { | ||
| expr?: Node; | ||
| output?: JsonOutput; | ||
| location?: number; | ||
| } | ||
| export interface JsonSerializeExpr { | ||
| expr?: JsonValueExpr; | ||
| output?: JsonOutput; | ||
| location?: number; | ||
| } | ||
| export interface JsonObjectConstructor { | ||
| exprs?: Node[]; | ||
| output?: JsonOutput; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonArrayConstructor { | ||
| exprs?: Node[]; | ||
| output?: JsonOutput; | ||
| absent_on_null?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonArrayQueryConstructor { | ||
| query?: Node; | ||
| output?: JsonOutput; | ||
| format?: JsonFormat; | ||
| absent_on_null?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonAggConstructor { | ||
| output?: JsonOutput; | ||
| agg_filter?: Node; | ||
| agg_order?: Node[]; | ||
| over?: WindowDef; | ||
| location?: number; | ||
| } | ||
| export interface JsonObjectAgg { | ||
| constructor?: JsonAggConstructor; | ||
| arg?: JsonKeyValue; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| } | ||
| export interface JsonArrayAgg { | ||
| constructor?: JsonAggConstructor; | ||
| arg?: JsonValueExpr; | ||
| absent_on_null?: boolean; | ||
| } | ||
| export interface RawStmt { | ||
| stmt?: Node; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface InsertStmt { | ||
| relation?: RangeVar; | ||
| cols?: Node[]; | ||
| selectStmt?: Node; | ||
| onConflictClause?: OnConflictClause; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| override?: OverridingKind; | ||
| } | ||
| export interface DeleteStmt { | ||
| relation?: RangeVar; | ||
| usingClause?: Node[]; | ||
| whereClause?: Node; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface UpdateStmt { | ||
| relation?: RangeVar; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| fromClause?: Node[]; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface MergeStmt { | ||
| relation?: RangeVar; | ||
| sourceRelation?: Node; | ||
| joinCondition?: Node; | ||
| mergeWhenClauses?: Node[]; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface SelectStmt { | ||
| distinctClause?: Node[]; | ||
| intoClause?: IntoClause; | ||
| targetList?: Node[]; | ||
| fromClause?: Node[]; | ||
| whereClause?: Node; | ||
| groupClause?: Node[]; | ||
| groupDistinct?: boolean; | ||
| havingClause?: Node; | ||
| windowClause?: Node[]; | ||
| valuesLists?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| lockingClause?: Node[]; | ||
| withClause?: WithClause; | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: SelectStmt; | ||
| rarg?: SelectStmt; | ||
| } | ||
| export interface SetOperationStmt { | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| colTypes?: Node[]; | ||
| colTypmods?: Node[]; | ||
| colCollations?: Node[]; | ||
| groupClauses?: Node[]; | ||
| } | ||
| export interface ReturnStmt { | ||
| returnval?: Node; | ||
| } | ||
| export interface PLAssignStmt { | ||
| name?: string; | ||
| indirection?: Node[]; | ||
| nnames?: number; | ||
| val?: SelectStmt; | ||
| location?: number; | ||
| } | ||
| export interface CreateSchemaStmt { | ||
| schemaname?: string; | ||
| authrole?: RoleSpec; | ||
| schemaElts?: Node[]; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterTableStmt { | ||
| relation?: RangeVar; | ||
| cmds?: Node[]; | ||
| objtype?: ObjectType; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface ReplicaIdentityStmt { | ||
| identity_type?: string; | ||
| name?: string; | ||
| } | ||
| export interface AlterTableCmd { | ||
| subtype?: AlterTableType; | ||
| name?: string; | ||
| num?: number; | ||
| newowner?: RoleSpec; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| recurse?: boolean; | ||
| } | ||
| export interface AlterCollationStmt { | ||
| collname?: Node[]; | ||
| } | ||
| export interface AlterDomainStmt { | ||
| subtype?: string; | ||
| typeName?: Node[]; | ||
| name?: string; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface GrantStmt { | ||
| is_grant?: boolean; | ||
| targtype?: GrantTargetType; | ||
| objtype?: ObjectType; | ||
| objects?: Node[]; | ||
| privileges?: Node[]; | ||
| grantees?: Node[]; | ||
| grant_option?: boolean; | ||
| grantor?: RoleSpec; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ObjectWithArgs { | ||
| objname?: Node[]; | ||
| objargs?: Node[]; | ||
| objfuncargs?: Node[]; | ||
| args_unspecified?: boolean; | ||
| } | ||
| export interface AccessPriv { | ||
| priv_name?: string; | ||
| cols?: Node[]; | ||
| } | ||
| export interface GrantRoleStmt { | ||
| granted_roles?: Node[]; | ||
| grantee_roles?: Node[]; | ||
| is_grant?: boolean; | ||
| opt?: Node[]; | ||
| grantor?: RoleSpec; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface AlterDefaultPrivilegesStmt { | ||
| options?: Node[]; | ||
| action?: GrantStmt; | ||
| } | ||
| export interface CopyStmt { | ||
| relation?: RangeVar; | ||
| query?: Node; | ||
| attlist?: Node[]; | ||
| is_from?: boolean; | ||
| is_program?: boolean; | ||
| filename?: string; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| } | ||
| export interface VariableSetStmt { | ||
| kind?: VariableSetKind; | ||
| name?: string; | ||
| args?: Node[]; | ||
| is_local?: boolean; | ||
| } | ||
| export interface VariableShowStmt { | ||
| name?: string; | ||
| } | ||
| export interface CreateStmt { | ||
| relation?: RangeVar; | ||
| tableElts?: Node[]; | ||
| inhRelations?: Node[]; | ||
| partbound?: PartitionBoundSpec; | ||
| partspec?: PartitionSpec; | ||
| ofTypename?: TypeName; | ||
| constraints?: Node[]; | ||
| options?: Node[]; | ||
| oncommit?: OnCommitAction; | ||
| tablespacename?: string; | ||
| accessMethod?: string; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface Constraint { | ||
| contype?: ConstrType; | ||
| conname?: string; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| skip_validation?: boolean; | ||
| initially_valid?: boolean; | ||
| is_no_inherit?: boolean; | ||
| raw_expr?: Node; | ||
| cooked_expr?: string; | ||
| generated_when?: string; | ||
| inhcount?: number; | ||
| nulls_not_distinct?: boolean; | ||
| keys?: Node[]; | ||
| including?: Node[]; | ||
| exclusions?: Node[]; | ||
| options?: Node[]; | ||
| indexname?: string; | ||
| indexspace?: string; | ||
| reset_default_tblspc?: boolean; | ||
| access_method?: string; | ||
| where_clause?: Node; | ||
| pktable?: RangeVar; | ||
| fk_attrs?: Node[]; | ||
| pk_attrs?: Node[]; | ||
| fk_matchtype?: string; | ||
| fk_upd_action?: string; | ||
| fk_del_action?: string; | ||
| fk_del_set_cols?: Node[]; | ||
| old_conpfeqop?: Node[]; | ||
| old_pktable_oid?: number; | ||
| location?: number; | ||
| } | ||
| export interface CreateTableSpaceStmt { | ||
| tablespacename?: string; | ||
| owner?: RoleSpec; | ||
| location?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropTableSpaceStmt { | ||
| tablespacename?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterTableSpaceOptionsStmt { | ||
| tablespacename?: string; | ||
| options?: Node[]; | ||
| isReset?: boolean; | ||
| } | ||
| export interface AlterTableMoveAllStmt { | ||
| orig_tablespacename?: string; | ||
| objtype?: ObjectType; | ||
| roles?: Node[]; | ||
| new_tablespacename?: string; | ||
| nowait?: boolean; | ||
| } | ||
| export interface CreateExtensionStmt { | ||
| extname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionStmt { | ||
| extname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionContentsStmt { | ||
| extname?: string; | ||
| action?: number; | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| } | ||
| export interface CreateFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateForeignServerStmt { | ||
| servername?: string; | ||
| servertype?: string; | ||
| version?: string; | ||
| fdwname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterForeignServerStmt { | ||
| servername?: string; | ||
| version?: string; | ||
| options?: Node[]; | ||
| has_version?: boolean; | ||
| } | ||
| export interface CreateForeignTableStmt { | ||
| base?: CreateStmt; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface ImportForeignSchemaStmt { | ||
| server_name?: string; | ||
| remote_schema?: string; | ||
| local_schema?: string; | ||
| list_type?: ImportForeignSchemaType; | ||
| table_list?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreatePolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| cmd_name?: string; | ||
| permissive?: boolean; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface AlterPolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface CreateAmStmt { | ||
| amname?: string; | ||
| handler_name?: Node[]; | ||
| amtype?: string; | ||
| } | ||
| export interface CreateTrigStmt { | ||
| replace?: boolean; | ||
| isconstraint?: boolean; | ||
| trigname?: string; | ||
| relation?: RangeVar; | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| row?: boolean; | ||
| timing?: number; | ||
| events?: number; | ||
| columns?: Node[]; | ||
| whenClause?: Node; | ||
| transitionRels?: Node[]; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| constrrel?: RangeVar; | ||
| } | ||
| export interface CreateEventTrigStmt { | ||
| trigname?: string; | ||
| eventname?: string; | ||
| whenclause?: Node[]; | ||
| funcname?: Node[]; | ||
| } | ||
| export interface AlterEventTrigStmt { | ||
| trigname?: string; | ||
| tgenabled?: string; | ||
| } | ||
| export interface CreatePLangStmt { | ||
| replace?: boolean; | ||
| plname?: string; | ||
| plhandler?: Node[]; | ||
| plinline?: Node[]; | ||
| plvalidator?: Node[]; | ||
| pltrusted?: boolean; | ||
| } | ||
| export interface CreateRoleStmt { | ||
| stmt_type?: RoleStmtType; | ||
| role?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterRoleStmt { | ||
| role?: RoleSpec; | ||
| options?: Node[]; | ||
| action?: number; | ||
| } | ||
| export interface AlterRoleSetStmt { | ||
| role?: RoleSpec; | ||
| database?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface DropRoleStmt { | ||
| roles?: Node[]; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface CreateSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| ownerId?: number; | ||
| for_identity?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| for_identity?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface DefineStmt { | ||
| kind?: ObjectType; | ||
| oldstyle?: boolean; | ||
| defnames?: Node[]; | ||
| args?: Node[]; | ||
| definition?: Node[]; | ||
| if_not_exists?: boolean; | ||
| replace?: boolean; | ||
| } | ||
| export interface CreateDomainStmt { | ||
| domainname?: Node[]; | ||
| typeName?: TypeName; | ||
| collClause?: CollateClause; | ||
| constraints?: Node[]; | ||
| } | ||
| export interface CreateOpClassStmt { | ||
| opclassname?: Node[]; | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| datatype?: TypeName; | ||
| items?: Node[]; | ||
| isDefault?: boolean; | ||
| } | ||
| export interface CreateOpClassItem { | ||
| itemtype?: number; | ||
| name?: ObjectWithArgs; | ||
| number?: number; | ||
| order_family?: Node[]; | ||
| class_args?: Node[]; | ||
| storedtype?: TypeName; | ||
| } | ||
| export interface CreateOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| } | ||
| export interface AlterOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| isDrop?: boolean; | ||
| items?: Node[]; | ||
| } | ||
| export interface DropStmt { | ||
| objects?: Node[]; | ||
| removeType?: ObjectType; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface TruncateStmt { | ||
| relations?: Node[]; | ||
| restart_seqs?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface CommentStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| comment?: string; | ||
| } | ||
| export interface SecLabelStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| provider?: string; | ||
| label?: string; | ||
| } | ||
| export interface DeclareCursorStmt { | ||
| portalname?: string; | ||
| options?: number; | ||
| query?: Node; | ||
| } | ||
| export interface ClosePortalStmt { | ||
| portalname?: string; | ||
| } | ||
| export interface FetchStmt { | ||
| direction?: FetchDirection; | ||
| howMany?: bigint; | ||
| portalname?: string; | ||
| ismove?: boolean; | ||
| } | ||
| export interface IndexStmt { | ||
| idxname?: string; | ||
| relation?: RangeVar; | ||
| accessMethod?: string; | ||
| tableSpace?: string; | ||
| indexParams?: Node[]; | ||
| indexIncludingParams?: Node[]; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| excludeOpNames?: Node[]; | ||
| idxcomment?: string; | ||
| indexOid?: number; | ||
| oldNumber?: number; | ||
| oldCreateSubid?: number; | ||
| oldFirstRelfilelocatorSubid?: number; | ||
| unique?: boolean; | ||
| nulls_not_distinct?: boolean; | ||
| primary?: boolean; | ||
| isconstraint?: boolean; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| transformed?: boolean; | ||
| concurrent?: boolean; | ||
| if_not_exists?: boolean; | ||
| reset_default_tblspc?: boolean; | ||
| } | ||
| export interface CreateStatsStmt { | ||
| defnames?: Node[]; | ||
| stat_types?: Node[]; | ||
| exprs?: Node[]; | ||
| relations?: Node[]; | ||
| stxcomment?: string; | ||
| transformed?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface StatsElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| } | ||
| export interface AlterStatsStmt { | ||
| defnames?: Node[]; | ||
| stxstattarget?: Node; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface CreateFunctionStmt { | ||
| is_procedure?: boolean; | ||
| replace?: boolean; | ||
| funcname?: Node[]; | ||
| parameters?: Node[]; | ||
| returnType?: TypeName; | ||
| options?: Node[]; | ||
| sql_body?: Node; | ||
| } | ||
| export interface FunctionParameter { | ||
| name?: string; | ||
| argType?: TypeName; | ||
| mode?: FunctionParameterMode; | ||
| defexpr?: Node; | ||
| } | ||
| export interface AlterFunctionStmt { | ||
| objtype?: ObjectType; | ||
| func?: ObjectWithArgs; | ||
| actions?: Node[]; | ||
| } | ||
| export interface DoStmt { | ||
| args?: Node[]; | ||
| } | ||
| export interface InlineCodeBlock { | ||
| source_text?: string; | ||
| langOid?: number; | ||
| langIsTrusted?: boolean; | ||
| atomic?: boolean; | ||
| } | ||
| export interface CallStmt { | ||
| funccall?: FuncCall; | ||
| funcexpr?: FuncExpr; | ||
| outargs?: Node[]; | ||
| } | ||
| export interface CallContext { | ||
| atomic?: boolean; | ||
| } | ||
| export interface RenameStmt { | ||
| renameType?: ObjectType; | ||
| relationType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| subname?: string; | ||
| newname?: string; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterObjectDependsStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| extname?: String; | ||
| remove?: boolean; | ||
| } | ||
| export interface AlterObjectSchemaStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newschema?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterOwnerStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newowner?: RoleSpec; | ||
| } | ||
| export interface AlterOperatorStmt { | ||
| opername?: ObjectWithArgs; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTypeStmt { | ||
| typeName?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface RuleStmt { | ||
| relation?: RangeVar; | ||
| rulename?: string; | ||
| whereClause?: Node; | ||
| event?: CmdType; | ||
| instead?: boolean; | ||
| actions?: Node[]; | ||
| replace?: boolean; | ||
| } | ||
| export interface NotifyStmt { | ||
| conditionname?: string; | ||
| payload?: string; | ||
| } | ||
| export interface ListenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface UnlistenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface TransactionStmt { | ||
| kind?: TransactionStmtKind; | ||
| options?: Node[]; | ||
| savepoint_name?: string; | ||
| gid?: string; | ||
| chain?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface CompositeTypeStmt { | ||
| typevar?: RangeVar; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface CreateEnumStmt { | ||
| typeName?: Node[]; | ||
| vals?: Node[]; | ||
| } | ||
| export interface CreateRangeStmt { | ||
| typeName?: Node[]; | ||
| params?: Node[]; | ||
| } | ||
| export interface AlterEnumStmt { | ||
| typeName?: Node[]; | ||
| oldVal?: string; | ||
| newVal?: string; | ||
| newValNeighbor?: string; | ||
| newValIsAfter?: boolean; | ||
| skipIfNewValExists?: boolean; | ||
| } | ||
| export interface ViewStmt { | ||
| view?: RangeVar; | ||
| aliases?: Node[]; | ||
| query?: Node; | ||
| replace?: boolean; | ||
| options?: Node[]; | ||
| withCheckOption?: ViewCheckOption; | ||
| } | ||
| export interface LoadStmt { | ||
| filename?: string; | ||
| } | ||
| export interface CreatedbStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterDatabaseStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterDatabaseRefreshCollStmt { | ||
| dbname?: string; | ||
| } | ||
| export interface AlterDatabaseSetStmt { | ||
| dbname?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface DropdbStmt { | ||
| dbname?: string; | ||
| missing_ok?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterSystemStmt { | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface ClusterStmt { | ||
| relation?: RangeVar; | ||
| indexname?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface VacuumStmt { | ||
| options?: Node[]; | ||
| rels?: Node[]; | ||
| is_vacuumcmd?: boolean; | ||
| } | ||
| export interface VacuumRelation { | ||
| relation?: RangeVar; | ||
| oid?: number; | ||
| va_cols?: Node[]; | ||
| } | ||
| export interface ExplainStmt { | ||
| query?: Node; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateTableAsStmt { | ||
| query?: Node; | ||
| into?: IntoClause; | ||
| objtype?: ObjectType; | ||
| is_select_into?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface RefreshMatViewStmt { | ||
| concurrent?: boolean; | ||
| skipData?: boolean; | ||
| relation?: RangeVar; | ||
| } | ||
| export interface CheckPointStmt {} | ||
| export interface DiscardStmt { | ||
| target?: DiscardMode; | ||
| } | ||
| export interface LockStmt { | ||
| relations?: Node[]; | ||
| mode?: number; | ||
| nowait?: boolean; | ||
| } | ||
| export interface ConstraintsSetStmt { | ||
| constraints?: Node[]; | ||
| deferred?: boolean; | ||
| } | ||
| export interface ReindexStmt { | ||
| kind?: ReindexObjectType; | ||
| relation?: RangeVar; | ||
| name?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface CreateConversionStmt { | ||
| conversion_name?: Node[]; | ||
| for_encoding_name?: string; | ||
| to_encoding_name?: string; | ||
| func_name?: Node[]; | ||
| def?: boolean; | ||
| } | ||
| export interface CreateCastStmt { | ||
| sourcetype?: TypeName; | ||
| targettype?: TypeName; | ||
| func?: ObjectWithArgs; | ||
| context?: CoercionContext; | ||
| inout?: boolean; | ||
| } | ||
| export interface CreateTransformStmt { | ||
| replace?: boolean; | ||
| type_name?: TypeName; | ||
| lang?: string; | ||
| fromsql?: ObjectWithArgs; | ||
| tosql?: ObjectWithArgs; | ||
| } | ||
| export interface PrepareStmt { | ||
| name?: string; | ||
| argtypes?: Node[]; | ||
| query?: Node; | ||
| } | ||
| export interface ExecuteStmt { | ||
| name?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface DeallocateStmt { | ||
| name?: string; | ||
| isall?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface DropOwnedStmt { | ||
| roles?: Node[]; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ReassignOwnedStmt { | ||
| roles?: Node[]; | ||
| newrole?: RoleSpec; | ||
| } | ||
| export interface AlterTSDictionaryStmt { | ||
| dictname?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTSConfigurationStmt { | ||
| kind?: AlterTSConfigType; | ||
| cfgname?: Node[]; | ||
| tokentype?: Node[]; | ||
| dicts?: Node[]; | ||
| override?: boolean; | ||
| replace?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface PublicationTable { | ||
| relation?: RangeVar; | ||
| whereClause?: Node; | ||
| columns?: Node[]; | ||
| } | ||
| export interface PublicationObjSpec { | ||
| pubobjtype?: PublicationObjSpecType; | ||
| name?: string; | ||
| pubtable?: PublicationTable; | ||
| location?: number; | ||
| } | ||
| export interface CreatePublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| pubobjects?: Node[]; | ||
| for_all_tables?: boolean; | ||
| } | ||
| export interface AlterPublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| pubobjects?: Node[]; | ||
| for_all_tables?: boolean; | ||
| action?: AlterPublicationAction; | ||
| } | ||
| export interface CreateSubscriptionStmt { | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterSubscriptionStmt { | ||
| kind?: AlterSubscriptionType; | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropSubscriptionStmt { | ||
| subname?: string; | ||
| missing_ok?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ScanToken { | ||
| start?: number; | ||
| end?: number; | ||
| token?: Token; | ||
| keywordKind?: KeywordKind; | ||
| } |
| /** | ||
| * This file was automatically generated by pg-proto-parser@1.23.0. | ||
| * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, | ||
| * and run the pg-proto-parser generate command to regenerate this file. | ||
| */ | ||
| export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; | ||
| export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; | ||
| export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; | ||
| export type SetQuantifier = "SET_QUANTIFIER_DEFAULT" | "SET_QUANTIFIER_ALL" | "SET_QUANTIFIER_DISTINCT"; | ||
| export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM"; | ||
| export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_ROLE" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; | ||
| export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_COMPRESSION" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; | ||
| export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; | ||
| export type PartitionStrategy = "PARTITION_STRATEGY_LIST" | "PARTITION_STRATEGY_RANGE" | "PARTITION_STRATEGY_HASH"; | ||
| export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; | ||
| export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; | ||
| export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK" | "WCO_RLS_MERGE_UPDATE_CHECK" | "WCO_RLS_MERGE_DELETE_CHECK"; | ||
| export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; | ||
| export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; | ||
| export type JsonQuotes = "JS_QUOTES_UNSPEC" | "JS_QUOTES_KEEP" | "JS_QUOTES_OMIT"; | ||
| export type JsonTableColumnType = "JTC_FOR_ORDINALITY" | "JTC_REGULAR" | "JTC_EXISTS" | "JTC_FORMATTED" | "JTC_NESTED"; | ||
| export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; | ||
| export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_PARAMETER_ACL" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_NAMESPACE" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; | ||
| export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; | ||
| export type AlterTableType = "AT_AddColumn" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_SetExpression" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_SetCompression" | "AT_DropColumn" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetAccessMethod" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_DetachPartitionFinalize" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity" | "AT_ReAddStatistics"; | ||
| export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; | ||
| export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; | ||
| export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; | ||
| export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; | ||
| export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; | ||
| export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; | ||
| export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE" | "FUNC_PARAM_DEFAULT"; | ||
| export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; | ||
| export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; | ||
| export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; | ||
| export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; | ||
| export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; | ||
| export type PublicationObjSpecType = "PUBLICATIONOBJ_TABLE" | "PUBLICATIONOBJ_TABLES_IN_SCHEMA" | "PUBLICATIONOBJ_TABLES_IN_CUR_SCHEMA" | "PUBLICATIONOBJ_CONTINUATION"; | ||
| export type AlterPublicationAction = "AP_AddObjects" | "AP_DropObjects" | "AP_SetObjects"; | ||
| export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_SET_PUBLICATION" | "ALTER_SUBSCRIPTION_ADD_PUBLICATION" | "ALTER_SUBSCRIPTION_DROP_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED" | "ALTER_SUBSCRIPTION_SKIP"; | ||
| export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; | ||
| export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; | ||
| export type TableFuncType = "TFT_XMLTABLE" | "TFT_JSON_TABLE"; | ||
| export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; | ||
| export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_PLPGSQL" | "COERCION_EXPLICIT"; | ||
| export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST" | "COERCE_SQL_SYNTAX"; | ||
| export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; | ||
| export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; | ||
| export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; | ||
| export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; | ||
| export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; | ||
| export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; | ||
| export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; | ||
| export type JsonEncoding = "JS_ENC_DEFAULT" | "JS_ENC_UTF8" | "JS_ENC_UTF16" | "JS_ENC_UTF32"; | ||
| export type JsonFormatType = "JS_FORMAT_DEFAULT" | "JS_FORMAT_JSON" | "JS_FORMAT_JSONB"; | ||
| export type JsonConstructorType = "JSCTOR_JSON_OBJECT" | "JSCTOR_JSON_ARRAY" | "JSCTOR_JSON_OBJECTAGG" | "JSCTOR_JSON_ARRAYAGG" | "JSCTOR_JSON_PARSE" | "JSCTOR_JSON_SCALAR" | "JSCTOR_JSON_SERIALIZE"; | ||
| export type JsonValueType = "JS_TYPE_ANY" | "JS_TYPE_OBJECT" | "JS_TYPE_ARRAY" | "JS_TYPE_SCALAR"; | ||
| export type JsonWrapper = "JSW_UNSPEC" | "JSW_NONE" | "JSW_CONDITIONAL" | "JSW_UNCONDITIONAL"; | ||
| export type JsonBehaviorType = "JSON_BEHAVIOR_NULL" | "JSON_BEHAVIOR_ERROR" | "JSON_BEHAVIOR_EMPTY" | "JSON_BEHAVIOR_TRUE" | "JSON_BEHAVIOR_FALSE" | "JSON_BEHAVIOR_UNKNOWN" | "JSON_BEHAVIOR_EMPTY_ARRAY" | "JSON_BEHAVIOR_EMPTY_OBJECT" | "JSON_BEHAVIOR_DEFAULT"; | ||
| export type JsonExprOp = "JSON_EXISTS_OP" | "JSON_QUERY_OP" | "JSON_VALUE_OP" | "JSON_TABLE_OP"; | ||
| export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; | ||
| export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; | ||
| export type MergeMatchKind = "MERGE_WHEN_MATCHED" | "MERGE_WHEN_NOT_MATCHED_BY_SOURCE" | "MERGE_WHEN_NOT_MATCHED_BY_TARGET"; | ||
| export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_MERGE" | "CMD_UTILITY" | "CMD_NOTHING"; | ||
| export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_RIGHT_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; | ||
| export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; | ||
| export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; | ||
| export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; | ||
| export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; | ||
| export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; | ||
| export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; | ||
| export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; | ||
| export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; | ||
| export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; | ||
| export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; | ||
| export type Token = "NUL" | "ASCII_36" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSENT" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASENSITIVE" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "ATOMIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BREADTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "COMPRESSION" | "CONCURRENTLY" | "CONDITIONAL" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DEPTH" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "EMPTY_P" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ERROR_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FINALIZE" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORMAT" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "JSON" | "JSON_ARRAY" | "JSON_ARRAYAGG" | "JSON_EXISTS" | "JSON_OBJECT" | "JSON_OBJECTAGG" | "JSON_QUERY" | "JSON_SCALAR" | "JSON_SERIALIZE" | "JSON_TABLE" | "JSON_VALUE" | "KEEP" | "KEY" | "KEYS" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATCHED" | "MATERIALIZED" | "MAXVALUE" | "MERGE" | "MERGE_ACTION" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NESTED" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "OMIT" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARAMETER" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PATH" | "PLACING" | "PLAN" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "QUOTES" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURN" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCALAR" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SOURCE" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRING_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "SYSTEM_USER" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TARGET" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCONDITIONAL" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "FORMAT_LA" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "WITHOUT_LA" | "MODE_TYPE_NAME" | "MODE_PLPGSQL_EXPR" | "MODE_PLPGSQL_ASSIGN1" | "MODE_PLPGSQL_ASSIGN2" | "MODE_PLPGSQL_ASSIGN3" | "UMINUS"; |
Sorry, the diff of this file is too big to display
| export * from './types'; | ||
| export * from './enums'; |
Sorry, the diff of this file is too big to display
-1946
| /** | ||
| * This file was automatically generated by pg-proto-parser@1.23.0. | ||
| * DO NOT MODIFY IT BY HAND. Instead, modify the source proto file, | ||
| * and run the pg-proto-parser generate command to regenerate this file. | ||
| */ | ||
| import { QuerySource, SortByDir, SortByNulls, A_Expr_Kind, RoleSpecType, DefElemAction, PartitionStrategy, PartitionRangeDatumKind, RTEKind, WCOKind, GroupingSetKind, CTEMaterialize, JsonQuotes, JsonTableColumnType, SetOperation, ObjectType, DropBehavior, AlterTableType, GrantTargetType, VariableSetKind, ConstrType, ImportForeignSchemaType, RoleStmtType, FetchDirection, FunctionParameterMode, TransactionStmtKind, ViewCheckOption, DiscardMode, ReindexObjectType, AlterTSConfigType, PublicationObjSpecType, AlterPublicationAction, AlterSubscriptionType, OverridingKind, OnCommitAction, TableFuncType, ParamKind, CoercionContext, CoercionForm, BoolExprType, SubLinkType, RowCompareType, MinMaxOp, SQLValueFunctionOp, XmlExprOp, XmlOptionType, JsonEncoding, JsonFormatType, JsonConstructorType, JsonValueType, JsonWrapper, JsonBehaviorType, JsonExprOp, NullTestType, BoolTestType, MergeMatchKind, CmdType, JoinType, AggSplit, OnConflictAction, LimitOption, LockClauseStrength, LockWaitPolicy, KeywordKind, Token } from "./enums"; | ||
| export type Node = ParseResult | ScanResult | Integer | Float | Boolean | String | BitString | List | OidList | IntList | A_Const | Alias | RangeVar | TableFunc | IntoClause | Var | Param | Aggref | GroupingFunc | WindowFunc | WindowFuncRunCondition | MergeSupportFunc | SubscriptingRef | FuncExpr | NamedArgExpr | OpExpr | DistinctExpr | NullIfExpr | ScalarArrayOpExpr | BoolExpr | SubLink | SubPlan | AlternativeSubPlan | FieldSelect | FieldStore | RelabelType | CoerceViaIO | ArrayCoerceExpr | ConvertRowtypeExpr | CollateExpr | CaseExpr | CaseWhen | CaseTestExpr | ArrayExpr | RowExpr | RowCompareExpr | CoalesceExpr | MinMaxExpr | SQLValueFunction | XmlExpr | JsonFormat | JsonReturning | JsonValueExpr | JsonConstructorExpr | JsonIsPredicate | JsonBehavior | JsonExpr | JsonTablePath | JsonTablePathScan | JsonTableSiblingJoin | NullTest | BooleanTest | MergeAction | CoerceToDomain | CoerceToDomainValue | SetToDefault | CurrentOfExpr | NextValueExpr | InferenceElem | TargetEntry | RangeTblRef | JoinExpr | FromExpr | OnConflictExpr | Query | TypeName | ColumnRef | ParamRef | A_Expr | TypeCast | CollateClause | RoleSpec | FuncCall | A_Star | A_Indices | A_Indirection | A_ArrayExpr | ResTarget | MultiAssignRef | SortBy | WindowDef | RangeSubselect | RangeFunction | RangeTableFunc | RangeTableFuncCol | RangeTableSample | ColumnDef | TableLikeClause | IndexElem | DefElem | LockingClause | XmlSerialize | PartitionElem | PartitionSpec | PartitionBoundSpec | PartitionRangeDatum | SinglePartitionSpec | PartitionCmd | RangeTblEntry | RTEPermissionInfo | RangeTblFunction | TableSampleClause | WithCheckOption | SortGroupClause | GroupingSet | WindowClause | RowMarkClause | WithClause | InferClause | OnConflictClause | CTESearchClause | CTECycleClause | CommonTableExpr | MergeWhenClause | TriggerTransition | JsonOutput | JsonArgument | JsonFuncExpr | JsonTablePathSpec | JsonTable | JsonTableColumn | JsonKeyValue | JsonParseExpr | JsonScalarExpr | JsonSerializeExpr | JsonObjectConstructor | JsonArrayConstructor | JsonArrayQueryConstructor | JsonAggConstructor | JsonObjectAgg | JsonArrayAgg | RawStmt | InsertStmt | DeleteStmt | UpdateStmt | MergeStmt | SelectStmt | SetOperationStmt | ReturnStmt | PLAssignStmt | CreateSchemaStmt | AlterTableStmt | ReplicaIdentityStmt | AlterTableCmd | AlterCollationStmt | AlterDomainStmt | GrantStmt | ObjectWithArgs | AccessPriv | GrantRoleStmt | AlterDefaultPrivilegesStmt | CopyStmt | VariableSetStmt | VariableShowStmt | CreateStmt | Constraint | CreateTableSpaceStmt | DropTableSpaceStmt | AlterTableSpaceOptionsStmt | AlterTableMoveAllStmt | CreateExtensionStmt | AlterExtensionStmt | AlterExtensionContentsStmt | CreateFdwStmt | AlterFdwStmt | CreateForeignServerStmt | AlterForeignServerStmt | CreateForeignTableStmt | CreateUserMappingStmt | AlterUserMappingStmt | DropUserMappingStmt | ImportForeignSchemaStmt | CreatePolicyStmt | AlterPolicyStmt | CreateAmStmt | CreateTrigStmt | CreateEventTrigStmt | AlterEventTrigStmt | CreatePLangStmt | CreateRoleStmt | AlterRoleStmt | AlterRoleSetStmt | DropRoleStmt | CreateSeqStmt | AlterSeqStmt | DefineStmt | CreateDomainStmt | CreateOpClassStmt | CreateOpClassItem | CreateOpFamilyStmt | AlterOpFamilyStmt | DropStmt | TruncateStmt | CommentStmt | SecLabelStmt | DeclareCursorStmt | ClosePortalStmt | FetchStmt | IndexStmt | CreateStatsStmt | StatsElem | AlterStatsStmt | CreateFunctionStmt | FunctionParameter | AlterFunctionStmt | DoStmt | InlineCodeBlock | CallStmt | CallContext | RenameStmt | AlterObjectDependsStmt | AlterObjectSchemaStmt | AlterOwnerStmt | AlterOperatorStmt | AlterTypeStmt | RuleStmt | NotifyStmt | ListenStmt | UnlistenStmt | TransactionStmt | CompositeTypeStmt | CreateEnumStmt | CreateRangeStmt | AlterEnumStmt | ViewStmt | LoadStmt | CreatedbStmt | AlterDatabaseStmt | AlterDatabaseRefreshCollStmt | AlterDatabaseSetStmt | DropdbStmt | AlterSystemStmt | ClusterStmt | VacuumStmt | VacuumRelation | ExplainStmt | CreateTableAsStmt | RefreshMatViewStmt | CheckPointStmt | DiscardStmt | LockStmt | ConstraintsSetStmt | ReindexStmt | CreateConversionStmt | CreateCastStmt | CreateTransformStmt | PrepareStmt | ExecuteStmt | DeallocateStmt | DropOwnedStmt | ReassignOwnedStmt | AlterTSDictionaryStmt | AlterTSConfigurationStmt | PublicationTable | PublicationObjSpec | CreatePublicationStmt | AlterPublicationStmt | CreateSubscriptionStmt | AlterSubscriptionStmt | DropSubscriptionStmt | ScanToken; | ||
| export interface ParseResult { | ||
| version?: number; | ||
| stmts?: RawStmt[]; | ||
| } | ||
| export interface ScanResult { | ||
| version?: number; | ||
| tokens?: ScanToken[]; | ||
| } | ||
| export interface Integer { | ||
| ival?: number; | ||
| } | ||
| export interface Float { | ||
| fval?: string; | ||
| } | ||
| export interface Boolean { | ||
| boolval?: boolean; | ||
| } | ||
| export interface String { | ||
| sval?: string; | ||
| } | ||
| export interface BitString { | ||
| bsval?: string; | ||
| } | ||
| export interface List { | ||
| items?: Node[]; | ||
| } | ||
| export interface OidList { | ||
| items?: Node[]; | ||
| } | ||
| export interface IntList { | ||
| items?: Node[]; | ||
| } | ||
| export interface A_Const { | ||
| ival?: Integer; | ||
| fval?: Float; | ||
| boolval?: Boolean; | ||
| sval?: String; | ||
| bsval?: BitString; | ||
| isnull?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface Alias { | ||
| aliasname?: string; | ||
| colnames?: Node[]; | ||
| } | ||
| export interface RangeVar { | ||
| catalogname?: string; | ||
| schemaname?: string; | ||
| relname?: string; | ||
| inh?: boolean; | ||
| relpersistence?: string; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface TableFunc { | ||
| functype?: TableFuncType; | ||
| ns_uris?: Node[]; | ||
| ns_names?: Node[]; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| colnames?: Node[]; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| colexprs?: Node[]; | ||
| coldefexprs?: Node[]; | ||
| colvalexprs?: Node[]; | ||
| passingvalexprs?: Node[]; | ||
| notnulls?: bigint[]; | ||
| plan?: Node; | ||
| ordinalitycol?: number; | ||
| location?: number; | ||
| } | ||
| export interface IntoClause { | ||
| rel?: RangeVar; | ||
| colNames?: Node[]; | ||
| accessMethod?: string; | ||
| options?: Node[]; | ||
| onCommit?: OnCommitAction; | ||
| tableSpaceName?: string; | ||
| viewQuery?: Node; | ||
| skipData?: boolean; | ||
| } | ||
| export interface Var { | ||
| xpr?: Node; | ||
| varno?: number; | ||
| varattno?: number; | ||
| vartype?: number; | ||
| vartypmod?: number; | ||
| varcollid?: number; | ||
| varnullingrels?: bigint[]; | ||
| varlevelsup?: number; | ||
| location?: number; | ||
| } | ||
| export interface Param { | ||
| xpr?: Node; | ||
| paramkind?: ParamKind; | ||
| paramid?: number; | ||
| paramtype?: number; | ||
| paramtypmod?: number; | ||
| paramcollid?: number; | ||
| location?: number; | ||
| } | ||
| export interface Aggref { | ||
| xpr?: Node; | ||
| aggfnoid?: number; | ||
| aggtype?: number; | ||
| aggcollid?: number; | ||
| inputcollid?: number; | ||
| aggargtypes?: Node[]; | ||
| aggdirectargs?: Node[]; | ||
| args?: Node[]; | ||
| aggorder?: Node[]; | ||
| aggdistinct?: Node[]; | ||
| aggfilter?: Node; | ||
| aggstar?: boolean; | ||
| aggvariadic?: boolean; | ||
| aggkind?: string; | ||
| agglevelsup?: number; | ||
| aggsplit?: AggSplit; | ||
| aggno?: number; | ||
| aggtransno?: number; | ||
| location?: number; | ||
| } | ||
| export interface GroupingFunc { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| refs?: Node[]; | ||
| agglevelsup?: number; | ||
| location?: number; | ||
| } | ||
| export interface WindowFunc { | ||
| xpr?: Node; | ||
| winfnoid?: number; | ||
| wintype?: number; | ||
| wincollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| aggfilter?: Node; | ||
| runCondition?: Node[]; | ||
| winref?: number; | ||
| winstar?: boolean; | ||
| winagg?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface WindowFuncRunCondition { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| inputcollid?: number; | ||
| wfunc_left?: boolean; | ||
| arg?: Node; | ||
| } | ||
| export interface MergeSupportFunc { | ||
| xpr?: Node; | ||
| msftype?: number; | ||
| msfcollid?: number; | ||
| location?: number; | ||
| } | ||
| export interface SubscriptingRef { | ||
| xpr?: Node; | ||
| refcontainertype?: number; | ||
| refelemtype?: number; | ||
| refrestype?: number; | ||
| reftypmod?: number; | ||
| refcollid?: number; | ||
| refupperindexpr?: Node[]; | ||
| reflowerindexpr?: Node[]; | ||
| refexpr?: Node; | ||
| refassgnexpr?: Node; | ||
| } | ||
| export interface FuncExpr { | ||
| xpr?: Node; | ||
| funcid?: number; | ||
| funcresulttype?: number; | ||
| funcretset?: boolean; | ||
| funcvariadic?: boolean; | ||
| funcformat?: CoercionForm; | ||
| funccollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NamedArgExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| name?: string; | ||
| argnumber?: number; | ||
| location?: number; | ||
| } | ||
| export interface OpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface DistinctExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NullIfExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ScalarArrayOpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| useOr?: boolean; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface BoolExpr { | ||
| xpr?: Node; | ||
| boolop?: BoolExprType; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SubLink { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| subLinkId?: number; | ||
| testexpr?: Node; | ||
| operName?: Node[]; | ||
| subselect?: Node; | ||
| location?: number; | ||
| } | ||
| export interface SubPlan { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| testexpr?: Node; | ||
| paramIds?: Node[]; | ||
| plan_id?: number; | ||
| plan_name?: string; | ||
| firstColType?: number; | ||
| firstColTypmod?: number; | ||
| firstColCollation?: number; | ||
| useHashTable?: boolean; | ||
| unknownEqFalse?: boolean; | ||
| parallel_safe?: boolean; | ||
| setParam?: Node[]; | ||
| parParam?: Node[]; | ||
| args?: Node[]; | ||
| startup_cost?: number; | ||
| per_call_cost?: number; | ||
| } | ||
| export interface AlternativeSubPlan { | ||
| xpr?: Node; | ||
| subplans?: Node[]; | ||
| } | ||
| export interface FieldSelect { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| fieldnum?: number; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| } | ||
| export interface FieldStore { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| newvals?: Node[]; | ||
| fieldnums?: Node[]; | ||
| resulttype?: number; | ||
| } | ||
| export interface RelabelType { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| relabelformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceViaIO { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ArrayCoerceExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| elemexpr?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ConvertRowtypeExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| convertformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CollateExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| collOid?: number; | ||
| location?: number; | ||
| } | ||
| export interface CaseExpr { | ||
| xpr?: Node; | ||
| casetype?: number; | ||
| casecollid?: number; | ||
| arg?: Node; | ||
| args?: Node[]; | ||
| defresult?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseWhen { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| result?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseTestExpr { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| } | ||
| export interface ArrayExpr { | ||
| xpr?: Node; | ||
| array_typeid?: number; | ||
| array_collid?: number; | ||
| element_typeid?: number; | ||
| elements?: Node[]; | ||
| multidims?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface RowExpr { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| row_typeid?: number; | ||
| row_format?: CoercionForm; | ||
| colnames?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface RowCompareExpr { | ||
| xpr?: Node; | ||
| rctype?: RowCompareType; | ||
| opnos?: Node[]; | ||
| opfamilies?: Node[]; | ||
| inputcollids?: Node[]; | ||
| largs?: Node[]; | ||
| rargs?: Node[]; | ||
| } | ||
| export interface CoalesceExpr { | ||
| xpr?: Node; | ||
| coalescetype?: number; | ||
| coalescecollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface MinMaxExpr { | ||
| xpr?: Node; | ||
| minmaxtype?: number; | ||
| minmaxcollid?: number; | ||
| inputcollid?: number; | ||
| op?: MinMaxOp; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SQLValueFunction { | ||
| xpr?: Node; | ||
| op?: SQLValueFunctionOp; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface XmlExpr { | ||
| xpr?: Node; | ||
| op?: XmlExprOp; | ||
| name?: string; | ||
| named_args?: Node[]; | ||
| arg_names?: Node[]; | ||
| args?: Node[]; | ||
| xmloption?: XmlOptionType; | ||
| indent?: boolean; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonFormat { | ||
| format_type?: JsonFormatType; | ||
| encoding?: JsonEncoding; | ||
| location?: number; | ||
| } | ||
| export interface JsonReturning { | ||
| format?: JsonFormat; | ||
| typid?: number; | ||
| typmod?: number; | ||
| } | ||
| export interface JsonValueExpr { | ||
| raw_expr?: Node; | ||
| formatted_expr?: Node; | ||
| format?: JsonFormat; | ||
| } | ||
| export interface JsonConstructorExpr { | ||
| xpr?: Node; | ||
| type?: JsonConstructorType; | ||
| args?: Node[]; | ||
| func?: Node; | ||
| coercion?: Node; | ||
| returning?: JsonReturning; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonIsPredicate { | ||
| expr?: Node; | ||
| format?: JsonFormat; | ||
| item_type?: JsonValueType; | ||
| unique_keys?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonBehavior { | ||
| btype?: JsonBehaviorType; | ||
| expr?: Node; | ||
| coerce?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonExpr { | ||
| xpr?: Node; | ||
| op?: JsonExprOp; | ||
| column_name?: string; | ||
| formatted_expr?: Node; | ||
| format?: JsonFormat; | ||
| path_spec?: Node; | ||
| returning?: JsonReturning; | ||
| passing_names?: Node[]; | ||
| passing_values?: Node[]; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| use_io_coercion?: boolean; | ||
| use_json_coercion?: boolean; | ||
| wrapper?: JsonWrapper; | ||
| omit_quotes?: boolean; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonTablePath { | ||
| name?: string; | ||
| } | ||
| export interface JsonTablePathScan { | ||
| plan?: Node; | ||
| path?: JsonTablePath; | ||
| errorOnError?: boolean; | ||
| child?: Node; | ||
| colMin?: number; | ||
| colMax?: number; | ||
| } | ||
| export interface JsonTableSiblingJoin { | ||
| plan?: Node; | ||
| lplan?: Node; | ||
| rplan?: Node; | ||
| } | ||
| export interface NullTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| nulltesttype?: NullTestType; | ||
| argisrow?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface BooleanTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| booltesttype?: BoolTestType; | ||
| location?: number; | ||
| } | ||
| export interface MergeAction { | ||
| matchKind?: MergeMatchKind; | ||
| commandType?: CmdType; | ||
| override?: OverridingKind; | ||
| qual?: Node; | ||
| targetList?: Node[]; | ||
| updateColnos?: Node[]; | ||
| } | ||
| export interface CoerceToDomain { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coercionformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceToDomainValue { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface SetToDefault { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface CurrentOfExpr { | ||
| xpr?: Node; | ||
| cvarno?: number; | ||
| cursor_name?: string; | ||
| cursor_param?: number; | ||
| } | ||
| export interface NextValueExpr { | ||
| xpr?: Node; | ||
| seqid?: number; | ||
| typeId?: number; | ||
| } | ||
| export interface InferenceElem { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| infercollid?: number; | ||
| inferopclass?: number; | ||
| } | ||
| export interface TargetEntry { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| resno?: number; | ||
| resname?: string; | ||
| ressortgroupref?: number; | ||
| resorigtbl?: number; | ||
| resorigcol?: number; | ||
| resjunk?: boolean; | ||
| } | ||
| export interface RangeTblRef { | ||
| rtindex?: number; | ||
| } | ||
| export interface JoinExpr { | ||
| jointype?: JoinType; | ||
| isNatural?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| usingClause?: Node[]; | ||
| join_using_alias?: Alias; | ||
| quals?: Node; | ||
| alias?: Alias; | ||
| rtindex?: number; | ||
| } | ||
| export interface FromExpr { | ||
| fromlist?: Node[]; | ||
| quals?: Node; | ||
| } | ||
| export interface OnConflictExpr { | ||
| action?: OnConflictAction; | ||
| arbiterElems?: Node[]; | ||
| arbiterWhere?: Node; | ||
| constraint?: number; | ||
| onConflictSet?: Node[]; | ||
| onConflictWhere?: Node; | ||
| exclRelIndex?: number; | ||
| exclRelTlist?: Node[]; | ||
| } | ||
| export interface Query { | ||
| commandType?: CmdType; | ||
| querySource?: QuerySource; | ||
| canSetTag?: boolean; | ||
| utilityStmt?: Node; | ||
| resultRelation?: number; | ||
| hasAggs?: boolean; | ||
| hasWindowFuncs?: boolean; | ||
| hasTargetSRFs?: boolean; | ||
| hasSubLinks?: boolean; | ||
| hasDistinctOn?: boolean; | ||
| hasRecursive?: boolean; | ||
| hasModifyingCTE?: boolean; | ||
| hasForUpdate?: boolean; | ||
| hasRowSecurity?: boolean; | ||
| isReturn?: boolean; | ||
| cteList?: Node[]; | ||
| rtable?: Node[]; | ||
| rteperminfos?: Node[]; | ||
| jointree?: FromExpr; | ||
| mergeActionList?: Node[]; | ||
| mergeTargetRelation?: number; | ||
| mergeJoinCondition?: Node; | ||
| targetList?: Node[]; | ||
| override?: OverridingKind; | ||
| onConflict?: OnConflictExpr; | ||
| returningList?: Node[]; | ||
| groupClause?: Node[]; | ||
| groupDistinct?: boolean; | ||
| groupingSets?: Node[]; | ||
| havingQual?: Node; | ||
| windowClause?: Node[]; | ||
| distinctClause?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| rowMarks?: Node[]; | ||
| setOperations?: Node; | ||
| constraintDeps?: Node[]; | ||
| withCheckOptions?: Node[]; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface TypeName { | ||
| names?: Node[]; | ||
| typeOid?: number; | ||
| setof?: boolean; | ||
| pct_type?: boolean; | ||
| typmods?: Node[]; | ||
| typemod?: number; | ||
| arrayBounds?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ColumnRef { | ||
| fields?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ParamRef { | ||
| number?: number; | ||
| location?: number; | ||
| } | ||
| export interface A_Expr { | ||
| kind?: A_Expr_Kind; | ||
| name?: Node[]; | ||
| lexpr?: Node; | ||
| rexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface TypeCast { | ||
| arg?: Node; | ||
| typeName?: TypeName; | ||
| location?: number; | ||
| } | ||
| export interface CollateClause { | ||
| arg?: Node; | ||
| collname?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface RoleSpec { | ||
| roletype?: RoleSpecType; | ||
| rolename?: string; | ||
| location?: number; | ||
| } | ||
| export interface FuncCall { | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| agg_order?: Node[]; | ||
| agg_filter?: Node; | ||
| over?: WindowDef; | ||
| agg_within_group?: boolean; | ||
| agg_star?: boolean; | ||
| agg_distinct?: boolean; | ||
| func_variadic?: boolean; | ||
| funcformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface A_Star { | ||
| } | ||
| export interface A_Indices { | ||
| is_slice?: boolean; | ||
| lidx?: Node; | ||
| uidx?: Node; | ||
| } | ||
| export interface A_Indirection { | ||
| arg?: Node; | ||
| indirection?: Node[]; | ||
| } | ||
| export interface A_ArrayExpr { | ||
| elements?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ResTarget { | ||
| name?: string; | ||
| indirection?: Node[]; | ||
| val?: Node; | ||
| location?: number; | ||
| } | ||
| export interface MultiAssignRef { | ||
| source?: Node; | ||
| colno?: number; | ||
| ncolumns?: number; | ||
| } | ||
| export interface SortBy { | ||
| node?: Node; | ||
| sortby_dir?: SortByDir; | ||
| sortby_nulls?: SortByNulls; | ||
| useOp?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowDef { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeSubselect { | ||
| lateral?: boolean; | ||
| subquery?: Node; | ||
| alias?: Alias; | ||
| } | ||
| export interface RangeFunction { | ||
| lateral?: boolean; | ||
| ordinality?: boolean; | ||
| is_rowsfrom?: boolean; | ||
| functions?: Node[]; | ||
| alias?: Alias; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface RangeTableFunc { | ||
| lateral?: boolean; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| namespaces?: Node[]; | ||
| columns?: Node[]; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableFuncCol { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| for_ordinality?: boolean; | ||
| is_not_null?: boolean; | ||
| colexpr?: Node; | ||
| coldefexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableSample { | ||
| relation?: Node; | ||
| method?: Node[]; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| location?: number; | ||
| } | ||
| export interface ColumnDef { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| compression?: string; | ||
| inhcount?: number; | ||
| is_local?: boolean; | ||
| is_not_null?: boolean; | ||
| is_from_type?: boolean; | ||
| storage?: string; | ||
| storage_name?: string; | ||
| raw_default?: Node; | ||
| cooked_default?: Node; | ||
| identity?: string; | ||
| identitySequence?: RangeVar; | ||
| generated?: string; | ||
| collClause?: CollateClause; | ||
| collOid?: number; | ||
| constraints?: Node[]; | ||
| fdwoptions?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface TableLikeClause { | ||
| relation?: RangeVar; | ||
| options?: number; | ||
| relationOid?: number; | ||
| } | ||
| export interface IndexElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| indexcolname?: string; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| opclassopts?: Node[]; | ||
| ordering?: SortByDir; | ||
| nulls_ordering?: SortByNulls; | ||
| } | ||
| export interface DefElem { | ||
| defnamespace?: string; | ||
| defname?: string; | ||
| arg?: Node; | ||
| defaction?: DefElemAction; | ||
| location?: number; | ||
| } | ||
| export interface LockingClause { | ||
| lockedRels?: Node[]; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| } | ||
| export interface XmlSerialize { | ||
| xmloption?: XmlOptionType; | ||
| expr?: Node; | ||
| typeName?: TypeName; | ||
| indent?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface PartitionElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionSpec { | ||
| strategy?: PartitionStrategy; | ||
| partParams?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionBoundSpec { | ||
| strategy?: string; | ||
| is_default?: boolean; | ||
| modulus?: number; | ||
| remainder?: number; | ||
| listdatums?: Node[]; | ||
| lowerdatums?: Node[]; | ||
| upperdatums?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionRangeDatum { | ||
| kind?: PartitionRangeDatumKind; | ||
| value?: Node; | ||
| location?: number; | ||
| } | ||
| export interface SinglePartitionSpec { | ||
| } | ||
| export interface PartitionCmd { | ||
| name?: RangeVar; | ||
| bound?: PartitionBoundSpec; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface RangeTblEntry { | ||
| alias?: Alias; | ||
| eref?: Alias; | ||
| rtekind?: RTEKind; | ||
| relid?: number; | ||
| inh?: boolean; | ||
| relkind?: string; | ||
| rellockmode?: number; | ||
| perminfoindex?: number; | ||
| tablesample?: TableSampleClause; | ||
| subquery?: Query; | ||
| security_barrier?: boolean; | ||
| jointype?: JoinType; | ||
| joinmergedcols?: number; | ||
| joinaliasvars?: Node[]; | ||
| joinleftcols?: Node[]; | ||
| joinrightcols?: Node[]; | ||
| join_using_alias?: Alias; | ||
| functions?: Node[]; | ||
| funcordinality?: boolean; | ||
| tablefunc?: TableFunc; | ||
| values_lists?: Node[]; | ||
| ctename?: string; | ||
| ctelevelsup?: number; | ||
| self_reference?: boolean; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| enrname?: string; | ||
| enrtuples?: number; | ||
| lateral?: boolean; | ||
| inFromCl?: boolean; | ||
| securityQuals?: Node[]; | ||
| } | ||
| export interface RTEPermissionInfo { | ||
| relid?: number; | ||
| inh?: boolean; | ||
| requiredPerms?: bigint; | ||
| checkAsUser?: number; | ||
| selectedCols?: bigint[]; | ||
| insertedCols?: bigint[]; | ||
| updatedCols?: bigint[]; | ||
| } | ||
| export interface RangeTblFunction { | ||
| funcexpr?: Node; | ||
| funccolcount?: number; | ||
| funccolnames?: Node[]; | ||
| funccoltypes?: Node[]; | ||
| funccoltypmods?: Node[]; | ||
| funccolcollations?: Node[]; | ||
| funcparams?: bigint[]; | ||
| } | ||
| export interface TableSampleClause { | ||
| tsmhandler?: number; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| } | ||
| export interface WithCheckOption { | ||
| kind?: WCOKind; | ||
| relname?: string; | ||
| polname?: string; | ||
| qual?: Node; | ||
| cascaded?: boolean; | ||
| } | ||
| export interface SortGroupClause { | ||
| tleSortGroupRef?: number; | ||
| eqop?: number; | ||
| sortop?: number; | ||
| nulls_first?: boolean; | ||
| hashable?: boolean; | ||
| } | ||
| export interface GroupingSet { | ||
| kind?: GroupingSetKind; | ||
| content?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowClause { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| startInRangeFunc?: number; | ||
| endInRangeFunc?: number; | ||
| inRangeColl?: number; | ||
| inRangeAsc?: boolean; | ||
| inRangeNullsFirst?: boolean; | ||
| winref?: number; | ||
| copiedOrder?: boolean; | ||
| } | ||
| export interface RowMarkClause { | ||
| rti?: number; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| pushedDown?: boolean; | ||
| } | ||
| export interface WithClause { | ||
| ctes?: Node[]; | ||
| recursive?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface InferClause { | ||
| indexElems?: Node[]; | ||
| whereClause?: Node; | ||
| conname?: string; | ||
| location?: number; | ||
| } | ||
| export interface OnConflictClause { | ||
| action?: OnConflictAction; | ||
| infer?: InferClause; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CTESearchClause { | ||
| search_col_list?: Node[]; | ||
| search_breadth_first?: boolean; | ||
| search_seq_column?: string; | ||
| location?: number; | ||
| } | ||
| export interface CTECycleClause { | ||
| cycle_col_list?: Node[]; | ||
| cycle_mark_column?: string; | ||
| cycle_mark_value?: Node; | ||
| cycle_mark_default?: Node; | ||
| cycle_path_column?: string; | ||
| location?: number; | ||
| cycle_mark_type?: number; | ||
| cycle_mark_typmod?: number; | ||
| cycle_mark_collation?: number; | ||
| cycle_mark_neop?: number; | ||
| } | ||
| export interface CommonTableExpr { | ||
| ctename?: string; | ||
| aliascolnames?: Node[]; | ||
| ctematerialized?: CTEMaterialize; | ||
| ctequery?: Node; | ||
| search_clause?: CTESearchClause; | ||
| cycle_clause?: CTECycleClause; | ||
| location?: number; | ||
| cterecursive?: boolean; | ||
| cterefcount?: number; | ||
| ctecolnames?: Node[]; | ||
| ctecoltypes?: Node[]; | ||
| ctecoltypmods?: Node[]; | ||
| ctecolcollations?: Node[]; | ||
| } | ||
| export interface MergeWhenClause { | ||
| matchKind?: MergeMatchKind; | ||
| commandType?: CmdType; | ||
| override?: OverridingKind; | ||
| condition?: Node; | ||
| targetList?: Node[]; | ||
| values?: Node[]; | ||
| } | ||
| export interface TriggerTransition { | ||
| name?: string; | ||
| isNew?: boolean; | ||
| isTable?: boolean; | ||
| } | ||
| export interface JsonOutput { | ||
| typeName?: TypeName; | ||
| returning?: JsonReturning; | ||
| } | ||
| export interface JsonArgument { | ||
| val?: JsonValueExpr; | ||
| name?: string; | ||
| } | ||
| export interface JsonFuncExpr { | ||
| op?: JsonExprOp; | ||
| column_name?: string; | ||
| context_item?: JsonValueExpr; | ||
| pathspec?: Node; | ||
| passing?: Node[]; | ||
| output?: JsonOutput; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| wrapper?: JsonWrapper; | ||
| quotes?: JsonQuotes; | ||
| location?: number; | ||
| } | ||
| export interface JsonTablePathSpec { | ||
| string?: Node; | ||
| name?: string; | ||
| name_location?: number; | ||
| location?: number; | ||
| } | ||
| export interface JsonTable { | ||
| context_item?: JsonValueExpr; | ||
| pathspec?: JsonTablePathSpec; | ||
| passing?: Node[]; | ||
| columns?: Node[]; | ||
| on_error?: JsonBehavior; | ||
| alias?: Alias; | ||
| lateral?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonTableColumn { | ||
| coltype?: JsonTableColumnType; | ||
| name?: string; | ||
| typeName?: TypeName; | ||
| pathspec?: JsonTablePathSpec; | ||
| format?: JsonFormat; | ||
| wrapper?: JsonWrapper; | ||
| quotes?: JsonQuotes; | ||
| columns?: Node[]; | ||
| on_empty?: JsonBehavior; | ||
| on_error?: JsonBehavior; | ||
| location?: number; | ||
| } | ||
| export interface JsonKeyValue { | ||
| key?: Node; | ||
| value?: JsonValueExpr; | ||
| } | ||
| export interface JsonParseExpr { | ||
| expr?: JsonValueExpr; | ||
| output?: JsonOutput; | ||
| unique_keys?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonScalarExpr { | ||
| expr?: Node; | ||
| output?: JsonOutput; | ||
| location?: number; | ||
| } | ||
| export interface JsonSerializeExpr { | ||
| expr?: JsonValueExpr; | ||
| output?: JsonOutput; | ||
| location?: number; | ||
| } | ||
| export interface JsonObjectConstructor { | ||
| exprs?: Node[]; | ||
| output?: JsonOutput; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonArrayConstructor { | ||
| exprs?: Node[]; | ||
| output?: JsonOutput; | ||
| absent_on_null?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonArrayQueryConstructor { | ||
| query?: Node; | ||
| output?: JsonOutput; | ||
| format?: JsonFormat; | ||
| absent_on_null?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface JsonAggConstructor { | ||
| output?: JsonOutput; | ||
| agg_filter?: Node; | ||
| agg_order?: Node[]; | ||
| over?: WindowDef; | ||
| location?: number; | ||
| } | ||
| export interface JsonObjectAgg { | ||
| constructor?: JsonAggConstructor; | ||
| arg?: JsonKeyValue; | ||
| absent_on_null?: boolean; | ||
| unique?: boolean; | ||
| } | ||
| export interface JsonArrayAgg { | ||
| constructor?: JsonAggConstructor; | ||
| arg?: JsonValueExpr; | ||
| absent_on_null?: boolean; | ||
| } | ||
| export interface RawStmt { | ||
| stmt?: Node; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface InsertStmt { | ||
| relation?: RangeVar; | ||
| cols?: Node[]; | ||
| selectStmt?: Node; | ||
| onConflictClause?: OnConflictClause; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| override?: OverridingKind; | ||
| } | ||
| export interface DeleteStmt { | ||
| relation?: RangeVar; | ||
| usingClause?: Node[]; | ||
| whereClause?: Node; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface UpdateStmt { | ||
| relation?: RangeVar; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| fromClause?: Node[]; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface MergeStmt { | ||
| relation?: RangeVar; | ||
| sourceRelation?: Node; | ||
| joinCondition?: Node; | ||
| mergeWhenClauses?: Node[]; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface SelectStmt { | ||
| distinctClause?: Node[]; | ||
| intoClause?: IntoClause; | ||
| targetList?: Node[]; | ||
| fromClause?: Node[]; | ||
| whereClause?: Node; | ||
| groupClause?: Node[]; | ||
| groupDistinct?: boolean; | ||
| havingClause?: Node; | ||
| windowClause?: Node[]; | ||
| valuesLists?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| lockingClause?: Node[]; | ||
| withClause?: WithClause; | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: SelectStmt; | ||
| rarg?: SelectStmt; | ||
| } | ||
| export interface SetOperationStmt { | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| colTypes?: Node[]; | ||
| colTypmods?: Node[]; | ||
| colCollations?: Node[]; | ||
| groupClauses?: Node[]; | ||
| } | ||
| export interface ReturnStmt { | ||
| returnval?: Node; | ||
| } | ||
| export interface PLAssignStmt { | ||
| name?: string; | ||
| indirection?: Node[]; | ||
| nnames?: number; | ||
| val?: SelectStmt; | ||
| location?: number; | ||
| } | ||
| export interface CreateSchemaStmt { | ||
| schemaname?: string; | ||
| authrole?: RoleSpec; | ||
| schemaElts?: Node[]; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterTableStmt { | ||
| relation?: RangeVar; | ||
| cmds?: Node[]; | ||
| objtype?: ObjectType; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface ReplicaIdentityStmt { | ||
| identity_type?: string; | ||
| name?: string; | ||
| } | ||
| export interface AlterTableCmd { | ||
| subtype?: AlterTableType; | ||
| name?: string; | ||
| num?: number; | ||
| newowner?: RoleSpec; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| recurse?: boolean; | ||
| } | ||
| export interface AlterCollationStmt { | ||
| collname?: Node[]; | ||
| } | ||
| export interface AlterDomainStmt { | ||
| subtype?: string; | ||
| typeName?: Node[]; | ||
| name?: string; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface GrantStmt { | ||
| is_grant?: boolean; | ||
| targtype?: GrantTargetType; | ||
| objtype?: ObjectType; | ||
| objects?: Node[]; | ||
| privileges?: Node[]; | ||
| grantees?: Node[]; | ||
| grant_option?: boolean; | ||
| grantor?: RoleSpec; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ObjectWithArgs { | ||
| objname?: Node[]; | ||
| objargs?: Node[]; | ||
| objfuncargs?: Node[]; | ||
| args_unspecified?: boolean; | ||
| } | ||
| export interface AccessPriv { | ||
| priv_name?: string; | ||
| cols?: Node[]; | ||
| } | ||
| export interface GrantRoleStmt { | ||
| granted_roles?: Node[]; | ||
| grantee_roles?: Node[]; | ||
| is_grant?: boolean; | ||
| opt?: Node[]; | ||
| grantor?: RoleSpec; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface AlterDefaultPrivilegesStmt { | ||
| options?: Node[]; | ||
| action?: GrantStmt; | ||
| } | ||
| export interface CopyStmt { | ||
| relation?: RangeVar; | ||
| query?: Node; | ||
| attlist?: Node[]; | ||
| is_from?: boolean; | ||
| is_program?: boolean; | ||
| filename?: string; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| } | ||
| export interface VariableSetStmt { | ||
| kind?: VariableSetKind; | ||
| name?: string; | ||
| args?: Node[]; | ||
| is_local?: boolean; | ||
| } | ||
| export interface VariableShowStmt { | ||
| name?: string; | ||
| } | ||
| export interface CreateStmt { | ||
| relation?: RangeVar; | ||
| tableElts?: Node[]; | ||
| inhRelations?: Node[]; | ||
| partbound?: PartitionBoundSpec; | ||
| partspec?: PartitionSpec; | ||
| ofTypename?: TypeName; | ||
| constraints?: Node[]; | ||
| options?: Node[]; | ||
| oncommit?: OnCommitAction; | ||
| tablespacename?: string; | ||
| accessMethod?: string; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface Constraint { | ||
| contype?: ConstrType; | ||
| conname?: string; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| skip_validation?: boolean; | ||
| initially_valid?: boolean; | ||
| is_no_inherit?: boolean; | ||
| raw_expr?: Node; | ||
| cooked_expr?: string; | ||
| generated_when?: string; | ||
| inhcount?: number; | ||
| nulls_not_distinct?: boolean; | ||
| keys?: Node[]; | ||
| including?: Node[]; | ||
| exclusions?: Node[]; | ||
| options?: Node[]; | ||
| indexname?: string; | ||
| indexspace?: string; | ||
| reset_default_tblspc?: boolean; | ||
| access_method?: string; | ||
| where_clause?: Node; | ||
| pktable?: RangeVar; | ||
| fk_attrs?: Node[]; | ||
| pk_attrs?: Node[]; | ||
| fk_matchtype?: string; | ||
| fk_upd_action?: string; | ||
| fk_del_action?: string; | ||
| fk_del_set_cols?: Node[]; | ||
| old_conpfeqop?: Node[]; | ||
| old_pktable_oid?: number; | ||
| location?: number; | ||
| } | ||
| export interface CreateTableSpaceStmt { | ||
| tablespacename?: string; | ||
| owner?: RoleSpec; | ||
| location?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropTableSpaceStmt { | ||
| tablespacename?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterTableSpaceOptionsStmt { | ||
| tablespacename?: string; | ||
| options?: Node[]; | ||
| isReset?: boolean; | ||
| } | ||
| export interface AlterTableMoveAllStmt { | ||
| orig_tablespacename?: string; | ||
| objtype?: ObjectType; | ||
| roles?: Node[]; | ||
| new_tablespacename?: string; | ||
| nowait?: boolean; | ||
| } | ||
| export interface CreateExtensionStmt { | ||
| extname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionStmt { | ||
| extname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionContentsStmt { | ||
| extname?: string; | ||
| action?: number; | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| } | ||
| export interface CreateFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateForeignServerStmt { | ||
| servername?: string; | ||
| servertype?: string; | ||
| version?: string; | ||
| fdwname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterForeignServerStmt { | ||
| servername?: string; | ||
| version?: string; | ||
| options?: Node[]; | ||
| has_version?: boolean; | ||
| } | ||
| export interface CreateForeignTableStmt { | ||
| base?: CreateStmt; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface ImportForeignSchemaStmt { | ||
| server_name?: string; | ||
| remote_schema?: string; | ||
| local_schema?: string; | ||
| list_type?: ImportForeignSchemaType; | ||
| table_list?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreatePolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| cmd_name?: string; | ||
| permissive?: boolean; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface AlterPolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface CreateAmStmt { | ||
| amname?: string; | ||
| handler_name?: Node[]; | ||
| amtype?: string; | ||
| } | ||
| export interface CreateTrigStmt { | ||
| replace?: boolean; | ||
| isconstraint?: boolean; | ||
| trigname?: string; | ||
| relation?: RangeVar; | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| row?: boolean; | ||
| timing?: number; | ||
| events?: number; | ||
| columns?: Node[]; | ||
| whenClause?: Node; | ||
| transitionRels?: Node[]; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| constrrel?: RangeVar; | ||
| } | ||
| export interface CreateEventTrigStmt { | ||
| trigname?: string; | ||
| eventname?: string; | ||
| whenclause?: Node[]; | ||
| funcname?: Node[]; | ||
| } | ||
| export interface AlterEventTrigStmt { | ||
| trigname?: string; | ||
| tgenabled?: string; | ||
| } | ||
| export interface CreatePLangStmt { | ||
| replace?: boolean; | ||
| plname?: string; | ||
| plhandler?: Node[]; | ||
| plinline?: Node[]; | ||
| plvalidator?: Node[]; | ||
| pltrusted?: boolean; | ||
| } | ||
| export interface CreateRoleStmt { | ||
| stmt_type?: RoleStmtType; | ||
| role?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterRoleStmt { | ||
| role?: RoleSpec; | ||
| options?: Node[]; | ||
| action?: number; | ||
| } | ||
| export interface AlterRoleSetStmt { | ||
| role?: RoleSpec; | ||
| database?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface DropRoleStmt { | ||
| roles?: Node[]; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface CreateSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| ownerId?: number; | ||
| for_identity?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| for_identity?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface DefineStmt { | ||
| kind?: ObjectType; | ||
| oldstyle?: boolean; | ||
| defnames?: Node[]; | ||
| args?: Node[]; | ||
| definition?: Node[]; | ||
| if_not_exists?: boolean; | ||
| replace?: boolean; | ||
| } | ||
| export interface CreateDomainStmt { | ||
| domainname?: Node[]; | ||
| typeName?: TypeName; | ||
| collClause?: CollateClause; | ||
| constraints?: Node[]; | ||
| } | ||
| export interface CreateOpClassStmt { | ||
| opclassname?: Node[]; | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| datatype?: TypeName; | ||
| items?: Node[]; | ||
| isDefault?: boolean; | ||
| } | ||
| export interface CreateOpClassItem { | ||
| itemtype?: number; | ||
| name?: ObjectWithArgs; | ||
| number?: number; | ||
| order_family?: Node[]; | ||
| class_args?: Node[]; | ||
| storedtype?: TypeName; | ||
| } | ||
| export interface CreateOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| } | ||
| export interface AlterOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| isDrop?: boolean; | ||
| items?: Node[]; | ||
| } | ||
| export interface DropStmt { | ||
| objects?: Node[]; | ||
| removeType?: ObjectType; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface TruncateStmt { | ||
| relations?: Node[]; | ||
| restart_seqs?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface CommentStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| comment?: string; | ||
| } | ||
| export interface SecLabelStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| provider?: string; | ||
| label?: string; | ||
| } | ||
| export interface DeclareCursorStmt { | ||
| portalname?: string; | ||
| options?: number; | ||
| query?: Node; | ||
| } | ||
| export interface ClosePortalStmt { | ||
| portalname?: string; | ||
| } | ||
| export interface FetchStmt { | ||
| direction?: FetchDirection; | ||
| howMany?: bigint; | ||
| portalname?: string; | ||
| ismove?: boolean; | ||
| } | ||
| export interface IndexStmt { | ||
| idxname?: string; | ||
| relation?: RangeVar; | ||
| accessMethod?: string; | ||
| tableSpace?: string; | ||
| indexParams?: Node[]; | ||
| indexIncludingParams?: Node[]; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| excludeOpNames?: Node[]; | ||
| idxcomment?: string; | ||
| indexOid?: number; | ||
| oldNumber?: number; | ||
| oldCreateSubid?: number; | ||
| oldFirstRelfilelocatorSubid?: number; | ||
| unique?: boolean; | ||
| nulls_not_distinct?: boolean; | ||
| primary?: boolean; | ||
| isconstraint?: boolean; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| transformed?: boolean; | ||
| concurrent?: boolean; | ||
| if_not_exists?: boolean; | ||
| reset_default_tblspc?: boolean; | ||
| } | ||
| export interface CreateStatsStmt { | ||
| defnames?: Node[]; | ||
| stat_types?: Node[]; | ||
| exprs?: Node[]; | ||
| relations?: Node[]; | ||
| stxcomment?: string; | ||
| transformed?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface StatsElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| } | ||
| export interface AlterStatsStmt { | ||
| defnames?: Node[]; | ||
| stxstattarget?: Node; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface CreateFunctionStmt { | ||
| is_procedure?: boolean; | ||
| replace?: boolean; | ||
| funcname?: Node[]; | ||
| parameters?: Node[]; | ||
| returnType?: TypeName; | ||
| options?: Node[]; | ||
| sql_body?: Node; | ||
| } | ||
| export interface FunctionParameter { | ||
| name?: string; | ||
| argType?: TypeName; | ||
| mode?: FunctionParameterMode; | ||
| defexpr?: Node; | ||
| } | ||
| export interface AlterFunctionStmt { | ||
| objtype?: ObjectType; | ||
| func?: ObjectWithArgs; | ||
| actions?: Node[]; | ||
| } | ||
| export interface DoStmt { | ||
| args?: Node[]; | ||
| } | ||
| export interface InlineCodeBlock { | ||
| source_text?: string; | ||
| langOid?: number; | ||
| langIsTrusted?: boolean; | ||
| atomic?: boolean; | ||
| } | ||
| export interface CallStmt { | ||
| funccall?: FuncCall; | ||
| funcexpr?: FuncExpr; | ||
| outargs?: Node[]; | ||
| } | ||
| export interface CallContext { | ||
| atomic?: boolean; | ||
| } | ||
| export interface RenameStmt { | ||
| renameType?: ObjectType; | ||
| relationType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| subname?: string; | ||
| newname?: string; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterObjectDependsStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| extname?: String; | ||
| remove?: boolean; | ||
| } | ||
| export interface AlterObjectSchemaStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newschema?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterOwnerStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newowner?: RoleSpec; | ||
| } | ||
| export interface AlterOperatorStmt { | ||
| opername?: ObjectWithArgs; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTypeStmt { | ||
| typeName?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface RuleStmt { | ||
| relation?: RangeVar; | ||
| rulename?: string; | ||
| whereClause?: Node; | ||
| event?: CmdType; | ||
| instead?: boolean; | ||
| actions?: Node[]; | ||
| replace?: boolean; | ||
| } | ||
| export interface NotifyStmt { | ||
| conditionname?: string; | ||
| payload?: string; | ||
| } | ||
| export interface ListenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface UnlistenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface TransactionStmt { | ||
| kind?: TransactionStmtKind; | ||
| options?: Node[]; | ||
| savepoint_name?: string; | ||
| gid?: string; | ||
| chain?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface CompositeTypeStmt { | ||
| typevar?: RangeVar; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface CreateEnumStmt { | ||
| typeName?: Node[]; | ||
| vals?: Node[]; | ||
| } | ||
| export interface CreateRangeStmt { | ||
| typeName?: Node[]; | ||
| params?: Node[]; | ||
| } | ||
| export interface AlterEnumStmt { | ||
| typeName?: Node[]; | ||
| oldVal?: string; | ||
| newVal?: string; | ||
| newValNeighbor?: string; | ||
| newValIsAfter?: boolean; | ||
| skipIfNewValExists?: boolean; | ||
| } | ||
| export interface ViewStmt { | ||
| view?: RangeVar; | ||
| aliases?: Node[]; | ||
| query?: Node; | ||
| replace?: boolean; | ||
| options?: Node[]; | ||
| withCheckOption?: ViewCheckOption; | ||
| } | ||
| export interface LoadStmt { | ||
| filename?: string; | ||
| } | ||
| export interface CreatedbStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterDatabaseStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterDatabaseRefreshCollStmt { | ||
| dbname?: string; | ||
| } | ||
| export interface AlterDatabaseSetStmt { | ||
| dbname?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface DropdbStmt { | ||
| dbname?: string; | ||
| missing_ok?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterSystemStmt { | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface ClusterStmt { | ||
| relation?: RangeVar; | ||
| indexname?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface VacuumStmt { | ||
| options?: Node[]; | ||
| rels?: Node[]; | ||
| is_vacuumcmd?: boolean; | ||
| } | ||
| export interface VacuumRelation { | ||
| relation?: RangeVar; | ||
| oid?: number; | ||
| va_cols?: Node[]; | ||
| } | ||
| export interface ExplainStmt { | ||
| query?: Node; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateTableAsStmt { | ||
| query?: Node; | ||
| into?: IntoClause; | ||
| objtype?: ObjectType; | ||
| is_select_into?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface RefreshMatViewStmt { | ||
| concurrent?: boolean; | ||
| skipData?: boolean; | ||
| relation?: RangeVar; | ||
| } | ||
| export interface CheckPointStmt { | ||
| } | ||
| export interface DiscardStmt { | ||
| target?: DiscardMode; | ||
| } | ||
| export interface LockStmt { | ||
| relations?: Node[]; | ||
| mode?: number; | ||
| nowait?: boolean; | ||
| } | ||
| export interface ConstraintsSetStmt { | ||
| constraints?: Node[]; | ||
| deferred?: boolean; | ||
| } | ||
| export interface ReindexStmt { | ||
| kind?: ReindexObjectType; | ||
| relation?: RangeVar; | ||
| name?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface CreateConversionStmt { | ||
| conversion_name?: Node[]; | ||
| for_encoding_name?: string; | ||
| to_encoding_name?: string; | ||
| func_name?: Node[]; | ||
| def?: boolean; | ||
| } | ||
| export interface CreateCastStmt { | ||
| sourcetype?: TypeName; | ||
| targettype?: TypeName; | ||
| func?: ObjectWithArgs; | ||
| context?: CoercionContext; | ||
| inout?: boolean; | ||
| } | ||
| export interface CreateTransformStmt { | ||
| replace?: boolean; | ||
| type_name?: TypeName; | ||
| lang?: string; | ||
| fromsql?: ObjectWithArgs; | ||
| tosql?: ObjectWithArgs; | ||
| } | ||
| export interface PrepareStmt { | ||
| name?: string; | ||
| argtypes?: Node[]; | ||
| query?: Node; | ||
| } | ||
| export interface ExecuteStmt { | ||
| name?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface DeallocateStmt { | ||
| name?: string; | ||
| isall?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface DropOwnedStmt { | ||
| roles?: Node[]; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ReassignOwnedStmt { | ||
| roles?: Node[]; | ||
| newrole?: RoleSpec; | ||
| } | ||
| export interface AlterTSDictionaryStmt { | ||
| dictname?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTSConfigurationStmt { | ||
| kind?: AlterTSConfigType; | ||
| cfgname?: Node[]; | ||
| tokentype?: Node[]; | ||
| dicts?: Node[]; | ||
| override?: boolean; | ||
| replace?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface PublicationTable { | ||
| relation?: RangeVar; | ||
| whereClause?: Node; | ||
| columns?: Node[]; | ||
| } | ||
| export interface PublicationObjSpec { | ||
| pubobjtype?: PublicationObjSpecType; | ||
| name?: string; | ||
| pubtable?: PublicationTable; | ||
| location?: number; | ||
| } | ||
| export interface CreatePublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| pubobjects?: Node[]; | ||
| for_all_tables?: boolean; | ||
| } | ||
| export interface AlterPublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| pubobjects?: Node[]; | ||
| for_all_tables?: boolean; | ||
| action?: AlterPublicationAction; | ||
| } | ||
| export interface CreateSubscriptionStmt { | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterSubscriptionStmt { | ||
| kind?: AlterSubscriptionType; | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropSubscriptionStmt { | ||
| subname?: string; | ||
| missing_ok?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ScanToken { | ||
| start?: number; | ||
| end?: number; | ||
| token?: Token; | ||
| keywordKind?: KeywordKind; | ||
| } |
| export declare enum OverridingKind { | ||
| OVERRIDING_NOT_SET = 0, | ||
| OVERRIDING_USER_VALUE = 1, | ||
| OVERRIDING_SYSTEM_VALUE = 2 | ||
| } | ||
| export declare enum QuerySource { | ||
| QSRC_ORIGINAL = 0, | ||
| QSRC_PARSER = 1, | ||
| QSRC_INSTEAD_RULE = 2, | ||
| QSRC_QUAL_INSTEAD_RULE = 3, | ||
| QSRC_NON_INSTEAD_RULE = 4 | ||
| } | ||
| export declare enum SortByDir { | ||
| SORTBY_DEFAULT = 0, | ||
| SORTBY_ASC = 1, | ||
| SORTBY_DESC = 2, | ||
| SORTBY_USING = 3 | ||
| } | ||
| export declare enum SortByNulls { | ||
| SORTBY_NULLS_DEFAULT = 0, | ||
| SORTBY_NULLS_FIRST = 1, | ||
| SORTBY_NULLS_LAST = 2 | ||
| } | ||
| export declare enum A_Expr_Kind { | ||
| AEXPR_OP = 0, | ||
| AEXPR_OP_ANY = 1, | ||
| AEXPR_OP_ALL = 2, | ||
| AEXPR_DISTINCT = 3, | ||
| AEXPR_NOT_DISTINCT = 4, | ||
| AEXPR_NULLIF = 5, | ||
| AEXPR_OF = 6, | ||
| AEXPR_IN = 7, | ||
| AEXPR_LIKE = 8, | ||
| AEXPR_ILIKE = 9, | ||
| AEXPR_SIMILAR = 10, | ||
| AEXPR_BETWEEN = 11, | ||
| AEXPR_NOT_BETWEEN = 12, | ||
| AEXPR_BETWEEN_SYM = 13, | ||
| AEXPR_NOT_BETWEEN_SYM = 14, | ||
| AEXPR_PAREN = 15 | ||
| } | ||
| export declare enum RoleSpecType { | ||
| ROLESPEC_CSTRING = 0, | ||
| ROLESPEC_CURRENT_USER = 1, | ||
| ROLESPEC_SESSION_USER = 2, | ||
| ROLESPEC_PUBLIC = 3 | ||
| } | ||
| export declare enum TableLikeOption { | ||
| CREATE_TABLE_LIKE_COMMENTS = 0, | ||
| CREATE_TABLE_LIKE_CONSTRAINTS = 1, | ||
| CREATE_TABLE_LIKE_DEFAULTS = 2, | ||
| CREATE_TABLE_LIKE_GENERATED = 3, | ||
| CREATE_TABLE_LIKE_IDENTITY = 4, | ||
| CREATE_TABLE_LIKE_INDEXES = 5, | ||
| CREATE_TABLE_LIKE_STATISTICS = 6, | ||
| CREATE_TABLE_LIKE_STORAGE = 7, | ||
| CREATE_TABLE_LIKE_ALL = 8 | ||
| } | ||
| export declare enum DefElemAction { | ||
| DEFELEM_UNSPEC = 0, | ||
| DEFELEM_SET = 1, | ||
| DEFELEM_ADD = 2, | ||
| DEFELEM_DROP = 3 | ||
| } | ||
| export declare enum PartitionRangeDatumKind { | ||
| PARTITION_RANGE_DATUM_MINVALUE = 0, | ||
| PARTITION_RANGE_DATUM_VALUE = 1, | ||
| PARTITION_RANGE_DATUM_MAXVALUE = 2 | ||
| } | ||
| export declare enum RTEKind { | ||
| RTE_RELATION = 0, | ||
| RTE_SUBQUERY = 1, | ||
| RTE_JOIN = 2, | ||
| RTE_FUNCTION = 3, | ||
| RTE_TABLEFUNC = 4, | ||
| RTE_VALUES = 5, | ||
| RTE_CTE = 6, | ||
| RTE_NAMEDTUPLESTORE = 7, | ||
| RTE_RESULT = 8 | ||
| } | ||
| export declare enum WCOKind { | ||
| WCO_VIEW_CHECK = 0, | ||
| WCO_RLS_INSERT_CHECK = 1, | ||
| WCO_RLS_UPDATE_CHECK = 2, | ||
| WCO_RLS_CONFLICT_CHECK = 3 | ||
| } | ||
| export declare enum GroupingSetKind { | ||
| GROUPING_SET_EMPTY = 0, | ||
| GROUPING_SET_SIMPLE = 1, | ||
| GROUPING_SET_ROLLUP = 2, | ||
| GROUPING_SET_CUBE = 3, | ||
| GROUPING_SET_SETS = 4 | ||
| } | ||
| export declare enum CTEMaterialize { | ||
| CTEMaterializeDefault = 0, | ||
| CTEMaterializeAlways = 1, | ||
| CTEMaterializeNever = 2 | ||
| } | ||
| export declare enum SetOperation { | ||
| SETOP_NONE = 0, | ||
| SETOP_UNION = 1, | ||
| SETOP_INTERSECT = 2, | ||
| SETOP_EXCEPT = 3 | ||
| } | ||
| export declare enum ObjectType { | ||
| OBJECT_ACCESS_METHOD = 0, | ||
| OBJECT_AGGREGATE = 1, | ||
| OBJECT_AMOP = 2, | ||
| OBJECT_AMPROC = 3, | ||
| OBJECT_ATTRIBUTE = 4, | ||
| OBJECT_CAST = 5, | ||
| OBJECT_COLUMN = 6, | ||
| OBJECT_COLLATION = 7, | ||
| OBJECT_CONVERSION = 8, | ||
| OBJECT_DATABASE = 9, | ||
| OBJECT_DEFAULT = 10, | ||
| OBJECT_DEFACL = 11, | ||
| OBJECT_DOMAIN = 12, | ||
| OBJECT_DOMCONSTRAINT = 13, | ||
| OBJECT_EVENT_TRIGGER = 14, | ||
| OBJECT_EXTENSION = 15, | ||
| OBJECT_FDW = 16, | ||
| OBJECT_FOREIGN_SERVER = 17, | ||
| OBJECT_FOREIGN_TABLE = 18, | ||
| OBJECT_FUNCTION = 19, | ||
| OBJECT_INDEX = 20, | ||
| OBJECT_LANGUAGE = 21, | ||
| OBJECT_LARGEOBJECT = 22, | ||
| OBJECT_MATVIEW = 23, | ||
| OBJECT_OPCLASS = 24, | ||
| OBJECT_OPERATOR = 25, | ||
| OBJECT_OPFAMILY = 26, | ||
| OBJECT_POLICY = 27, | ||
| OBJECT_PROCEDURE = 28, | ||
| OBJECT_PUBLICATION = 29, | ||
| OBJECT_PUBLICATION_REL = 30, | ||
| OBJECT_ROLE = 31, | ||
| OBJECT_ROUTINE = 32, | ||
| OBJECT_RULE = 33, | ||
| OBJECT_SCHEMA = 34, | ||
| OBJECT_SEQUENCE = 35, | ||
| OBJECT_SUBSCRIPTION = 36, | ||
| OBJECT_STATISTIC_EXT = 37, | ||
| OBJECT_TABCONSTRAINT = 38, | ||
| OBJECT_TABLE = 39, | ||
| OBJECT_TABLESPACE = 40, | ||
| OBJECT_TRANSFORM = 41, | ||
| OBJECT_TRIGGER = 42, | ||
| OBJECT_TSCONFIGURATION = 43, | ||
| OBJECT_TSDICTIONARY = 44, | ||
| OBJECT_TSPARSER = 45, | ||
| OBJECT_TSTEMPLATE = 46, | ||
| OBJECT_TYPE = 47, | ||
| OBJECT_USER_MAPPING = 48, | ||
| OBJECT_VIEW = 49 | ||
| } | ||
| export declare enum DropBehavior { | ||
| DROP_RESTRICT = 0, | ||
| DROP_CASCADE = 1 | ||
| } | ||
| export declare enum AlterTableType { | ||
| AT_AddColumn = 0, | ||
| AT_AddColumnRecurse = 1, | ||
| AT_AddColumnToView = 2, | ||
| AT_ColumnDefault = 3, | ||
| AT_CookedColumnDefault = 4, | ||
| AT_DropNotNull = 5, | ||
| AT_SetNotNull = 6, | ||
| AT_DropExpression = 7, | ||
| AT_CheckNotNull = 8, | ||
| AT_SetStatistics = 9, | ||
| AT_SetOptions = 10, | ||
| AT_ResetOptions = 11, | ||
| AT_SetStorage = 12, | ||
| AT_DropColumn = 13, | ||
| AT_DropColumnRecurse = 14, | ||
| AT_AddIndex = 15, | ||
| AT_ReAddIndex = 16, | ||
| AT_AddConstraint = 17, | ||
| AT_AddConstraintRecurse = 18, | ||
| AT_ReAddConstraint = 19, | ||
| AT_ReAddDomainConstraint = 20, | ||
| AT_AlterConstraint = 21, | ||
| AT_ValidateConstraint = 22, | ||
| AT_ValidateConstraintRecurse = 23, | ||
| AT_AddIndexConstraint = 24, | ||
| AT_DropConstraint = 25, | ||
| AT_DropConstraintRecurse = 26, | ||
| AT_ReAddComment = 27, | ||
| AT_AlterColumnType = 28, | ||
| AT_AlterColumnGenericOptions = 29, | ||
| AT_ChangeOwner = 30, | ||
| AT_ClusterOn = 31, | ||
| AT_DropCluster = 32, | ||
| AT_SetLogged = 33, | ||
| AT_SetUnLogged = 34, | ||
| AT_DropOids = 35, | ||
| AT_SetTableSpace = 36, | ||
| AT_SetRelOptions = 37, | ||
| AT_ResetRelOptions = 38, | ||
| AT_ReplaceRelOptions = 39, | ||
| AT_EnableTrig = 40, | ||
| AT_EnableAlwaysTrig = 41, | ||
| AT_EnableReplicaTrig = 42, | ||
| AT_DisableTrig = 43, | ||
| AT_EnableTrigAll = 44, | ||
| AT_DisableTrigAll = 45, | ||
| AT_EnableTrigUser = 46, | ||
| AT_DisableTrigUser = 47, | ||
| AT_EnableRule = 48, | ||
| AT_EnableAlwaysRule = 49, | ||
| AT_EnableReplicaRule = 50, | ||
| AT_DisableRule = 51, | ||
| AT_AddInherit = 52, | ||
| AT_DropInherit = 53, | ||
| AT_AddOf = 54, | ||
| AT_DropOf = 55, | ||
| AT_ReplicaIdentity = 56, | ||
| AT_EnableRowSecurity = 57, | ||
| AT_DisableRowSecurity = 58, | ||
| AT_ForceRowSecurity = 59, | ||
| AT_NoForceRowSecurity = 60, | ||
| AT_GenericOptions = 61, | ||
| AT_AttachPartition = 62, | ||
| AT_DetachPartition = 63, | ||
| AT_AddIdentity = 64, | ||
| AT_SetIdentity = 65, | ||
| AT_DropIdentity = 66 | ||
| } | ||
| export declare enum GrantTargetType { | ||
| ACL_TARGET_OBJECT = 0, | ||
| ACL_TARGET_ALL_IN_SCHEMA = 1, | ||
| ACL_TARGET_DEFAULTS = 2 | ||
| } | ||
| export declare enum VariableSetKind { | ||
| VAR_SET_VALUE = 0, | ||
| VAR_SET_DEFAULT = 1, | ||
| VAR_SET_CURRENT = 2, | ||
| VAR_SET_MULTI = 3, | ||
| VAR_RESET = 4, | ||
| VAR_RESET_ALL = 5 | ||
| } | ||
| export declare enum ConstrType { | ||
| CONSTR_NULL = 0, | ||
| CONSTR_NOTNULL = 1, | ||
| CONSTR_DEFAULT = 2, | ||
| CONSTR_IDENTITY = 3, | ||
| CONSTR_GENERATED = 4, | ||
| CONSTR_CHECK = 5, | ||
| CONSTR_PRIMARY = 6, | ||
| CONSTR_UNIQUE = 7, | ||
| CONSTR_EXCLUSION = 8, | ||
| CONSTR_FOREIGN = 9, | ||
| CONSTR_ATTR_DEFERRABLE = 10, | ||
| CONSTR_ATTR_NOT_DEFERRABLE = 11, | ||
| CONSTR_ATTR_DEFERRED = 12, | ||
| CONSTR_ATTR_IMMEDIATE = 13 | ||
| } | ||
| export declare enum ImportForeignSchemaType { | ||
| FDW_IMPORT_SCHEMA_ALL = 0, | ||
| FDW_IMPORT_SCHEMA_LIMIT_TO = 1, | ||
| FDW_IMPORT_SCHEMA_EXCEPT = 2 | ||
| } | ||
| export declare enum RoleStmtType { | ||
| ROLESTMT_ROLE = 0, | ||
| ROLESTMT_USER = 1, | ||
| ROLESTMT_GROUP = 2 | ||
| } | ||
| export declare enum FetchDirection { | ||
| FETCH_FORWARD = 0, | ||
| FETCH_BACKWARD = 1, | ||
| FETCH_ABSOLUTE = 2, | ||
| FETCH_RELATIVE = 3 | ||
| } | ||
| export declare enum FunctionParameterMode { | ||
| FUNC_PARAM_IN = 0, | ||
| FUNC_PARAM_OUT = 1, | ||
| FUNC_PARAM_INOUT = 2, | ||
| FUNC_PARAM_VARIADIC = 3, | ||
| FUNC_PARAM_TABLE = 4 | ||
| } | ||
| export declare enum TransactionStmtKind { | ||
| TRANS_STMT_BEGIN = 0, | ||
| TRANS_STMT_START = 1, | ||
| TRANS_STMT_COMMIT = 2, | ||
| TRANS_STMT_ROLLBACK = 3, | ||
| TRANS_STMT_SAVEPOINT = 4, | ||
| TRANS_STMT_RELEASE = 5, | ||
| TRANS_STMT_ROLLBACK_TO = 6, | ||
| TRANS_STMT_PREPARE = 7, | ||
| TRANS_STMT_COMMIT_PREPARED = 8, | ||
| TRANS_STMT_ROLLBACK_PREPARED = 9 | ||
| } | ||
| export declare enum ViewCheckOption { | ||
| NO_CHECK_OPTION = 0, | ||
| LOCAL_CHECK_OPTION = 1, | ||
| CASCADED_CHECK_OPTION = 2 | ||
| } | ||
| export declare enum ClusterOption { | ||
| CLUOPT_RECHECK = 0, | ||
| CLUOPT_VERBOSE = 1 | ||
| } | ||
| export declare enum DiscardMode { | ||
| DISCARD_ALL = 0, | ||
| DISCARD_PLANS = 1, | ||
| DISCARD_SEQUENCES = 2, | ||
| DISCARD_TEMP = 3 | ||
| } | ||
| export declare enum ReindexObjectType { | ||
| REINDEX_OBJECT_INDEX = 0, | ||
| REINDEX_OBJECT_TABLE = 1, | ||
| REINDEX_OBJECT_SCHEMA = 2, | ||
| REINDEX_OBJECT_SYSTEM = 3, | ||
| REINDEX_OBJECT_DATABASE = 4 | ||
| } | ||
| export declare enum AlterTSConfigType { | ||
| ALTER_TSCONFIG_ADD_MAPPING = 0, | ||
| ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN = 1, | ||
| ALTER_TSCONFIG_REPLACE_DICT = 2, | ||
| ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN = 3, | ||
| ALTER_TSCONFIG_DROP_MAPPING = 4 | ||
| } | ||
| export declare enum AlterSubscriptionType { | ||
| ALTER_SUBSCRIPTION_OPTIONS = 0, | ||
| ALTER_SUBSCRIPTION_CONNECTION = 1, | ||
| ALTER_SUBSCRIPTION_PUBLICATION = 2, | ||
| ALTER_SUBSCRIPTION_REFRESH = 3, | ||
| ALTER_SUBSCRIPTION_ENABLED = 4 | ||
| } | ||
| export declare enum OnCommitAction { | ||
| ONCOMMIT_NOOP = 0, | ||
| ONCOMMIT_PRESERVE_ROWS = 1, | ||
| ONCOMMIT_DELETE_ROWS = 2, | ||
| ONCOMMIT_DROP = 3 | ||
| } | ||
| export declare enum ParamKind { | ||
| PARAM_EXTERN = 0, | ||
| PARAM_EXEC = 1, | ||
| PARAM_SUBLINK = 2, | ||
| PARAM_MULTIEXPR = 3 | ||
| } | ||
| export declare enum CoercionContext { | ||
| COERCION_IMPLICIT = 0, | ||
| COERCION_ASSIGNMENT = 1, | ||
| COERCION_EXPLICIT = 2 | ||
| } | ||
| export declare enum CoercionForm { | ||
| COERCE_EXPLICIT_CALL = 0, | ||
| COERCE_EXPLICIT_CAST = 1, | ||
| COERCE_IMPLICIT_CAST = 2 | ||
| } | ||
| export declare enum BoolExprType { | ||
| AND_EXPR = 0, | ||
| OR_EXPR = 1, | ||
| NOT_EXPR = 2 | ||
| } | ||
| export declare enum SubLinkType { | ||
| EXISTS_SUBLINK = 0, | ||
| ALL_SUBLINK = 1, | ||
| ANY_SUBLINK = 2, | ||
| ROWCOMPARE_SUBLINK = 3, | ||
| EXPR_SUBLINK = 4, | ||
| MULTIEXPR_SUBLINK = 5, | ||
| ARRAY_SUBLINK = 6, | ||
| CTE_SUBLINK = 7 | ||
| } | ||
| export declare enum RowCompareType { | ||
| ROWCOMPARE_LT = 0, | ||
| ROWCOMPARE_LE = 1, | ||
| ROWCOMPARE_EQ = 2, | ||
| ROWCOMPARE_GE = 3, | ||
| ROWCOMPARE_GT = 4, | ||
| ROWCOMPARE_NE = 5 | ||
| } | ||
| export declare enum MinMaxOp { | ||
| IS_GREATEST = 0, | ||
| IS_LEAST = 1 | ||
| } | ||
| export declare enum SQLValueFunctionOp { | ||
| SVFOP_CURRENT_DATE = 0, | ||
| SVFOP_CURRENT_TIME = 1, | ||
| SVFOP_CURRENT_TIME_N = 2, | ||
| SVFOP_CURRENT_TIMESTAMP = 3, | ||
| SVFOP_CURRENT_TIMESTAMP_N = 4, | ||
| SVFOP_LOCALTIME = 5, | ||
| SVFOP_LOCALTIME_N = 6, | ||
| SVFOP_LOCALTIMESTAMP = 7, | ||
| SVFOP_LOCALTIMESTAMP_N = 8, | ||
| SVFOP_CURRENT_ROLE = 9, | ||
| SVFOP_CURRENT_USER = 10, | ||
| SVFOP_USER = 11, | ||
| SVFOP_SESSION_USER = 12, | ||
| SVFOP_CURRENT_CATALOG = 13, | ||
| SVFOP_CURRENT_SCHEMA = 14 | ||
| } | ||
| export declare enum XmlExprOp { | ||
| IS_XMLCONCAT = 0, | ||
| IS_XMLELEMENT = 1, | ||
| IS_XMLFOREST = 2, | ||
| IS_XMLPARSE = 3, | ||
| IS_XMLPI = 4, | ||
| IS_XMLROOT = 5, | ||
| IS_XMLSERIALIZE = 6, | ||
| IS_DOCUMENT = 7 | ||
| } | ||
| export declare enum XmlOptionType { | ||
| XMLOPTION_DOCUMENT = 0, | ||
| XMLOPTION_CONTENT = 1 | ||
| } | ||
| export declare enum NullTestType { | ||
| IS_NULL = 0, | ||
| IS_NOT_NULL = 1 | ||
| } | ||
| export declare enum BoolTestType { | ||
| IS_TRUE = 0, | ||
| IS_NOT_TRUE = 1, | ||
| IS_FALSE = 2, | ||
| IS_NOT_FALSE = 3, | ||
| IS_UNKNOWN = 4, | ||
| IS_NOT_UNKNOWN = 5 | ||
| } | ||
| export declare enum CmdType { | ||
| CMD_UNKNOWN = 0, | ||
| CMD_SELECT = 1, | ||
| CMD_UPDATE = 2, | ||
| CMD_INSERT = 3, | ||
| CMD_DELETE = 4, | ||
| CMD_UTILITY = 5, | ||
| CMD_NOTHING = 6 | ||
| } | ||
| export declare enum JoinType { | ||
| JOIN_INNER = 0, | ||
| JOIN_LEFT = 1, | ||
| JOIN_FULL = 2, | ||
| JOIN_RIGHT = 3, | ||
| JOIN_SEMI = 4, | ||
| JOIN_ANTI = 5, | ||
| JOIN_UNIQUE_OUTER = 6, | ||
| JOIN_UNIQUE_INNER = 7 | ||
| } | ||
| export declare enum AggStrategy { | ||
| AGG_PLAIN = 0, | ||
| AGG_SORTED = 1, | ||
| AGG_HASHED = 2, | ||
| AGG_MIXED = 3 | ||
| } | ||
| export declare enum AggSplit { | ||
| AGGSPLIT_SIMPLE = 0, | ||
| AGGSPLIT_INITIAL_SERIAL = 1, | ||
| AGGSPLIT_FINAL_DESERIAL = 2 | ||
| } | ||
| export declare enum SetOpCmd { | ||
| SETOPCMD_INTERSECT = 0, | ||
| SETOPCMD_INTERSECT_ALL = 1, | ||
| SETOPCMD_EXCEPT = 2, | ||
| SETOPCMD_EXCEPT_ALL = 3 | ||
| } | ||
| export declare enum SetOpStrategy { | ||
| SETOP_SORTED = 0, | ||
| SETOP_HASHED = 1 | ||
| } | ||
| export declare enum OnConflictAction { | ||
| ONCONFLICT_NONE = 0, | ||
| ONCONFLICT_NOTHING = 1, | ||
| ONCONFLICT_UPDATE = 2 | ||
| } | ||
| export declare enum LimitOption { | ||
| LIMIT_OPTION_DEFAULT = 0, | ||
| LIMIT_OPTION_COUNT = 1, | ||
| LIMIT_OPTION_WITH_TIES = 2 | ||
| } | ||
| export declare enum LockClauseStrength { | ||
| LCS_NONE = 0, | ||
| LCS_FORKEYSHARE = 1, | ||
| LCS_FORSHARE = 2, | ||
| LCS_FORNOKEYUPDATE = 3, | ||
| LCS_FORUPDATE = 4 | ||
| } | ||
| export declare enum LockWaitPolicy { | ||
| LockWaitBlock = 0, | ||
| LockWaitSkip = 1, | ||
| LockWaitError = 2 | ||
| } | ||
| export declare enum LockTupleMode { | ||
| LockTupleKeyShare = 0, | ||
| LockTupleShare = 1, | ||
| LockTupleNoKeyExclusive = 2, | ||
| LockTupleExclusive = 3 | ||
| } | ||
| export declare enum KeywordKind { | ||
| NO_KEYWORD = 0, | ||
| UNRESERVED_KEYWORD = 1, | ||
| COL_NAME_KEYWORD = 2, | ||
| TYPE_FUNC_NAME_KEYWORD = 3, | ||
| RESERVED_KEYWORD = 4 | ||
| } | ||
| export declare enum Token { | ||
| NUL = 0, | ||
| ASCII_37 = 37, | ||
| ASCII_40 = 40, | ||
| ASCII_41 = 41, | ||
| ASCII_42 = 42, | ||
| ASCII_43 = 43, | ||
| ASCII_44 = 44, | ||
| ASCII_45 = 45, | ||
| ASCII_46 = 46, | ||
| ASCII_47 = 47, | ||
| ASCII_58 = 58, | ||
| ASCII_59 = 59, | ||
| ASCII_60 = 60, | ||
| ASCII_61 = 61, | ||
| ASCII_62 = 62, | ||
| ASCII_63 = 63, | ||
| ASCII_91 = 91, | ||
| ASCII_92 = 92, | ||
| ASCII_93 = 93, | ||
| ASCII_94 = 94, | ||
| IDENT = 258, | ||
| UIDENT = 259, | ||
| FCONST = 260, | ||
| SCONST = 261, | ||
| USCONST = 262, | ||
| BCONST = 263, | ||
| XCONST = 264, | ||
| Op = 265, | ||
| ICONST = 266, | ||
| PARAM = 267, | ||
| TYPECAST = 268, | ||
| DOT_DOT = 269, | ||
| COLON_EQUALS = 270, | ||
| EQUALS_GREATER = 271, | ||
| LESS_EQUALS = 272, | ||
| GREATER_EQUALS = 273, | ||
| NOT_EQUALS = 274, | ||
| SQL_COMMENT = 275, | ||
| C_COMMENT = 276, | ||
| ABORT_P = 277, | ||
| ABSOLUTE_P = 278, | ||
| ACCESS = 279, | ||
| ACTION = 280, | ||
| ADD_P = 281, | ||
| ADMIN = 282, | ||
| AFTER = 283, | ||
| AGGREGATE = 284, | ||
| ALL = 285, | ||
| ALSO = 286, | ||
| ALTER = 287, | ||
| ALWAYS = 288, | ||
| ANALYSE = 289, | ||
| ANALYZE = 290, | ||
| AND = 291, | ||
| ANY = 292, | ||
| ARRAY = 293, | ||
| AS = 294, | ||
| ASC = 295, | ||
| ASSERTION = 296, | ||
| ASSIGNMENT = 297, | ||
| ASYMMETRIC = 298, | ||
| AT = 299, | ||
| ATTACH = 300, | ||
| ATTRIBUTE = 301, | ||
| AUTHORIZATION = 302, | ||
| BACKWARD = 303, | ||
| BEFORE = 304, | ||
| BEGIN_P = 305, | ||
| BETWEEN = 306, | ||
| BIGINT = 307, | ||
| BINARY = 308, | ||
| BIT = 309, | ||
| BOOLEAN_P = 310, | ||
| BOTH = 311, | ||
| BY = 312, | ||
| CACHE = 313, | ||
| CALL = 314, | ||
| CALLED = 315, | ||
| CASCADE = 316, | ||
| CASCADED = 317, | ||
| CASE = 318, | ||
| CAST = 319, | ||
| CATALOG_P = 320, | ||
| CHAIN = 321, | ||
| CHAR_P = 322, | ||
| CHARACTER = 323, | ||
| CHARACTERISTICS = 324, | ||
| CHECK = 325, | ||
| CHECKPOINT = 326, | ||
| CLASS = 327, | ||
| CLOSE = 328, | ||
| CLUSTER = 329, | ||
| COALESCE = 330, | ||
| COLLATE = 331, | ||
| COLLATION = 332, | ||
| COLUMN = 333, | ||
| COLUMNS = 334, | ||
| COMMENT = 335, | ||
| COMMENTS = 336, | ||
| COMMIT = 337, | ||
| COMMITTED = 338, | ||
| CONCURRENTLY = 339, | ||
| CONFIGURATION = 340, | ||
| CONFLICT = 341, | ||
| CONNECTION = 342, | ||
| CONSTRAINT = 343, | ||
| CONSTRAINTS = 344, | ||
| CONTENT_P = 345, | ||
| CONTINUE_P = 346, | ||
| CONVERSION_P = 347, | ||
| COPY = 348, | ||
| COST = 349, | ||
| CREATE = 350, | ||
| CROSS = 351, | ||
| CSV = 352, | ||
| CUBE = 353, | ||
| CURRENT_P = 354, | ||
| CURRENT_CATALOG = 355, | ||
| CURRENT_DATE = 356, | ||
| CURRENT_ROLE = 357, | ||
| CURRENT_SCHEMA = 358, | ||
| CURRENT_TIME = 359, | ||
| CURRENT_TIMESTAMP = 360, | ||
| CURRENT_USER = 361, | ||
| CURSOR = 362, | ||
| CYCLE = 363, | ||
| DATA_P = 364, | ||
| DATABASE = 365, | ||
| DAY_P = 366, | ||
| DEALLOCATE = 367, | ||
| DEC = 368, | ||
| DECIMAL_P = 369, | ||
| DECLARE = 370, | ||
| DEFAULT = 371, | ||
| DEFAULTS = 372, | ||
| DEFERRABLE = 373, | ||
| DEFERRED = 374, | ||
| DEFINER = 375, | ||
| DELETE_P = 376, | ||
| DELIMITER = 377, | ||
| DELIMITERS = 378, | ||
| DEPENDS = 379, | ||
| DESC = 380, | ||
| DETACH = 381, | ||
| DICTIONARY = 382, | ||
| DISABLE_P = 383, | ||
| DISCARD = 384, | ||
| DISTINCT = 385, | ||
| DO = 386, | ||
| DOCUMENT_P = 387, | ||
| DOMAIN_P = 388, | ||
| DOUBLE_P = 389, | ||
| DROP = 390, | ||
| EACH = 391, | ||
| ELSE = 392, | ||
| ENABLE_P = 393, | ||
| ENCODING = 394, | ||
| ENCRYPTED = 395, | ||
| END_P = 396, | ||
| ENUM_P = 397, | ||
| ESCAPE = 398, | ||
| EVENT = 399, | ||
| EXCEPT = 400, | ||
| EXCLUDE = 401, | ||
| EXCLUDING = 402, | ||
| EXCLUSIVE = 403, | ||
| EXECUTE = 404, | ||
| EXISTS = 405, | ||
| EXPLAIN = 406, | ||
| EXPRESSION = 407, | ||
| EXTENSION = 408, | ||
| EXTERNAL = 409, | ||
| EXTRACT = 410, | ||
| FALSE_P = 411, | ||
| FAMILY = 412, | ||
| FETCH = 413, | ||
| FILTER = 414, | ||
| FIRST_P = 415, | ||
| FLOAT_P = 416, | ||
| FOLLOWING = 417, | ||
| FOR = 418, | ||
| FORCE = 419, | ||
| FOREIGN = 420, | ||
| FORWARD = 421, | ||
| FREEZE = 422, | ||
| FROM = 423, | ||
| FULL = 424, | ||
| FUNCTION = 425, | ||
| FUNCTIONS = 426, | ||
| GENERATED = 427, | ||
| GLOBAL = 428, | ||
| GRANT = 429, | ||
| GRANTED = 430, | ||
| GREATEST = 431, | ||
| GROUP_P = 432, | ||
| GROUPING = 433, | ||
| GROUPS = 434, | ||
| HANDLER = 435, | ||
| HAVING = 436, | ||
| HEADER_P = 437, | ||
| HOLD = 438, | ||
| HOUR_P = 439, | ||
| IDENTITY_P = 440, | ||
| IF_P = 441, | ||
| ILIKE = 442, | ||
| IMMEDIATE = 443, | ||
| IMMUTABLE = 444, | ||
| IMPLICIT_P = 445, | ||
| IMPORT_P = 446, | ||
| IN_P = 447, | ||
| INCLUDE = 448, | ||
| INCLUDING = 449, | ||
| INCREMENT = 450, | ||
| INDEX = 451, | ||
| INDEXES = 452, | ||
| INHERIT = 453, | ||
| INHERITS = 454, | ||
| INITIALLY = 455, | ||
| INLINE_P = 456, | ||
| INNER_P = 457, | ||
| INOUT = 458, | ||
| INPUT_P = 459, | ||
| INSENSITIVE = 460, | ||
| INSERT = 461, | ||
| INSTEAD = 462, | ||
| INT_P = 463, | ||
| INTEGER = 464, | ||
| INTERSECT = 465, | ||
| INTERVAL = 466, | ||
| INTO = 467, | ||
| INVOKER = 468, | ||
| IS = 469, | ||
| ISNULL = 470, | ||
| ISOLATION = 471, | ||
| JOIN = 472, | ||
| KEY = 473, | ||
| LABEL = 474, | ||
| LANGUAGE = 475, | ||
| LARGE_P = 476, | ||
| LAST_P = 477, | ||
| LATERAL_P = 478, | ||
| LEADING = 479, | ||
| LEAKPROOF = 480, | ||
| LEAST = 481, | ||
| LEFT = 482, | ||
| LEVEL = 483, | ||
| LIKE = 484, | ||
| LIMIT = 485, | ||
| LISTEN = 486, | ||
| LOAD = 487, | ||
| LOCAL = 488, | ||
| LOCALTIME = 489, | ||
| LOCALTIMESTAMP = 490, | ||
| LOCATION = 491, | ||
| LOCK_P = 492, | ||
| LOCKED = 493, | ||
| LOGGED = 494, | ||
| MAPPING = 495, | ||
| MATCH = 496, | ||
| MATERIALIZED = 497, | ||
| MAXVALUE = 498, | ||
| METHOD = 499, | ||
| MINUTE_P = 500, | ||
| MINVALUE = 501, | ||
| MODE = 502, | ||
| MONTH_P = 503, | ||
| MOVE = 504, | ||
| NAME_P = 505, | ||
| NAMES = 506, | ||
| NATIONAL = 507, | ||
| NATURAL = 508, | ||
| NCHAR = 509, | ||
| NEW = 510, | ||
| NEXT = 511, | ||
| NFC = 512, | ||
| NFD = 513, | ||
| NFKC = 514, | ||
| NFKD = 515, | ||
| NO = 516, | ||
| NONE = 517, | ||
| NORMALIZE = 518, | ||
| NORMALIZED = 519, | ||
| NOT = 520, | ||
| NOTHING = 521, | ||
| NOTIFY = 522, | ||
| NOTNULL = 523, | ||
| NOWAIT = 524, | ||
| NULL_P = 525, | ||
| NULLIF = 526, | ||
| NULLS_P = 527, | ||
| NUMERIC = 528, | ||
| OBJECT_P = 529, | ||
| OF = 530, | ||
| OFF = 531, | ||
| OFFSET = 532, | ||
| OIDS = 533, | ||
| OLD = 534, | ||
| ON = 535, | ||
| ONLY = 536, | ||
| OPERATOR = 537, | ||
| OPTION = 538, | ||
| OPTIONS = 539, | ||
| OR = 540, | ||
| ORDER = 541, | ||
| ORDINALITY = 542, | ||
| OTHERS = 543, | ||
| OUT_P = 544, | ||
| OUTER_P = 545, | ||
| OVER = 546, | ||
| OVERLAPS = 547, | ||
| OVERLAY = 548, | ||
| OVERRIDING = 549, | ||
| OWNED = 550, | ||
| OWNER = 551, | ||
| PARALLEL = 552, | ||
| PARSER = 553, | ||
| PARTIAL = 554, | ||
| PARTITION = 555, | ||
| PASSING = 556, | ||
| PASSWORD = 557, | ||
| PLACING = 558, | ||
| PLANS = 559, | ||
| POLICY = 560, | ||
| POSITION = 561, | ||
| PRECEDING = 562, | ||
| PRECISION = 563, | ||
| PRESERVE = 564, | ||
| PREPARE = 565, | ||
| PREPARED = 566, | ||
| PRIMARY = 567, | ||
| PRIOR = 568, | ||
| PRIVILEGES = 569, | ||
| PROCEDURAL = 570, | ||
| PROCEDURE = 571, | ||
| PROCEDURES = 572, | ||
| PROGRAM = 573, | ||
| PUBLICATION = 574, | ||
| QUOTE = 575, | ||
| RANGE = 576, | ||
| READ = 577, | ||
| REAL = 578, | ||
| REASSIGN = 579, | ||
| RECHECK = 580, | ||
| RECURSIVE = 581, | ||
| REF_P = 582, | ||
| REFERENCES = 583, | ||
| REFERENCING = 584, | ||
| REFRESH = 585, | ||
| REINDEX = 586, | ||
| RELATIVE_P = 587, | ||
| RELEASE = 588, | ||
| RENAME = 589, | ||
| REPEATABLE = 590, | ||
| REPLACE = 591, | ||
| REPLICA = 592, | ||
| RESET = 593, | ||
| RESTART = 594, | ||
| RESTRICT = 595, | ||
| RETURNING = 596, | ||
| RETURNS = 597, | ||
| REVOKE = 598, | ||
| RIGHT = 599, | ||
| ROLE = 600, | ||
| ROLLBACK = 601, | ||
| ROLLUP = 602, | ||
| ROUTINE = 603, | ||
| ROUTINES = 604, | ||
| ROW = 605, | ||
| ROWS = 606, | ||
| RULE = 607, | ||
| SAVEPOINT = 608, | ||
| SCHEMA = 609, | ||
| SCHEMAS = 610, | ||
| SCROLL = 611, | ||
| SEARCH = 612, | ||
| SECOND_P = 613, | ||
| SECURITY = 614, | ||
| SELECT = 615, | ||
| SEQUENCE = 616, | ||
| SEQUENCES = 617, | ||
| SERIALIZABLE = 618, | ||
| SERVER = 619, | ||
| SESSION = 620, | ||
| SESSION_USER = 621, | ||
| SET = 622, | ||
| SETS = 623, | ||
| SETOF = 624, | ||
| SHARE = 625, | ||
| SHOW = 626, | ||
| SIMILAR = 627, | ||
| SIMPLE = 628, | ||
| SKIP = 629, | ||
| SMALLINT = 630, | ||
| SNAPSHOT = 631, | ||
| SOME = 632, | ||
| SQL_P = 633, | ||
| STABLE = 634, | ||
| STANDALONE_P = 635, | ||
| START = 636, | ||
| STATEMENT = 637, | ||
| STATISTICS = 638, | ||
| STDIN = 639, | ||
| STDOUT = 640, | ||
| STORAGE = 641, | ||
| STORED = 642, | ||
| STRICT_P = 643, | ||
| STRIP_P = 644, | ||
| SUBSCRIPTION = 645, | ||
| SUBSTRING = 646, | ||
| SUPPORT = 647, | ||
| SYMMETRIC = 648, | ||
| SYSID = 649, | ||
| SYSTEM_P = 650, | ||
| TABLE = 651, | ||
| TABLES = 652, | ||
| TABLESAMPLE = 653, | ||
| TABLESPACE = 654, | ||
| TEMP = 655, | ||
| TEMPLATE = 656, | ||
| TEMPORARY = 657, | ||
| TEXT_P = 658, | ||
| THEN = 659, | ||
| TIES = 660, | ||
| TIME = 661, | ||
| TIMESTAMP = 662, | ||
| TO = 663, | ||
| TRAILING = 664, | ||
| TRANSACTION = 665, | ||
| TRANSFORM = 666, | ||
| TREAT = 667, | ||
| TRIGGER = 668, | ||
| TRIM = 669, | ||
| TRUE_P = 670, | ||
| TRUNCATE = 671, | ||
| TRUSTED = 672, | ||
| TYPE_P = 673, | ||
| TYPES_P = 674, | ||
| UESCAPE = 675, | ||
| UNBOUNDED = 676, | ||
| UNCOMMITTED = 677, | ||
| UNENCRYPTED = 678, | ||
| UNION = 679, | ||
| UNIQUE = 680, | ||
| UNKNOWN = 681, | ||
| UNLISTEN = 682, | ||
| UNLOGGED = 683, | ||
| UNTIL = 684, | ||
| UPDATE = 685, | ||
| USER = 686, | ||
| USING = 687, | ||
| VACUUM = 688, | ||
| VALID = 689, | ||
| VALIDATE = 690, | ||
| VALIDATOR = 691, | ||
| VALUE_P = 692, | ||
| VALUES = 693, | ||
| VARCHAR = 694, | ||
| VARIADIC = 695, | ||
| VARYING = 696, | ||
| VERBOSE = 697, | ||
| VERSION_P = 698, | ||
| VIEW = 699, | ||
| VIEWS = 700, | ||
| VOLATILE = 701, | ||
| WHEN = 702, | ||
| WHERE = 703, | ||
| WHITESPACE_P = 704, | ||
| WINDOW = 705, | ||
| WITH = 706, | ||
| WITHIN = 707, | ||
| WITHOUT = 708, | ||
| WORK = 709, | ||
| WRAPPER = 710, | ||
| WRITE = 711, | ||
| XML_P = 712, | ||
| XMLATTRIBUTES = 713, | ||
| XMLCONCAT = 714, | ||
| XMLELEMENT = 715, | ||
| XMLEXISTS = 716, | ||
| XMLFOREST = 717, | ||
| XMLNAMESPACES = 718, | ||
| XMLPARSE = 719, | ||
| XMLPI = 720, | ||
| XMLROOT = 721, | ||
| XMLSERIALIZE = 722, | ||
| XMLTABLE = 723, | ||
| YEAR_P = 724, | ||
| YES_P = 725, | ||
| ZONE = 726, | ||
| NOT_LA = 727, | ||
| NULLS_LA = 728, | ||
| WITH_LA = 729, | ||
| POSTFIXOP = 730, | ||
| UMINUS = 731 | ||
| } |
| export type OverridingKind = "OVERRIDING_NOT_SET" | "OVERRIDING_USER_VALUE" | "OVERRIDING_SYSTEM_VALUE"; | ||
| export type QuerySource = "QSRC_ORIGINAL" | "QSRC_PARSER" | "QSRC_INSTEAD_RULE" | "QSRC_QUAL_INSTEAD_RULE" | "QSRC_NON_INSTEAD_RULE"; | ||
| export type SortByDir = "SORTBY_DEFAULT" | "SORTBY_ASC" | "SORTBY_DESC" | "SORTBY_USING"; | ||
| export type SortByNulls = "SORTBY_NULLS_DEFAULT" | "SORTBY_NULLS_FIRST" | "SORTBY_NULLS_LAST"; | ||
| export type A_Expr_Kind = "AEXPR_OP" | "AEXPR_OP_ANY" | "AEXPR_OP_ALL" | "AEXPR_DISTINCT" | "AEXPR_NOT_DISTINCT" | "AEXPR_NULLIF" | "AEXPR_OF" | "AEXPR_IN" | "AEXPR_LIKE" | "AEXPR_ILIKE" | "AEXPR_SIMILAR" | "AEXPR_BETWEEN" | "AEXPR_NOT_BETWEEN" | "AEXPR_BETWEEN_SYM" | "AEXPR_NOT_BETWEEN_SYM" | "AEXPR_PAREN"; | ||
| export type RoleSpecType = "ROLESPEC_CSTRING" | "ROLESPEC_CURRENT_USER" | "ROLESPEC_SESSION_USER" | "ROLESPEC_PUBLIC"; | ||
| export type TableLikeOption = "CREATE_TABLE_LIKE_COMMENTS" | "CREATE_TABLE_LIKE_CONSTRAINTS" | "CREATE_TABLE_LIKE_DEFAULTS" | "CREATE_TABLE_LIKE_GENERATED" | "CREATE_TABLE_LIKE_IDENTITY" | "CREATE_TABLE_LIKE_INDEXES" | "CREATE_TABLE_LIKE_STATISTICS" | "CREATE_TABLE_LIKE_STORAGE" | "CREATE_TABLE_LIKE_ALL"; | ||
| export type DefElemAction = "DEFELEM_UNSPEC" | "DEFELEM_SET" | "DEFELEM_ADD" | "DEFELEM_DROP"; | ||
| export type PartitionRangeDatumKind = "PARTITION_RANGE_DATUM_MINVALUE" | "PARTITION_RANGE_DATUM_VALUE" | "PARTITION_RANGE_DATUM_MAXVALUE"; | ||
| export type RTEKind = "RTE_RELATION" | "RTE_SUBQUERY" | "RTE_JOIN" | "RTE_FUNCTION" | "RTE_TABLEFUNC" | "RTE_VALUES" | "RTE_CTE" | "RTE_NAMEDTUPLESTORE" | "RTE_RESULT"; | ||
| export type WCOKind = "WCO_VIEW_CHECK" | "WCO_RLS_INSERT_CHECK" | "WCO_RLS_UPDATE_CHECK" | "WCO_RLS_CONFLICT_CHECK"; | ||
| export type GroupingSetKind = "GROUPING_SET_EMPTY" | "GROUPING_SET_SIMPLE" | "GROUPING_SET_ROLLUP" | "GROUPING_SET_CUBE" | "GROUPING_SET_SETS"; | ||
| export type CTEMaterialize = "CTEMaterializeDefault" | "CTEMaterializeAlways" | "CTEMaterializeNever"; | ||
| export type SetOperation = "SETOP_NONE" | "SETOP_UNION" | "SETOP_INTERSECT" | "SETOP_EXCEPT"; | ||
| export type ObjectType = "OBJECT_ACCESS_METHOD" | "OBJECT_AGGREGATE" | "OBJECT_AMOP" | "OBJECT_AMPROC" | "OBJECT_ATTRIBUTE" | "OBJECT_CAST" | "OBJECT_COLUMN" | "OBJECT_COLLATION" | "OBJECT_CONVERSION" | "OBJECT_DATABASE" | "OBJECT_DEFAULT" | "OBJECT_DEFACL" | "OBJECT_DOMAIN" | "OBJECT_DOMCONSTRAINT" | "OBJECT_EVENT_TRIGGER" | "OBJECT_EXTENSION" | "OBJECT_FDW" | "OBJECT_FOREIGN_SERVER" | "OBJECT_FOREIGN_TABLE" | "OBJECT_FUNCTION" | "OBJECT_INDEX" | "OBJECT_LANGUAGE" | "OBJECT_LARGEOBJECT" | "OBJECT_MATVIEW" | "OBJECT_OPCLASS" | "OBJECT_OPERATOR" | "OBJECT_OPFAMILY" | "OBJECT_POLICY" | "OBJECT_PROCEDURE" | "OBJECT_PUBLICATION" | "OBJECT_PUBLICATION_REL" | "OBJECT_ROLE" | "OBJECT_ROUTINE" | "OBJECT_RULE" | "OBJECT_SCHEMA" | "OBJECT_SEQUENCE" | "OBJECT_SUBSCRIPTION" | "OBJECT_STATISTIC_EXT" | "OBJECT_TABCONSTRAINT" | "OBJECT_TABLE" | "OBJECT_TABLESPACE" | "OBJECT_TRANSFORM" | "OBJECT_TRIGGER" | "OBJECT_TSCONFIGURATION" | "OBJECT_TSDICTIONARY" | "OBJECT_TSPARSER" | "OBJECT_TSTEMPLATE" | "OBJECT_TYPE" | "OBJECT_USER_MAPPING" | "OBJECT_VIEW"; | ||
| export type DropBehavior = "DROP_RESTRICT" | "DROP_CASCADE"; | ||
| export type AlterTableType = "AT_AddColumn" | "AT_AddColumnRecurse" | "AT_AddColumnToView" | "AT_ColumnDefault" | "AT_CookedColumnDefault" | "AT_DropNotNull" | "AT_SetNotNull" | "AT_DropExpression" | "AT_CheckNotNull" | "AT_SetStatistics" | "AT_SetOptions" | "AT_ResetOptions" | "AT_SetStorage" | "AT_DropColumn" | "AT_DropColumnRecurse" | "AT_AddIndex" | "AT_ReAddIndex" | "AT_AddConstraint" | "AT_AddConstraintRecurse" | "AT_ReAddConstraint" | "AT_ReAddDomainConstraint" | "AT_AlterConstraint" | "AT_ValidateConstraint" | "AT_ValidateConstraintRecurse" | "AT_AddIndexConstraint" | "AT_DropConstraint" | "AT_DropConstraintRecurse" | "AT_ReAddComment" | "AT_AlterColumnType" | "AT_AlterColumnGenericOptions" | "AT_ChangeOwner" | "AT_ClusterOn" | "AT_DropCluster" | "AT_SetLogged" | "AT_SetUnLogged" | "AT_DropOids" | "AT_SetTableSpace" | "AT_SetRelOptions" | "AT_ResetRelOptions" | "AT_ReplaceRelOptions" | "AT_EnableTrig" | "AT_EnableAlwaysTrig" | "AT_EnableReplicaTrig" | "AT_DisableTrig" | "AT_EnableTrigAll" | "AT_DisableTrigAll" | "AT_EnableTrigUser" | "AT_DisableTrigUser" | "AT_EnableRule" | "AT_EnableAlwaysRule" | "AT_EnableReplicaRule" | "AT_DisableRule" | "AT_AddInherit" | "AT_DropInherit" | "AT_AddOf" | "AT_DropOf" | "AT_ReplicaIdentity" | "AT_EnableRowSecurity" | "AT_DisableRowSecurity" | "AT_ForceRowSecurity" | "AT_NoForceRowSecurity" | "AT_GenericOptions" | "AT_AttachPartition" | "AT_DetachPartition" | "AT_AddIdentity" | "AT_SetIdentity" | "AT_DropIdentity"; | ||
| export type GrantTargetType = "ACL_TARGET_OBJECT" | "ACL_TARGET_ALL_IN_SCHEMA" | "ACL_TARGET_DEFAULTS"; | ||
| export type VariableSetKind = "VAR_SET_VALUE" | "VAR_SET_DEFAULT" | "VAR_SET_CURRENT" | "VAR_SET_MULTI" | "VAR_RESET" | "VAR_RESET_ALL"; | ||
| export type ConstrType = "CONSTR_NULL" | "CONSTR_NOTNULL" | "CONSTR_DEFAULT" | "CONSTR_IDENTITY" | "CONSTR_GENERATED" | "CONSTR_CHECK" | "CONSTR_PRIMARY" | "CONSTR_UNIQUE" | "CONSTR_EXCLUSION" | "CONSTR_FOREIGN" | "CONSTR_ATTR_DEFERRABLE" | "CONSTR_ATTR_NOT_DEFERRABLE" | "CONSTR_ATTR_DEFERRED" | "CONSTR_ATTR_IMMEDIATE"; | ||
| export type ImportForeignSchemaType = "FDW_IMPORT_SCHEMA_ALL" | "FDW_IMPORT_SCHEMA_LIMIT_TO" | "FDW_IMPORT_SCHEMA_EXCEPT"; | ||
| export type RoleStmtType = "ROLESTMT_ROLE" | "ROLESTMT_USER" | "ROLESTMT_GROUP"; | ||
| export type FetchDirection = "FETCH_FORWARD" | "FETCH_BACKWARD" | "FETCH_ABSOLUTE" | "FETCH_RELATIVE"; | ||
| export type FunctionParameterMode = "FUNC_PARAM_IN" | "FUNC_PARAM_OUT" | "FUNC_PARAM_INOUT" | "FUNC_PARAM_VARIADIC" | "FUNC_PARAM_TABLE"; | ||
| export type TransactionStmtKind = "TRANS_STMT_BEGIN" | "TRANS_STMT_START" | "TRANS_STMT_COMMIT" | "TRANS_STMT_ROLLBACK" | "TRANS_STMT_SAVEPOINT" | "TRANS_STMT_RELEASE" | "TRANS_STMT_ROLLBACK_TO" | "TRANS_STMT_PREPARE" | "TRANS_STMT_COMMIT_PREPARED" | "TRANS_STMT_ROLLBACK_PREPARED"; | ||
| export type ViewCheckOption = "NO_CHECK_OPTION" | "LOCAL_CHECK_OPTION" | "CASCADED_CHECK_OPTION"; | ||
| export type ClusterOption = "CLUOPT_RECHECK" | "CLUOPT_VERBOSE"; | ||
| export type DiscardMode = "DISCARD_ALL" | "DISCARD_PLANS" | "DISCARD_SEQUENCES" | "DISCARD_TEMP"; | ||
| export type ReindexObjectType = "REINDEX_OBJECT_INDEX" | "REINDEX_OBJECT_TABLE" | "REINDEX_OBJECT_SCHEMA" | "REINDEX_OBJECT_SYSTEM" | "REINDEX_OBJECT_DATABASE"; | ||
| export type AlterTSConfigType = "ALTER_TSCONFIG_ADD_MAPPING" | "ALTER_TSCONFIG_ALTER_MAPPING_FOR_TOKEN" | "ALTER_TSCONFIG_REPLACE_DICT" | "ALTER_TSCONFIG_REPLACE_DICT_FOR_TOKEN" | "ALTER_TSCONFIG_DROP_MAPPING"; | ||
| export type AlterSubscriptionType = "ALTER_SUBSCRIPTION_OPTIONS" | "ALTER_SUBSCRIPTION_CONNECTION" | "ALTER_SUBSCRIPTION_PUBLICATION" | "ALTER_SUBSCRIPTION_REFRESH" | "ALTER_SUBSCRIPTION_ENABLED"; | ||
| export type OnCommitAction = "ONCOMMIT_NOOP" | "ONCOMMIT_PRESERVE_ROWS" | "ONCOMMIT_DELETE_ROWS" | "ONCOMMIT_DROP"; | ||
| export type ParamKind = "PARAM_EXTERN" | "PARAM_EXEC" | "PARAM_SUBLINK" | "PARAM_MULTIEXPR"; | ||
| export type CoercionContext = "COERCION_IMPLICIT" | "COERCION_ASSIGNMENT" | "COERCION_EXPLICIT"; | ||
| export type CoercionForm = "COERCE_EXPLICIT_CALL" | "COERCE_EXPLICIT_CAST" | "COERCE_IMPLICIT_CAST"; | ||
| export type BoolExprType = "AND_EXPR" | "OR_EXPR" | "NOT_EXPR"; | ||
| export type SubLinkType = "EXISTS_SUBLINK" | "ALL_SUBLINK" | "ANY_SUBLINK" | "ROWCOMPARE_SUBLINK" | "EXPR_SUBLINK" | "MULTIEXPR_SUBLINK" | "ARRAY_SUBLINK" | "CTE_SUBLINK"; | ||
| export type RowCompareType = "ROWCOMPARE_LT" | "ROWCOMPARE_LE" | "ROWCOMPARE_EQ" | "ROWCOMPARE_GE" | "ROWCOMPARE_GT" | "ROWCOMPARE_NE"; | ||
| export type MinMaxOp = "IS_GREATEST" | "IS_LEAST"; | ||
| export type SQLValueFunctionOp = "SVFOP_CURRENT_DATE" | "SVFOP_CURRENT_TIME" | "SVFOP_CURRENT_TIME_N" | "SVFOP_CURRENT_TIMESTAMP" | "SVFOP_CURRENT_TIMESTAMP_N" | "SVFOP_LOCALTIME" | "SVFOP_LOCALTIME_N" | "SVFOP_LOCALTIMESTAMP" | "SVFOP_LOCALTIMESTAMP_N" | "SVFOP_CURRENT_ROLE" | "SVFOP_CURRENT_USER" | "SVFOP_USER" | "SVFOP_SESSION_USER" | "SVFOP_CURRENT_CATALOG" | "SVFOP_CURRENT_SCHEMA"; | ||
| export type XmlExprOp = "IS_XMLCONCAT" | "IS_XMLELEMENT" | "IS_XMLFOREST" | "IS_XMLPARSE" | "IS_XMLPI" | "IS_XMLROOT" | "IS_XMLSERIALIZE" | "IS_DOCUMENT"; | ||
| export type XmlOptionType = "XMLOPTION_DOCUMENT" | "XMLOPTION_CONTENT"; | ||
| export type NullTestType = "IS_NULL" | "IS_NOT_NULL"; | ||
| export type BoolTestType = "IS_TRUE" | "IS_NOT_TRUE" | "IS_FALSE" | "IS_NOT_FALSE" | "IS_UNKNOWN" | "IS_NOT_UNKNOWN"; | ||
| export type CmdType = "CMD_UNKNOWN" | "CMD_SELECT" | "CMD_UPDATE" | "CMD_INSERT" | "CMD_DELETE" | "CMD_UTILITY" | "CMD_NOTHING"; | ||
| export type JoinType = "JOIN_INNER" | "JOIN_LEFT" | "JOIN_FULL" | "JOIN_RIGHT" | "JOIN_SEMI" | "JOIN_ANTI" | "JOIN_UNIQUE_OUTER" | "JOIN_UNIQUE_INNER"; | ||
| export type AggStrategy = "AGG_PLAIN" | "AGG_SORTED" | "AGG_HASHED" | "AGG_MIXED"; | ||
| export type AggSplit = "AGGSPLIT_SIMPLE" | "AGGSPLIT_INITIAL_SERIAL" | "AGGSPLIT_FINAL_DESERIAL"; | ||
| export type SetOpCmd = "SETOPCMD_INTERSECT" | "SETOPCMD_INTERSECT_ALL" | "SETOPCMD_EXCEPT" | "SETOPCMD_EXCEPT_ALL"; | ||
| export type SetOpStrategy = "SETOP_SORTED" | "SETOP_HASHED"; | ||
| export type OnConflictAction = "ONCONFLICT_NONE" | "ONCONFLICT_NOTHING" | "ONCONFLICT_UPDATE"; | ||
| export type LimitOption = "LIMIT_OPTION_DEFAULT" | "LIMIT_OPTION_COUNT" | "LIMIT_OPTION_WITH_TIES"; | ||
| export type LockClauseStrength = "LCS_NONE" | "LCS_FORKEYSHARE" | "LCS_FORSHARE" | "LCS_FORNOKEYUPDATE" | "LCS_FORUPDATE"; | ||
| export type LockWaitPolicy = "LockWaitBlock" | "LockWaitSkip" | "LockWaitError"; | ||
| export type LockTupleMode = "LockTupleKeyShare" | "LockTupleShare" | "LockTupleNoKeyExclusive" | "LockTupleExclusive"; | ||
| export type KeywordKind = "NO_KEYWORD" | "UNRESERVED_KEYWORD" | "COL_NAME_KEYWORD" | "TYPE_FUNC_NAME_KEYWORD" | "RESERVED_KEYWORD"; | ||
| export type Token = "NUL" | "ASCII_37" | "ASCII_40" | "ASCII_41" | "ASCII_42" | "ASCII_43" | "ASCII_44" | "ASCII_45" | "ASCII_46" | "ASCII_47" | "ASCII_58" | "ASCII_59" | "ASCII_60" | "ASCII_61" | "ASCII_62" | "ASCII_63" | "ASCII_91" | "ASCII_92" | "ASCII_93" | "ASCII_94" | "IDENT" | "UIDENT" | "FCONST" | "SCONST" | "USCONST" | "BCONST" | "XCONST" | "Op" | "ICONST" | "PARAM" | "TYPECAST" | "DOT_DOT" | "COLON_EQUALS" | "EQUALS_GREATER" | "LESS_EQUALS" | "GREATER_EQUALS" | "NOT_EQUALS" | "SQL_COMMENT" | "C_COMMENT" | "ABORT_P" | "ABSOLUTE_P" | "ACCESS" | "ACTION" | "ADD_P" | "ADMIN" | "AFTER" | "AGGREGATE" | "ALL" | "ALSO" | "ALTER" | "ALWAYS" | "ANALYSE" | "ANALYZE" | "AND" | "ANY" | "ARRAY" | "AS" | "ASC" | "ASSERTION" | "ASSIGNMENT" | "ASYMMETRIC" | "AT" | "ATTACH" | "ATTRIBUTE" | "AUTHORIZATION" | "BACKWARD" | "BEFORE" | "BEGIN_P" | "BETWEEN" | "BIGINT" | "BINARY" | "BIT" | "BOOLEAN_P" | "BOTH" | "BY" | "CACHE" | "CALL" | "CALLED" | "CASCADE" | "CASCADED" | "CASE" | "CAST" | "CATALOG_P" | "CHAIN" | "CHAR_P" | "CHARACTER" | "CHARACTERISTICS" | "CHECK" | "CHECKPOINT" | "CLASS" | "CLOSE" | "CLUSTER" | "COALESCE" | "COLLATE" | "COLLATION" | "COLUMN" | "COLUMNS" | "COMMENT" | "COMMENTS" | "COMMIT" | "COMMITTED" | "CONCURRENTLY" | "CONFIGURATION" | "CONFLICT" | "CONNECTION" | "CONSTRAINT" | "CONSTRAINTS" | "CONTENT_P" | "CONTINUE_P" | "CONVERSION_P" | "COPY" | "COST" | "CREATE" | "CROSS" | "CSV" | "CUBE" | "CURRENT_P" | "CURRENT_CATALOG" | "CURRENT_DATE" | "CURRENT_ROLE" | "CURRENT_SCHEMA" | "CURRENT_TIME" | "CURRENT_TIMESTAMP" | "CURRENT_USER" | "CURSOR" | "CYCLE" | "DATA_P" | "DATABASE" | "DAY_P" | "DEALLOCATE" | "DEC" | "DECIMAL_P" | "DECLARE" | "DEFAULT" | "DEFAULTS" | "DEFERRABLE" | "DEFERRED" | "DEFINER" | "DELETE_P" | "DELIMITER" | "DELIMITERS" | "DEPENDS" | "DESC" | "DETACH" | "DICTIONARY" | "DISABLE_P" | "DISCARD" | "DISTINCT" | "DO" | "DOCUMENT_P" | "DOMAIN_P" | "DOUBLE_P" | "DROP" | "EACH" | "ELSE" | "ENABLE_P" | "ENCODING" | "ENCRYPTED" | "END_P" | "ENUM_P" | "ESCAPE" | "EVENT" | "EXCEPT" | "EXCLUDE" | "EXCLUDING" | "EXCLUSIVE" | "EXECUTE" | "EXISTS" | "EXPLAIN" | "EXPRESSION" | "EXTENSION" | "EXTERNAL" | "EXTRACT" | "FALSE_P" | "FAMILY" | "FETCH" | "FILTER" | "FIRST_P" | "FLOAT_P" | "FOLLOWING" | "FOR" | "FORCE" | "FOREIGN" | "FORWARD" | "FREEZE" | "FROM" | "FULL" | "FUNCTION" | "FUNCTIONS" | "GENERATED" | "GLOBAL" | "GRANT" | "GRANTED" | "GREATEST" | "GROUP_P" | "GROUPING" | "GROUPS" | "HANDLER" | "HAVING" | "HEADER_P" | "HOLD" | "HOUR_P" | "IDENTITY_P" | "IF_P" | "ILIKE" | "IMMEDIATE" | "IMMUTABLE" | "IMPLICIT_P" | "IMPORT_P" | "IN_P" | "INCLUDE" | "INCLUDING" | "INCREMENT" | "INDEX" | "INDEXES" | "INHERIT" | "INHERITS" | "INITIALLY" | "INLINE_P" | "INNER_P" | "INOUT" | "INPUT_P" | "INSENSITIVE" | "INSERT" | "INSTEAD" | "INT_P" | "INTEGER" | "INTERSECT" | "INTERVAL" | "INTO" | "INVOKER" | "IS" | "ISNULL" | "ISOLATION" | "JOIN" | "KEY" | "LABEL" | "LANGUAGE" | "LARGE_P" | "LAST_P" | "LATERAL_P" | "LEADING" | "LEAKPROOF" | "LEAST" | "LEFT" | "LEVEL" | "LIKE" | "LIMIT" | "LISTEN" | "LOAD" | "LOCAL" | "LOCALTIME" | "LOCALTIMESTAMP" | "LOCATION" | "LOCK_P" | "LOCKED" | "LOGGED" | "MAPPING" | "MATCH" | "MATERIALIZED" | "MAXVALUE" | "METHOD" | "MINUTE_P" | "MINVALUE" | "MODE" | "MONTH_P" | "MOVE" | "NAME_P" | "NAMES" | "NATIONAL" | "NATURAL" | "NCHAR" | "NEW" | "NEXT" | "NFC" | "NFD" | "NFKC" | "NFKD" | "NO" | "NONE" | "NORMALIZE" | "NORMALIZED" | "NOT" | "NOTHING" | "NOTIFY" | "NOTNULL" | "NOWAIT" | "NULL_P" | "NULLIF" | "NULLS_P" | "NUMERIC" | "OBJECT_P" | "OF" | "OFF" | "OFFSET" | "OIDS" | "OLD" | "ON" | "ONLY" | "OPERATOR" | "OPTION" | "OPTIONS" | "OR" | "ORDER" | "ORDINALITY" | "OTHERS" | "OUT_P" | "OUTER_P" | "OVER" | "OVERLAPS" | "OVERLAY" | "OVERRIDING" | "OWNED" | "OWNER" | "PARALLEL" | "PARSER" | "PARTIAL" | "PARTITION" | "PASSING" | "PASSWORD" | "PLACING" | "PLANS" | "POLICY" | "POSITION" | "PRECEDING" | "PRECISION" | "PRESERVE" | "PREPARE" | "PREPARED" | "PRIMARY" | "PRIOR" | "PRIVILEGES" | "PROCEDURAL" | "PROCEDURE" | "PROCEDURES" | "PROGRAM" | "PUBLICATION" | "QUOTE" | "RANGE" | "READ" | "REAL" | "REASSIGN" | "RECHECK" | "RECURSIVE" | "REF_P" | "REFERENCES" | "REFERENCING" | "REFRESH" | "REINDEX" | "RELATIVE_P" | "RELEASE" | "RENAME" | "REPEATABLE" | "REPLACE" | "REPLICA" | "RESET" | "RESTART" | "RESTRICT" | "RETURNING" | "RETURNS" | "REVOKE" | "RIGHT" | "ROLE" | "ROLLBACK" | "ROLLUP" | "ROUTINE" | "ROUTINES" | "ROW" | "ROWS" | "RULE" | "SAVEPOINT" | "SCHEMA" | "SCHEMAS" | "SCROLL" | "SEARCH" | "SECOND_P" | "SECURITY" | "SELECT" | "SEQUENCE" | "SEQUENCES" | "SERIALIZABLE" | "SERVER" | "SESSION" | "SESSION_USER" | "SET" | "SETS" | "SETOF" | "SHARE" | "SHOW" | "SIMILAR" | "SIMPLE" | "SKIP" | "SMALLINT" | "SNAPSHOT" | "SOME" | "SQL_P" | "STABLE" | "STANDALONE_P" | "START" | "STATEMENT" | "STATISTICS" | "STDIN" | "STDOUT" | "STORAGE" | "STORED" | "STRICT_P" | "STRIP_P" | "SUBSCRIPTION" | "SUBSTRING" | "SUPPORT" | "SYMMETRIC" | "SYSID" | "SYSTEM_P" | "TABLE" | "TABLES" | "TABLESAMPLE" | "TABLESPACE" | "TEMP" | "TEMPLATE" | "TEMPORARY" | "TEXT_P" | "THEN" | "TIES" | "TIME" | "TIMESTAMP" | "TO" | "TRAILING" | "TRANSACTION" | "TRANSFORM" | "TREAT" | "TRIGGER" | "TRIM" | "TRUE_P" | "TRUNCATE" | "TRUSTED" | "TYPE_P" | "TYPES_P" | "UESCAPE" | "UNBOUNDED" | "UNCOMMITTED" | "UNENCRYPTED" | "UNION" | "UNIQUE" | "UNKNOWN" | "UNLISTEN" | "UNLOGGED" | "UNTIL" | "UPDATE" | "USER" | "USING" | "VACUUM" | "VALID" | "VALIDATE" | "VALIDATOR" | "VALUE_P" | "VALUES" | "VARCHAR" | "VARIADIC" | "VARYING" | "VERBOSE" | "VERSION_P" | "VIEW" | "VIEWS" | "VOLATILE" | "WHEN" | "WHERE" | "WHITESPACE_P" | "WINDOW" | "WITH" | "WITHIN" | "WITHOUT" | "WORK" | "WRAPPER" | "WRITE" | "XML_P" | "XMLATTRIBUTES" | "XMLCONCAT" | "XMLELEMENT" | "XMLEXISTS" | "XMLFOREST" | "XMLNAMESPACES" | "XMLPARSE" | "XMLPI" | "XMLROOT" | "XMLSERIALIZE" | "XMLTABLE" | "YEAR_P" | "YES_P" | "ZONE" | "NOT_LA" | "NULLS_LA" | "WITH_LA" | "POSTFIXOP" | "UMINUS"; | ||
| export interface ParseResult { | ||
| version?: number; | ||
| stmts?: RawStmt[]; | ||
| } | ||
| export interface ScanResult { | ||
| version?: number; | ||
| tokens?: ScanToken[]; | ||
| } | ||
| export interface Node { | ||
| Alias?: Alias; | ||
| RangeVar?: RangeVar; | ||
| TableFunc?: TableFunc; | ||
| Expr?: Expr; | ||
| Var?: Var; | ||
| Param?: Param; | ||
| Aggref?: Aggref; | ||
| GroupingFunc?: GroupingFunc; | ||
| WindowFunc?: WindowFunc; | ||
| SubscriptingRef?: SubscriptingRef; | ||
| FuncExpr?: FuncExpr; | ||
| NamedArgExpr?: NamedArgExpr; | ||
| OpExpr?: OpExpr; | ||
| DistinctExpr?: DistinctExpr; | ||
| NullIfExpr?: NullIfExpr; | ||
| ScalarArrayOpExpr?: ScalarArrayOpExpr; | ||
| BoolExpr?: BoolExpr; | ||
| SubLink?: SubLink; | ||
| SubPlan?: SubPlan; | ||
| AlternativeSubPlan?: AlternativeSubPlan; | ||
| FieldSelect?: FieldSelect; | ||
| FieldStore?: FieldStore; | ||
| RelabelType?: RelabelType; | ||
| CoerceViaIO?: CoerceViaIO; | ||
| ArrayCoerceExpr?: ArrayCoerceExpr; | ||
| ConvertRowtypeExpr?: ConvertRowtypeExpr; | ||
| CollateExpr?: CollateExpr; | ||
| CaseExpr?: CaseExpr; | ||
| CaseWhen?: CaseWhen; | ||
| CaseTestExpr?: CaseTestExpr; | ||
| ArrayExpr?: ArrayExpr; | ||
| RowExpr?: RowExpr; | ||
| RowCompareExpr?: RowCompareExpr; | ||
| CoalesceExpr?: CoalesceExpr; | ||
| MinMaxExpr?: MinMaxExpr; | ||
| SQLValueFunction?: SQLValueFunction; | ||
| XmlExpr?: XmlExpr; | ||
| NullTest?: NullTest; | ||
| BooleanTest?: BooleanTest; | ||
| CoerceToDomain?: CoerceToDomain; | ||
| CoerceToDomainValue?: CoerceToDomainValue; | ||
| SetToDefault?: SetToDefault; | ||
| CurrentOfExpr?: CurrentOfExpr; | ||
| NextValueExpr?: NextValueExpr; | ||
| InferenceElem?: InferenceElem; | ||
| TargetEntry?: TargetEntry; | ||
| RangeTblRef?: RangeTblRef; | ||
| JoinExpr?: JoinExpr; | ||
| FromExpr?: FromExpr; | ||
| OnConflictExpr?: OnConflictExpr; | ||
| IntoClause?: IntoClause; | ||
| RawStmt?: RawStmt; | ||
| Query?: Query; | ||
| InsertStmt?: InsertStmt; | ||
| DeleteStmt?: DeleteStmt; | ||
| UpdateStmt?: UpdateStmt; | ||
| SelectStmt?: SelectStmt; | ||
| AlterTableStmt?: AlterTableStmt; | ||
| AlterTableCmd?: AlterTableCmd; | ||
| AlterDomainStmt?: AlterDomainStmt; | ||
| SetOperationStmt?: SetOperationStmt; | ||
| GrantStmt?: GrantStmt; | ||
| GrantRoleStmt?: GrantRoleStmt; | ||
| AlterDefaultPrivilegesStmt?: AlterDefaultPrivilegesStmt; | ||
| ClosePortalStmt?: ClosePortalStmt; | ||
| ClusterStmt?: ClusterStmt; | ||
| CopyStmt?: CopyStmt; | ||
| CreateStmt?: CreateStmt; | ||
| DefineStmt?: DefineStmt; | ||
| DropStmt?: DropStmt; | ||
| TruncateStmt?: TruncateStmt; | ||
| CommentStmt?: CommentStmt; | ||
| FetchStmt?: FetchStmt; | ||
| IndexStmt?: IndexStmt; | ||
| CreateFunctionStmt?: CreateFunctionStmt; | ||
| AlterFunctionStmt?: AlterFunctionStmt; | ||
| DoStmt?: DoStmt; | ||
| RenameStmt?: RenameStmt; | ||
| RuleStmt?: RuleStmt; | ||
| NotifyStmt?: NotifyStmt; | ||
| ListenStmt?: ListenStmt; | ||
| UnlistenStmt?: UnlistenStmt; | ||
| TransactionStmt?: TransactionStmt; | ||
| ViewStmt?: ViewStmt; | ||
| LoadStmt?: LoadStmt; | ||
| CreateDomainStmt?: CreateDomainStmt; | ||
| CreatedbStmt?: CreatedbStmt; | ||
| DropdbStmt?: DropdbStmt; | ||
| VacuumStmt?: VacuumStmt; | ||
| ExplainStmt?: ExplainStmt; | ||
| CreateTableAsStmt?: CreateTableAsStmt; | ||
| CreateSeqStmt?: CreateSeqStmt; | ||
| AlterSeqStmt?: AlterSeqStmt; | ||
| VariableSetStmt?: VariableSetStmt; | ||
| VariableShowStmt?: VariableShowStmt; | ||
| DiscardStmt?: DiscardStmt; | ||
| CreateTrigStmt?: CreateTrigStmt; | ||
| CreatePLangStmt?: CreatePLangStmt; | ||
| CreateRoleStmt?: CreateRoleStmt; | ||
| AlterRoleStmt?: AlterRoleStmt; | ||
| DropRoleStmt?: DropRoleStmt; | ||
| LockStmt?: LockStmt; | ||
| ConstraintsSetStmt?: ConstraintsSetStmt; | ||
| ReindexStmt?: ReindexStmt; | ||
| CheckPointStmt?: CheckPointStmt; | ||
| CreateSchemaStmt?: CreateSchemaStmt; | ||
| AlterDatabaseStmt?: AlterDatabaseStmt; | ||
| AlterDatabaseSetStmt?: AlterDatabaseSetStmt; | ||
| AlterRoleSetStmt?: AlterRoleSetStmt; | ||
| CreateConversionStmt?: CreateConversionStmt; | ||
| CreateCastStmt?: CreateCastStmt; | ||
| CreateOpClassStmt?: CreateOpClassStmt; | ||
| CreateOpFamilyStmt?: CreateOpFamilyStmt; | ||
| AlterOpFamilyStmt?: AlterOpFamilyStmt; | ||
| PrepareStmt?: PrepareStmt; | ||
| ExecuteStmt?: ExecuteStmt; | ||
| DeallocateStmt?: DeallocateStmt; | ||
| DeclareCursorStmt?: DeclareCursorStmt; | ||
| CreateTableSpaceStmt?: CreateTableSpaceStmt; | ||
| DropTableSpaceStmt?: DropTableSpaceStmt; | ||
| AlterObjectDependsStmt?: AlterObjectDependsStmt; | ||
| AlterObjectSchemaStmt?: AlterObjectSchemaStmt; | ||
| AlterOwnerStmt?: AlterOwnerStmt; | ||
| AlterOperatorStmt?: AlterOperatorStmt; | ||
| AlterTypeStmt?: AlterTypeStmt; | ||
| DropOwnedStmt?: DropOwnedStmt; | ||
| ReassignOwnedStmt?: ReassignOwnedStmt; | ||
| CompositeTypeStmt?: CompositeTypeStmt; | ||
| CreateEnumStmt?: CreateEnumStmt; | ||
| CreateRangeStmt?: CreateRangeStmt; | ||
| AlterEnumStmt?: AlterEnumStmt; | ||
| AlterTSDictionaryStmt?: AlterTSDictionaryStmt; | ||
| AlterTSConfigurationStmt?: AlterTSConfigurationStmt; | ||
| CreateFdwStmt?: CreateFdwStmt; | ||
| AlterFdwStmt?: AlterFdwStmt; | ||
| CreateForeignServerStmt?: CreateForeignServerStmt; | ||
| AlterForeignServerStmt?: AlterForeignServerStmt; | ||
| CreateUserMappingStmt?: CreateUserMappingStmt; | ||
| AlterUserMappingStmt?: AlterUserMappingStmt; | ||
| DropUserMappingStmt?: DropUserMappingStmt; | ||
| AlterTableSpaceOptionsStmt?: AlterTableSpaceOptionsStmt; | ||
| AlterTableMoveAllStmt?: AlterTableMoveAllStmt; | ||
| SecLabelStmt?: SecLabelStmt; | ||
| CreateForeignTableStmt?: CreateForeignTableStmt; | ||
| ImportForeignSchemaStmt?: ImportForeignSchemaStmt; | ||
| CreateExtensionStmt?: CreateExtensionStmt; | ||
| AlterExtensionStmt?: AlterExtensionStmt; | ||
| AlterExtensionContentsStmt?: AlterExtensionContentsStmt; | ||
| CreateEventTrigStmt?: CreateEventTrigStmt; | ||
| AlterEventTrigStmt?: AlterEventTrigStmt; | ||
| RefreshMatViewStmt?: RefreshMatViewStmt; | ||
| ReplicaIdentityStmt?: ReplicaIdentityStmt; | ||
| AlterSystemStmt?: AlterSystemStmt; | ||
| CreatePolicyStmt?: CreatePolicyStmt; | ||
| AlterPolicyStmt?: AlterPolicyStmt; | ||
| CreateTransformStmt?: CreateTransformStmt; | ||
| CreateAmStmt?: CreateAmStmt; | ||
| CreatePublicationStmt?: CreatePublicationStmt; | ||
| AlterPublicationStmt?: AlterPublicationStmt; | ||
| CreateSubscriptionStmt?: CreateSubscriptionStmt; | ||
| AlterSubscriptionStmt?: AlterSubscriptionStmt; | ||
| DropSubscriptionStmt?: DropSubscriptionStmt; | ||
| CreateStatsStmt?: CreateStatsStmt; | ||
| AlterCollationStmt?: AlterCollationStmt; | ||
| CallStmt?: CallStmt; | ||
| AlterStatsStmt?: AlterStatsStmt; | ||
| A_Expr?: A_Expr; | ||
| ColumnRef?: ColumnRef; | ||
| ParamRef?: ParamRef; | ||
| A_Const?: A_Const; | ||
| FuncCall?: FuncCall; | ||
| A_Star?: A_Star; | ||
| A_Indices?: A_Indices; | ||
| A_Indirection?: A_Indirection; | ||
| A_ArrayExpr?: A_ArrayExpr; | ||
| ResTarget?: ResTarget; | ||
| MultiAssignRef?: MultiAssignRef; | ||
| TypeCast?: TypeCast; | ||
| CollateClause?: CollateClause; | ||
| SortBy?: SortBy; | ||
| WindowDef?: WindowDef; | ||
| RangeSubselect?: RangeSubselect; | ||
| RangeFunction?: RangeFunction; | ||
| RangeTableSample?: RangeTableSample; | ||
| RangeTableFunc?: RangeTableFunc; | ||
| RangeTableFuncCol?: RangeTableFuncCol; | ||
| TypeName?: TypeName; | ||
| ColumnDef?: ColumnDef; | ||
| IndexElem?: IndexElem; | ||
| Constraint?: Constraint; | ||
| DefElem?: DefElem; | ||
| RangeTblEntry?: RangeTblEntry; | ||
| RangeTblFunction?: RangeTblFunction; | ||
| TableSampleClause?: TableSampleClause; | ||
| WithCheckOption?: WithCheckOption; | ||
| SortGroupClause?: SortGroupClause; | ||
| GroupingSet?: GroupingSet; | ||
| WindowClause?: WindowClause; | ||
| ObjectWithArgs?: ObjectWithArgs; | ||
| AccessPriv?: AccessPriv; | ||
| CreateOpClassItem?: CreateOpClassItem; | ||
| TableLikeClause?: TableLikeClause; | ||
| FunctionParameter?: FunctionParameter; | ||
| LockingClause?: LockingClause; | ||
| RowMarkClause?: RowMarkClause; | ||
| XmlSerialize?: XmlSerialize; | ||
| WithClause?: WithClause; | ||
| InferClause?: InferClause; | ||
| OnConflictClause?: OnConflictClause; | ||
| CommonTableExpr?: CommonTableExpr; | ||
| RoleSpec?: RoleSpec; | ||
| TriggerTransition?: TriggerTransition; | ||
| PartitionElem?: PartitionElem; | ||
| PartitionSpec?: PartitionSpec; | ||
| PartitionBoundSpec?: PartitionBoundSpec; | ||
| PartitionRangeDatum?: PartitionRangeDatum; | ||
| PartitionCmd?: PartitionCmd; | ||
| VacuumRelation?: VacuumRelation; | ||
| InlineCodeBlock?: InlineCodeBlock; | ||
| CallContext?: CallContext; | ||
| Integer?: Integer; | ||
| Float?: Float; | ||
| String?: String; | ||
| BitString?: BitString; | ||
| Null?: Null; | ||
| List?: List; | ||
| IntList?: IntList; | ||
| OidList?: OidList; | ||
| } | ||
| export interface Integer { | ||
| ival?: number; | ||
| } | ||
| export interface Float { | ||
| str?: string; | ||
| } | ||
| export interface String { | ||
| str?: string; | ||
| } | ||
| export interface BitString { | ||
| str?: string; | ||
| } | ||
| export interface Null { | ||
| } | ||
| export interface List { | ||
| items?: Node[]; | ||
| } | ||
| export interface OidList { | ||
| items?: Node[]; | ||
| } | ||
| export interface IntList { | ||
| items?: Node[]; | ||
| } | ||
| export interface Alias { | ||
| aliasname?: string; | ||
| colnames?: Node[]; | ||
| } | ||
| export interface RangeVar { | ||
| catalogname?: string; | ||
| schemaname?: string; | ||
| relname?: string; | ||
| inh?: boolean; | ||
| relpersistence?: string; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface TableFunc { | ||
| ns_uris?: Node[]; | ||
| ns_names?: Node[]; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| colnames?: Node[]; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| colexprs?: Node[]; | ||
| coldefexprs?: Node[]; | ||
| notnulls?: bigint[]; | ||
| ordinalitycol?: number; | ||
| location?: number; | ||
| } | ||
| export interface Expr { | ||
| } | ||
| export interface Var { | ||
| xpr?: Node; | ||
| varno?: number; | ||
| varattno?: number; | ||
| vartype?: number; | ||
| vartypmod?: number; | ||
| varcollid?: number; | ||
| varlevelsup?: number; | ||
| varnosyn?: number; | ||
| varattnosyn?: number; | ||
| location?: number; | ||
| } | ||
| export interface Param { | ||
| xpr?: Node; | ||
| paramkind?: ParamKind; | ||
| paramid?: number; | ||
| paramtype?: number; | ||
| paramtypmod?: number; | ||
| paramcollid?: number; | ||
| location?: number; | ||
| } | ||
| export interface Aggref { | ||
| xpr?: Node; | ||
| aggfnoid?: number; | ||
| aggtype?: number; | ||
| aggcollid?: number; | ||
| inputcollid?: number; | ||
| aggtranstype?: number; | ||
| aggargtypes?: Node[]; | ||
| aggdirectargs?: Node[]; | ||
| args?: Node[]; | ||
| aggorder?: Node[]; | ||
| aggdistinct?: Node[]; | ||
| aggfilter?: Node; | ||
| aggstar?: boolean; | ||
| aggvariadic?: boolean; | ||
| aggkind?: string; | ||
| agglevelsup?: number; | ||
| aggsplit?: AggSplit; | ||
| location?: number; | ||
| } | ||
| export interface GroupingFunc { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| refs?: Node[]; | ||
| cols?: Node[]; | ||
| agglevelsup?: number; | ||
| location?: number; | ||
| } | ||
| export interface WindowFunc { | ||
| xpr?: Node; | ||
| winfnoid?: number; | ||
| wintype?: number; | ||
| wincollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| aggfilter?: Node; | ||
| winref?: number; | ||
| winstar?: boolean; | ||
| winagg?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface SubscriptingRef { | ||
| xpr?: Node; | ||
| refcontainertype?: number; | ||
| refelemtype?: number; | ||
| reftypmod?: number; | ||
| refcollid?: number; | ||
| refupperindexpr?: Node[]; | ||
| reflowerindexpr?: Node[]; | ||
| refexpr?: Node; | ||
| refassgnexpr?: Node; | ||
| } | ||
| export interface FuncExpr { | ||
| xpr?: Node; | ||
| funcid?: number; | ||
| funcresulttype?: number; | ||
| funcretset?: boolean; | ||
| funcvariadic?: boolean; | ||
| funcformat?: CoercionForm; | ||
| funccollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NamedArgExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| name?: string; | ||
| argnumber?: number; | ||
| location?: number; | ||
| } | ||
| export interface OpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opfuncid?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface DistinctExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opfuncid?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface NullIfExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opfuncid?: number; | ||
| opresulttype?: number; | ||
| opretset?: boolean; | ||
| opcollid?: number; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ScalarArrayOpExpr { | ||
| xpr?: Node; | ||
| opno?: number; | ||
| opfuncid?: number; | ||
| useOr?: boolean; | ||
| inputcollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface BoolExpr { | ||
| xpr?: Node; | ||
| boolop?: BoolExprType; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SubLink { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| subLinkId?: number; | ||
| testexpr?: Node; | ||
| operName?: Node[]; | ||
| subselect?: Node; | ||
| location?: number; | ||
| } | ||
| export interface SubPlan { | ||
| xpr?: Node; | ||
| subLinkType?: SubLinkType; | ||
| testexpr?: Node; | ||
| paramIds?: Node[]; | ||
| plan_id?: number; | ||
| plan_name?: string; | ||
| firstColType?: number; | ||
| firstColTypmod?: number; | ||
| firstColCollation?: number; | ||
| useHashTable?: boolean; | ||
| unknownEqFalse?: boolean; | ||
| parallel_safe?: boolean; | ||
| setParam?: Node[]; | ||
| parParam?: Node[]; | ||
| args?: Node[]; | ||
| startup_cost?: number; | ||
| per_call_cost?: number; | ||
| } | ||
| export interface AlternativeSubPlan { | ||
| xpr?: Node; | ||
| subplans?: Node[]; | ||
| } | ||
| export interface FieldSelect { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| fieldnum?: number; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| } | ||
| export interface FieldStore { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| newvals?: Node[]; | ||
| fieldnums?: Node[]; | ||
| resulttype?: number; | ||
| } | ||
| export interface RelabelType { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| relabelformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceViaIO { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ArrayCoerceExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| elemexpr?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coerceformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface ConvertRowtypeExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| convertformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CollateExpr { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| collOid?: number; | ||
| location?: number; | ||
| } | ||
| export interface CaseExpr { | ||
| xpr?: Node; | ||
| casetype?: number; | ||
| casecollid?: number; | ||
| arg?: Node; | ||
| args?: Node[]; | ||
| defresult?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseWhen { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| result?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CaseTestExpr { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| } | ||
| export interface ArrayExpr { | ||
| xpr?: Node; | ||
| array_typeid?: number; | ||
| array_collid?: number; | ||
| element_typeid?: number; | ||
| elements?: Node[]; | ||
| multidims?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface RowExpr { | ||
| xpr?: Node; | ||
| args?: Node[]; | ||
| row_typeid?: number; | ||
| row_format?: CoercionForm; | ||
| colnames?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface RowCompareExpr { | ||
| xpr?: Node; | ||
| rctype?: RowCompareType; | ||
| opnos?: Node[]; | ||
| opfamilies?: Node[]; | ||
| inputcollids?: Node[]; | ||
| largs?: Node[]; | ||
| rargs?: Node[]; | ||
| } | ||
| export interface CoalesceExpr { | ||
| xpr?: Node; | ||
| coalescetype?: number; | ||
| coalescecollid?: number; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface MinMaxExpr { | ||
| xpr?: Node; | ||
| minmaxtype?: number; | ||
| minmaxcollid?: number; | ||
| inputcollid?: number; | ||
| op?: MinMaxOp; | ||
| args?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SQLValueFunction { | ||
| xpr?: Node; | ||
| op?: SQLValueFunctionOp; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface XmlExpr { | ||
| xpr?: Node; | ||
| op?: XmlExprOp; | ||
| name?: string; | ||
| named_args?: Node[]; | ||
| arg_names?: Node[]; | ||
| args?: Node[]; | ||
| xmloption?: XmlOptionType; | ||
| type?: number; | ||
| typmod?: number; | ||
| location?: number; | ||
| } | ||
| export interface NullTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| nulltesttype?: NullTestType; | ||
| argisrow?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface BooleanTest { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| booltesttype?: BoolTestType; | ||
| location?: number; | ||
| } | ||
| export interface CoerceToDomain { | ||
| xpr?: Node; | ||
| arg?: Node; | ||
| resulttype?: number; | ||
| resulttypmod?: number; | ||
| resultcollid?: number; | ||
| coercionformat?: CoercionForm; | ||
| location?: number; | ||
| } | ||
| export interface CoerceToDomainValue { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface SetToDefault { | ||
| xpr?: Node; | ||
| typeId?: number; | ||
| typeMod?: number; | ||
| collation?: number; | ||
| location?: number; | ||
| } | ||
| export interface CurrentOfExpr { | ||
| xpr?: Node; | ||
| cvarno?: number; | ||
| cursor_name?: string; | ||
| cursor_param?: number; | ||
| } | ||
| export interface NextValueExpr { | ||
| xpr?: Node; | ||
| seqid?: number; | ||
| typeId?: number; | ||
| } | ||
| export interface InferenceElem { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| infercollid?: number; | ||
| inferopclass?: number; | ||
| } | ||
| export interface TargetEntry { | ||
| xpr?: Node; | ||
| expr?: Node; | ||
| resno?: number; | ||
| resname?: string; | ||
| ressortgroupref?: number; | ||
| resorigtbl?: number; | ||
| resorigcol?: number; | ||
| resjunk?: boolean; | ||
| } | ||
| export interface RangeTblRef { | ||
| rtindex?: number; | ||
| } | ||
| export interface JoinExpr { | ||
| jointype?: JoinType; | ||
| isNatural?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| usingClause?: Node[]; | ||
| quals?: Node; | ||
| alias?: Alias; | ||
| rtindex?: number; | ||
| } | ||
| export interface FromExpr { | ||
| fromlist?: Node[]; | ||
| quals?: Node; | ||
| } | ||
| export interface OnConflictExpr { | ||
| action?: OnConflictAction; | ||
| arbiterElems?: Node[]; | ||
| arbiterWhere?: Node; | ||
| constraint?: number; | ||
| onConflictSet?: Node[]; | ||
| onConflictWhere?: Node; | ||
| exclRelIndex?: number; | ||
| exclRelTlist?: Node[]; | ||
| } | ||
| export interface IntoClause { | ||
| rel?: RangeVar; | ||
| colNames?: Node[]; | ||
| accessMethod?: string; | ||
| options?: Node[]; | ||
| onCommit?: OnCommitAction; | ||
| tableSpaceName?: string; | ||
| viewQuery?: Node; | ||
| skipData?: boolean; | ||
| } | ||
| export interface RawStmt { | ||
| stmt?: Node; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface Query { | ||
| commandType?: CmdType; | ||
| querySource?: QuerySource; | ||
| canSetTag?: boolean; | ||
| utilityStmt?: Node; | ||
| resultRelation?: number; | ||
| hasAggs?: boolean; | ||
| hasWindowFuncs?: boolean; | ||
| hasTargetSRFs?: boolean; | ||
| hasSubLinks?: boolean; | ||
| hasDistinctOn?: boolean; | ||
| hasRecursive?: boolean; | ||
| hasModifyingCTE?: boolean; | ||
| hasForUpdate?: boolean; | ||
| hasRowSecurity?: boolean; | ||
| cteList?: Node[]; | ||
| rtable?: Node[]; | ||
| jointree?: FromExpr; | ||
| targetList?: Node[]; | ||
| override?: OverridingKind; | ||
| onConflict?: OnConflictExpr; | ||
| returningList?: Node[]; | ||
| groupClause?: Node[]; | ||
| groupingSets?: Node[]; | ||
| havingQual?: Node; | ||
| windowClause?: Node[]; | ||
| distinctClause?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| rowMarks?: Node[]; | ||
| setOperations?: Node; | ||
| constraintDeps?: Node[]; | ||
| withCheckOptions?: Node[]; | ||
| stmt_location?: number; | ||
| stmt_len?: number; | ||
| } | ||
| export interface InsertStmt { | ||
| relation?: RangeVar; | ||
| cols?: Node[]; | ||
| selectStmt?: Node; | ||
| onConflictClause?: OnConflictClause; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| override?: OverridingKind; | ||
| } | ||
| export interface DeleteStmt { | ||
| relation?: RangeVar; | ||
| usingClause?: Node[]; | ||
| whereClause?: Node; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface UpdateStmt { | ||
| relation?: RangeVar; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| fromClause?: Node[]; | ||
| returningList?: Node[]; | ||
| withClause?: WithClause; | ||
| } | ||
| export interface SelectStmt { | ||
| distinctClause?: Node[]; | ||
| intoClause?: IntoClause; | ||
| targetList?: Node[]; | ||
| fromClause?: Node[]; | ||
| whereClause?: Node; | ||
| groupClause?: Node[]; | ||
| havingClause?: Node; | ||
| windowClause?: Node[]; | ||
| valuesLists?: Node[]; | ||
| sortClause?: Node[]; | ||
| limitOffset?: Node; | ||
| limitCount?: Node; | ||
| limitOption?: LimitOption; | ||
| lockingClause?: Node[]; | ||
| withClause?: WithClause; | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: SelectStmt; | ||
| rarg?: SelectStmt; | ||
| } | ||
| export interface AlterTableStmt { | ||
| relation?: RangeVar; | ||
| cmds?: Node[]; | ||
| relkind?: ObjectType; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterTableCmd { | ||
| subtype?: AlterTableType; | ||
| name?: string; | ||
| num?: number; | ||
| newowner?: RoleSpec; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| recurse?: boolean; | ||
| } | ||
| export interface AlterDomainStmt { | ||
| subtype?: string; | ||
| typeName?: Node[]; | ||
| name?: string; | ||
| def?: Node; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface SetOperationStmt { | ||
| op?: SetOperation; | ||
| all?: boolean; | ||
| larg?: Node; | ||
| rarg?: Node; | ||
| colTypes?: Node[]; | ||
| colTypmods?: Node[]; | ||
| colCollations?: Node[]; | ||
| groupClauses?: Node[]; | ||
| } | ||
| export interface GrantStmt { | ||
| is_grant?: boolean; | ||
| targtype?: GrantTargetType; | ||
| objtype?: ObjectType; | ||
| objects?: Node[]; | ||
| privileges?: Node[]; | ||
| grantees?: Node[]; | ||
| grant_option?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface GrantRoleStmt { | ||
| granted_roles?: Node[]; | ||
| grantee_roles?: Node[]; | ||
| is_grant?: boolean; | ||
| admin_opt?: boolean; | ||
| grantor?: RoleSpec; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface AlterDefaultPrivilegesStmt { | ||
| options?: Node[]; | ||
| action?: GrantStmt; | ||
| } | ||
| export interface ClosePortalStmt { | ||
| portalname?: string; | ||
| } | ||
| export interface ClusterStmt { | ||
| relation?: RangeVar; | ||
| indexname?: string; | ||
| options?: number; | ||
| } | ||
| export interface CopyStmt { | ||
| relation?: RangeVar; | ||
| query?: Node; | ||
| attlist?: Node[]; | ||
| is_from?: boolean; | ||
| is_program?: boolean; | ||
| filename?: string; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| } | ||
| export interface CreateStmt { | ||
| relation?: RangeVar; | ||
| tableElts?: Node[]; | ||
| inhRelations?: Node[]; | ||
| partbound?: PartitionBoundSpec; | ||
| partspec?: PartitionSpec; | ||
| ofTypename?: TypeName; | ||
| constraints?: Node[]; | ||
| options?: Node[]; | ||
| oncommit?: OnCommitAction; | ||
| tablespacename?: string; | ||
| accessMethod?: string; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface DefineStmt { | ||
| kind?: ObjectType; | ||
| oldstyle?: boolean; | ||
| defnames?: Node[]; | ||
| args?: Node[]; | ||
| definition?: Node[]; | ||
| if_not_exists?: boolean; | ||
| replace?: boolean; | ||
| } | ||
| export interface DropStmt { | ||
| objects?: Node[]; | ||
| removeType?: ObjectType; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface TruncateStmt { | ||
| relations?: Node[]; | ||
| restart_seqs?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface CommentStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| comment?: string; | ||
| } | ||
| export interface FetchStmt { | ||
| direction?: FetchDirection; | ||
| howMany?: bigint; | ||
| portalname?: string; | ||
| ismove?: boolean; | ||
| } | ||
| export interface IndexStmt { | ||
| idxname?: string; | ||
| relation?: RangeVar; | ||
| accessMethod?: string; | ||
| tableSpace?: string; | ||
| indexParams?: Node[]; | ||
| indexIncludingParams?: Node[]; | ||
| options?: Node[]; | ||
| whereClause?: Node; | ||
| excludeOpNames?: Node[]; | ||
| idxcomment?: string; | ||
| indexOid?: number; | ||
| oldNode?: number; | ||
| oldCreateSubid?: number; | ||
| oldFirstRelfilenodeSubid?: number; | ||
| unique?: boolean; | ||
| primary?: boolean; | ||
| isconstraint?: boolean; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| transformed?: boolean; | ||
| concurrent?: boolean; | ||
| if_not_exists?: boolean; | ||
| reset_default_tblspc?: boolean; | ||
| } | ||
| export interface CreateFunctionStmt { | ||
| is_procedure?: boolean; | ||
| replace?: boolean; | ||
| funcname?: Node[]; | ||
| parameters?: Node[]; | ||
| returnType?: TypeName; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterFunctionStmt { | ||
| objtype?: ObjectType; | ||
| func?: ObjectWithArgs; | ||
| actions?: Node[]; | ||
| } | ||
| export interface DoStmt { | ||
| args?: Node[]; | ||
| } | ||
| export interface RenameStmt { | ||
| renameType?: ObjectType; | ||
| relationType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| subname?: string; | ||
| newname?: string; | ||
| behavior?: DropBehavior; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface RuleStmt { | ||
| relation?: RangeVar; | ||
| rulename?: string; | ||
| whereClause?: Node; | ||
| event?: CmdType; | ||
| instead?: boolean; | ||
| actions?: Node[]; | ||
| replace?: boolean; | ||
| } | ||
| export interface NotifyStmt { | ||
| conditionname?: string; | ||
| payload?: string; | ||
| } | ||
| export interface ListenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface UnlistenStmt { | ||
| conditionname?: string; | ||
| } | ||
| export interface TransactionStmt { | ||
| kind?: TransactionStmtKind; | ||
| options?: Node[]; | ||
| savepoint_name?: string; | ||
| gid?: string; | ||
| chain?: boolean; | ||
| } | ||
| export interface ViewStmt { | ||
| view?: RangeVar; | ||
| aliases?: Node[]; | ||
| query?: Node; | ||
| replace?: boolean; | ||
| options?: Node[]; | ||
| withCheckOption?: ViewCheckOption; | ||
| } | ||
| export interface LoadStmt { | ||
| filename?: string; | ||
| } | ||
| export interface CreateDomainStmt { | ||
| domainname?: Node[]; | ||
| typeName?: TypeName; | ||
| collClause?: CollateClause; | ||
| constraints?: Node[]; | ||
| } | ||
| export interface CreatedbStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropdbStmt { | ||
| dbname?: string; | ||
| missing_ok?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface VacuumStmt { | ||
| options?: Node[]; | ||
| rels?: Node[]; | ||
| is_vacuumcmd?: boolean; | ||
| } | ||
| export interface ExplainStmt { | ||
| query?: Node; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateTableAsStmt { | ||
| query?: Node; | ||
| into?: IntoClause; | ||
| relkind?: ObjectType; | ||
| is_select_into?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface CreateSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| ownerId?: number; | ||
| for_identity?: boolean; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterSeqStmt { | ||
| sequence?: RangeVar; | ||
| options?: Node[]; | ||
| for_identity?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface VariableSetStmt { | ||
| kind?: VariableSetKind; | ||
| name?: string; | ||
| args?: Node[]; | ||
| is_local?: boolean; | ||
| } | ||
| export interface VariableShowStmt { | ||
| name?: string; | ||
| } | ||
| export interface DiscardStmt { | ||
| target?: DiscardMode; | ||
| } | ||
| export interface CreateTrigStmt { | ||
| trigname?: string; | ||
| relation?: RangeVar; | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| row?: boolean; | ||
| timing?: number; | ||
| events?: number; | ||
| columns?: Node[]; | ||
| whenClause?: Node; | ||
| isconstraint?: boolean; | ||
| transitionRels?: Node[]; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| constrrel?: RangeVar; | ||
| } | ||
| export interface CreatePLangStmt { | ||
| replace?: boolean; | ||
| plname?: string; | ||
| plhandler?: Node[]; | ||
| plinline?: Node[]; | ||
| plvalidator?: Node[]; | ||
| pltrusted?: boolean; | ||
| } | ||
| export interface CreateRoleStmt { | ||
| stmt_type?: RoleStmtType; | ||
| role?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterRoleStmt { | ||
| role?: RoleSpec; | ||
| options?: Node[]; | ||
| action?: number; | ||
| } | ||
| export interface DropRoleStmt { | ||
| roles?: Node[]; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface LockStmt { | ||
| relations?: Node[]; | ||
| mode?: number; | ||
| nowait?: boolean; | ||
| } | ||
| export interface ConstraintsSetStmt { | ||
| constraints?: Node[]; | ||
| deferred?: boolean; | ||
| } | ||
| export interface ReindexStmt { | ||
| kind?: ReindexObjectType; | ||
| relation?: RangeVar; | ||
| name?: string; | ||
| options?: number; | ||
| concurrent?: boolean; | ||
| } | ||
| export interface CheckPointStmt { | ||
| } | ||
| export interface CreateSchemaStmt { | ||
| schemaname?: string; | ||
| authrole?: RoleSpec; | ||
| schemaElts?: Node[]; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterDatabaseStmt { | ||
| dbname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterDatabaseSetStmt { | ||
| dbname?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface AlterRoleSetStmt { | ||
| role?: RoleSpec; | ||
| database?: string; | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface CreateConversionStmt { | ||
| conversion_name?: Node[]; | ||
| for_encoding_name?: string; | ||
| to_encoding_name?: string; | ||
| func_name?: Node[]; | ||
| def?: boolean; | ||
| } | ||
| export interface CreateCastStmt { | ||
| sourcetype?: TypeName; | ||
| targettype?: TypeName; | ||
| func?: ObjectWithArgs; | ||
| context?: CoercionContext; | ||
| inout?: boolean; | ||
| } | ||
| export interface CreateOpClassStmt { | ||
| opclassname?: Node[]; | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| datatype?: TypeName; | ||
| items?: Node[]; | ||
| isDefault?: boolean; | ||
| } | ||
| export interface CreateOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| } | ||
| export interface AlterOpFamilyStmt { | ||
| opfamilyname?: Node[]; | ||
| amname?: string; | ||
| isDrop?: boolean; | ||
| items?: Node[]; | ||
| } | ||
| export interface PrepareStmt { | ||
| name?: string; | ||
| argtypes?: Node[]; | ||
| query?: Node; | ||
| } | ||
| export interface ExecuteStmt { | ||
| name?: string; | ||
| params?: Node[]; | ||
| } | ||
| export interface DeallocateStmt { | ||
| name?: string; | ||
| } | ||
| export interface DeclareCursorStmt { | ||
| portalname?: string; | ||
| options?: number; | ||
| query?: Node; | ||
| } | ||
| export interface CreateTableSpaceStmt { | ||
| tablespacename?: string; | ||
| owner?: RoleSpec; | ||
| location?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropTableSpaceStmt { | ||
| tablespacename?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterObjectDependsStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| extname?: Node; | ||
| remove?: boolean; | ||
| } | ||
| export interface AlterObjectSchemaStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newschema?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterOwnerStmt { | ||
| objectType?: ObjectType; | ||
| relation?: RangeVar; | ||
| object?: Node; | ||
| newowner?: RoleSpec; | ||
| } | ||
| export interface AlterOperatorStmt { | ||
| opername?: ObjectWithArgs; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTypeStmt { | ||
| typeName?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropOwnedStmt { | ||
| roles?: Node[]; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface ReassignOwnedStmt { | ||
| roles?: Node[]; | ||
| newrole?: RoleSpec; | ||
| } | ||
| export interface CompositeTypeStmt { | ||
| typevar?: RangeVar; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface CreateEnumStmt { | ||
| typeName?: Node[]; | ||
| vals?: Node[]; | ||
| } | ||
| export interface CreateRangeStmt { | ||
| typeName?: Node[]; | ||
| params?: Node[]; | ||
| } | ||
| export interface AlterEnumStmt { | ||
| typeName?: Node[]; | ||
| oldVal?: string; | ||
| newVal?: string; | ||
| newValNeighbor?: string; | ||
| newValIsAfter?: boolean; | ||
| skipIfNewValExists?: boolean; | ||
| } | ||
| export interface AlterTSDictionaryStmt { | ||
| dictname?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterTSConfigurationStmt { | ||
| kind?: AlterTSConfigType; | ||
| cfgname?: Node[]; | ||
| tokentype?: Node[]; | ||
| dicts?: Node[]; | ||
| override?: boolean; | ||
| replace?: boolean; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface CreateFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterFdwStmt { | ||
| fdwname?: string; | ||
| func_options?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateForeignServerStmt { | ||
| servername?: string; | ||
| servertype?: string; | ||
| version?: string; | ||
| fdwname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterForeignServerStmt { | ||
| servername?: string; | ||
| version?: string; | ||
| options?: Node[]; | ||
| has_version?: boolean; | ||
| } | ||
| export interface CreateUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropUserMappingStmt { | ||
| user?: RoleSpec; | ||
| servername?: string; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface AlterTableSpaceOptionsStmt { | ||
| tablespacename?: string; | ||
| options?: Node[]; | ||
| isReset?: boolean; | ||
| } | ||
| export interface AlterTableMoveAllStmt { | ||
| orig_tablespacename?: string; | ||
| objtype?: ObjectType; | ||
| roles?: Node[]; | ||
| new_tablespacename?: string; | ||
| nowait?: boolean; | ||
| } | ||
| export interface SecLabelStmt { | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| provider?: string; | ||
| label?: string; | ||
| } | ||
| export interface CreateForeignTableStmt { | ||
| base?: CreateStmt; | ||
| servername?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface ImportForeignSchemaStmt { | ||
| server_name?: string; | ||
| remote_schema?: string; | ||
| local_schema?: string; | ||
| list_type?: ImportForeignSchemaType; | ||
| table_list?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface CreateExtensionStmt { | ||
| extname?: string; | ||
| if_not_exists?: boolean; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionStmt { | ||
| extname?: string; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterExtensionContentsStmt { | ||
| extname?: string; | ||
| action?: number; | ||
| objtype?: ObjectType; | ||
| object?: Node; | ||
| } | ||
| export interface CreateEventTrigStmt { | ||
| trigname?: string; | ||
| eventname?: string; | ||
| whenclause?: Node[]; | ||
| funcname?: Node[]; | ||
| } | ||
| export interface AlterEventTrigStmt { | ||
| trigname?: string; | ||
| tgenabled?: string; | ||
| } | ||
| export interface RefreshMatViewStmt { | ||
| concurrent?: boolean; | ||
| skipData?: boolean; | ||
| relation?: RangeVar; | ||
| } | ||
| export interface ReplicaIdentityStmt { | ||
| identity_type?: string; | ||
| name?: string; | ||
| } | ||
| export interface AlterSystemStmt { | ||
| setstmt?: VariableSetStmt; | ||
| } | ||
| export interface CreatePolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| cmd_name?: string; | ||
| permissive?: boolean; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface AlterPolicyStmt { | ||
| policy_name?: string; | ||
| table?: RangeVar; | ||
| roles?: Node[]; | ||
| qual?: Node; | ||
| with_check?: Node; | ||
| } | ||
| export interface CreateTransformStmt { | ||
| replace?: boolean; | ||
| type_name?: TypeName; | ||
| lang?: string; | ||
| fromsql?: ObjectWithArgs; | ||
| tosql?: ObjectWithArgs; | ||
| } | ||
| export interface CreateAmStmt { | ||
| amname?: string; | ||
| handler_name?: Node[]; | ||
| amtype?: string; | ||
| } | ||
| export interface CreatePublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| tables?: Node[]; | ||
| for_all_tables?: boolean; | ||
| } | ||
| export interface AlterPublicationStmt { | ||
| pubname?: string; | ||
| options?: Node[]; | ||
| tables?: Node[]; | ||
| for_all_tables?: boolean; | ||
| tableAction?: DefElemAction; | ||
| } | ||
| export interface CreateSubscriptionStmt { | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface AlterSubscriptionStmt { | ||
| kind?: AlterSubscriptionType; | ||
| subname?: string; | ||
| conninfo?: string; | ||
| publication?: Node[]; | ||
| options?: Node[]; | ||
| } | ||
| export interface DropSubscriptionStmt { | ||
| subname?: string; | ||
| missing_ok?: boolean; | ||
| behavior?: DropBehavior; | ||
| } | ||
| export interface CreateStatsStmt { | ||
| defnames?: Node[]; | ||
| stat_types?: Node[]; | ||
| exprs?: Node[]; | ||
| relations?: Node[]; | ||
| stxcomment?: string; | ||
| if_not_exists?: boolean; | ||
| } | ||
| export interface AlterCollationStmt { | ||
| collname?: Node[]; | ||
| } | ||
| export interface CallStmt { | ||
| funccall?: FuncCall; | ||
| funcexpr?: FuncExpr; | ||
| } | ||
| export interface AlterStatsStmt { | ||
| defnames?: Node[]; | ||
| stxstattarget?: number; | ||
| missing_ok?: boolean; | ||
| } | ||
| export interface A_Expr { | ||
| kind?: A_Expr_Kind; | ||
| name?: Node[]; | ||
| lexpr?: Node; | ||
| rexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface ColumnRef { | ||
| fields?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ParamRef { | ||
| number?: number; | ||
| location?: number; | ||
| } | ||
| export interface A_Const { | ||
| val?: Node; | ||
| location?: number; | ||
| } | ||
| export interface FuncCall { | ||
| funcname?: Node[]; | ||
| args?: Node[]; | ||
| agg_order?: Node[]; | ||
| agg_filter?: Node; | ||
| agg_within_group?: boolean; | ||
| agg_star?: boolean; | ||
| agg_distinct?: boolean; | ||
| func_variadic?: boolean; | ||
| over?: WindowDef; | ||
| location?: number; | ||
| } | ||
| export interface A_Star { | ||
| } | ||
| export interface A_Indices { | ||
| is_slice?: boolean; | ||
| lidx?: Node; | ||
| uidx?: Node; | ||
| } | ||
| export interface A_Indirection { | ||
| arg?: Node; | ||
| indirection?: Node[]; | ||
| } | ||
| export interface A_ArrayExpr { | ||
| elements?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ResTarget { | ||
| name?: string; | ||
| indirection?: Node[]; | ||
| val?: Node; | ||
| location?: number; | ||
| } | ||
| export interface MultiAssignRef { | ||
| source?: Node; | ||
| colno?: number; | ||
| ncolumns?: number; | ||
| } | ||
| export interface TypeCast { | ||
| arg?: Node; | ||
| typeName?: TypeName; | ||
| location?: number; | ||
| } | ||
| export interface CollateClause { | ||
| arg?: Node; | ||
| collname?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface SortBy { | ||
| node?: Node; | ||
| sortby_dir?: SortByDir; | ||
| sortby_nulls?: SortByNulls; | ||
| useOp?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowDef { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeSubselect { | ||
| lateral?: boolean; | ||
| subquery?: Node; | ||
| alias?: Alias; | ||
| } | ||
| export interface RangeFunction { | ||
| lateral?: boolean; | ||
| ordinality?: boolean; | ||
| is_rowsfrom?: boolean; | ||
| functions?: Node[]; | ||
| alias?: Alias; | ||
| coldeflist?: Node[]; | ||
| } | ||
| export interface RangeTableSample { | ||
| relation?: Node; | ||
| method?: Node[]; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableFunc { | ||
| lateral?: boolean; | ||
| docexpr?: Node; | ||
| rowexpr?: Node; | ||
| namespaces?: Node[]; | ||
| columns?: Node[]; | ||
| alias?: Alias; | ||
| location?: number; | ||
| } | ||
| export interface RangeTableFuncCol { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| for_ordinality?: boolean; | ||
| is_not_null?: boolean; | ||
| colexpr?: Node; | ||
| coldefexpr?: Node; | ||
| location?: number; | ||
| } | ||
| export interface TypeName { | ||
| names?: Node[]; | ||
| typeOid?: number; | ||
| setof?: boolean; | ||
| pct_type?: boolean; | ||
| typmods?: Node[]; | ||
| typemod?: number; | ||
| arrayBounds?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface ColumnDef { | ||
| colname?: string; | ||
| typeName?: TypeName; | ||
| inhcount?: number; | ||
| is_local?: boolean; | ||
| is_not_null?: boolean; | ||
| is_from_type?: boolean; | ||
| storage?: string; | ||
| raw_default?: Node; | ||
| cooked_default?: Node; | ||
| identity?: string; | ||
| identitySequence?: RangeVar; | ||
| generated?: string; | ||
| collClause?: CollateClause; | ||
| collOid?: number; | ||
| constraints?: Node[]; | ||
| fdwoptions?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface IndexElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| indexcolname?: string; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| opclassopts?: Node[]; | ||
| ordering?: SortByDir; | ||
| nulls_ordering?: SortByNulls; | ||
| } | ||
| export interface Constraint { | ||
| contype?: ConstrType; | ||
| conname?: string; | ||
| deferrable?: boolean; | ||
| initdeferred?: boolean; | ||
| location?: number; | ||
| is_no_inherit?: boolean; | ||
| raw_expr?: Node; | ||
| cooked_expr?: string; | ||
| generated_when?: string; | ||
| keys?: Node[]; | ||
| including?: Node[]; | ||
| exclusions?: Node[]; | ||
| options?: Node[]; | ||
| indexname?: string; | ||
| indexspace?: string; | ||
| reset_default_tblspc?: boolean; | ||
| access_method?: string; | ||
| where_clause?: Node; | ||
| pktable?: RangeVar; | ||
| fk_attrs?: Node[]; | ||
| pk_attrs?: Node[]; | ||
| fk_matchtype?: string; | ||
| fk_upd_action?: string; | ||
| fk_del_action?: string; | ||
| old_conpfeqop?: Node[]; | ||
| old_pktable_oid?: number; | ||
| skip_validation?: boolean; | ||
| initially_valid?: boolean; | ||
| } | ||
| export interface DefElem { | ||
| defnamespace?: string; | ||
| defname?: string; | ||
| arg?: Node; | ||
| defaction?: DefElemAction; | ||
| location?: number; | ||
| } | ||
| export interface RangeTblEntry { | ||
| rtekind?: RTEKind; | ||
| relid?: number; | ||
| relkind?: string; | ||
| rellockmode?: number; | ||
| tablesample?: TableSampleClause; | ||
| subquery?: Query; | ||
| security_barrier?: boolean; | ||
| jointype?: JoinType; | ||
| joinmergedcols?: number; | ||
| joinaliasvars?: Node[]; | ||
| joinleftcols?: Node[]; | ||
| joinrightcols?: Node[]; | ||
| functions?: Node[]; | ||
| funcordinality?: boolean; | ||
| tablefunc?: TableFunc; | ||
| values_lists?: Node[]; | ||
| ctename?: string; | ||
| ctelevelsup?: number; | ||
| self_reference?: boolean; | ||
| coltypes?: Node[]; | ||
| coltypmods?: Node[]; | ||
| colcollations?: Node[]; | ||
| enrname?: string; | ||
| enrtuples?: number; | ||
| alias?: Alias; | ||
| eref?: Alias; | ||
| lateral?: boolean; | ||
| inh?: boolean; | ||
| inFromCl?: boolean; | ||
| requiredPerms?: number; | ||
| checkAsUser?: number; | ||
| selectedCols?: bigint[]; | ||
| insertedCols?: bigint[]; | ||
| updatedCols?: bigint[]; | ||
| extraUpdatedCols?: bigint[]; | ||
| securityQuals?: Node[]; | ||
| } | ||
| export interface RangeTblFunction { | ||
| funcexpr?: Node; | ||
| funccolcount?: number; | ||
| funccolnames?: Node[]; | ||
| funccoltypes?: Node[]; | ||
| funccoltypmods?: Node[]; | ||
| funccolcollations?: Node[]; | ||
| funcparams?: bigint[]; | ||
| } | ||
| export interface TableSampleClause { | ||
| tsmhandler?: number; | ||
| args?: Node[]; | ||
| repeatable?: Node; | ||
| } | ||
| export interface WithCheckOption { | ||
| kind?: WCOKind; | ||
| relname?: string; | ||
| polname?: string; | ||
| qual?: Node; | ||
| cascaded?: boolean; | ||
| } | ||
| export interface SortGroupClause { | ||
| tleSortGroupRef?: number; | ||
| eqop?: number; | ||
| sortop?: number; | ||
| nulls_first?: boolean; | ||
| hashable?: boolean; | ||
| } | ||
| export interface GroupingSet { | ||
| kind?: GroupingSetKind; | ||
| content?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface WindowClause { | ||
| name?: string; | ||
| refname?: string; | ||
| partitionClause?: Node[]; | ||
| orderClause?: Node[]; | ||
| frameOptions?: number; | ||
| startOffset?: Node; | ||
| endOffset?: Node; | ||
| startInRangeFunc?: number; | ||
| endInRangeFunc?: number; | ||
| inRangeColl?: number; | ||
| inRangeAsc?: boolean; | ||
| inRangeNullsFirst?: boolean; | ||
| winref?: number; | ||
| copiedOrder?: boolean; | ||
| } | ||
| export interface ObjectWithArgs { | ||
| objname?: Node[]; | ||
| objargs?: Node[]; | ||
| args_unspecified?: boolean; | ||
| } | ||
| export interface AccessPriv { | ||
| priv_name?: string; | ||
| cols?: Node[]; | ||
| } | ||
| export interface CreateOpClassItem { | ||
| itemtype?: number; | ||
| name?: ObjectWithArgs; | ||
| number?: number; | ||
| order_family?: Node[]; | ||
| class_args?: Node[]; | ||
| storedtype?: TypeName; | ||
| } | ||
| export interface TableLikeClause { | ||
| relation?: RangeVar; | ||
| options?: number; | ||
| relationOid?: number; | ||
| } | ||
| export interface FunctionParameter { | ||
| name?: string; | ||
| argType?: TypeName; | ||
| mode?: FunctionParameterMode; | ||
| defexpr?: Node; | ||
| } | ||
| export interface LockingClause { | ||
| lockedRels?: Node[]; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| } | ||
| export interface RowMarkClause { | ||
| rti?: number; | ||
| strength?: LockClauseStrength; | ||
| waitPolicy?: LockWaitPolicy; | ||
| pushedDown?: boolean; | ||
| } | ||
| export interface XmlSerialize { | ||
| xmloption?: XmlOptionType; | ||
| expr?: Node; | ||
| typeName?: TypeName; | ||
| location?: number; | ||
| } | ||
| export interface WithClause { | ||
| ctes?: Node[]; | ||
| recursive?: boolean; | ||
| location?: number; | ||
| } | ||
| export interface InferClause { | ||
| indexElems?: Node[]; | ||
| whereClause?: Node; | ||
| conname?: string; | ||
| location?: number; | ||
| } | ||
| export interface OnConflictClause { | ||
| action?: OnConflictAction; | ||
| infer?: InferClause; | ||
| targetList?: Node[]; | ||
| whereClause?: Node; | ||
| location?: number; | ||
| } | ||
| export interface CommonTableExpr { | ||
| ctename?: string; | ||
| aliascolnames?: Node[]; | ||
| ctematerialized?: CTEMaterialize; | ||
| ctequery?: Node; | ||
| location?: number; | ||
| cterecursive?: boolean; | ||
| cterefcount?: number; | ||
| ctecolnames?: Node[]; | ||
| ctecoltypes?: Node[]; | ||
| ctecoltypmods?: Node[]; | ||
| ctecolcollations?: Node[]; | ||
| } | ||
| export interface RoleSpec { | ||
| roletype?: RoleSpecType; | ||
| rolename?: string; | ||
| location?: number; | ||
| } | ||
| export interface TriggerTransition { | ||
| name?: string; | ||
| isNew?: boolean; | ||
| isTable?: boolean; | ||
| } | ||
| export interface PartitionElem { | ||
| name?: string; | ||
| expr?: Node; | ||
| collation?: Node[]; | ||
| opclass?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionSpec { | ||
| strategy?: string; | ||
| partParams?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionBoundSpec { | ||
| strategy?: string; | ||
| is_default?: boolean; | ||
| modulus?: number; | ||
| remainder?: number; | ||
| listdatums?: Node[]; | ||
| lowerdatums?: Node[]; | ||
| upperdatums?: Node[]; | ||
| location?: number; | ||
| } | ||
| export interface PartitionRangeDatum { | ||
| kind?: PartitionRangeDatumKind; | ||
| value?: Node; | ||
| location?: number; | ||
| } | ||
| export interface PartitionCmd { | ||
| name?: RangeVar; | ||
| bound?: PartitionBoundSpec; | ||
| } | ||
| export interface VacuumRelation { | ||
| relation?: RangeVar; | ||
| oid?: number; | ||
| va_cols?: Node[]; | ||
| } | ||
| export interface InlineCodeBlock { | ||
| source_text?: string; | ||
| langOid?: number; | ||
| langIsTrusted?: boolean; | ||
| atomic?: boolean; | ||
| } | ||
| export interface CallContext { | ||
| atomic?: boolean; | ||
| } | ||
| export interface ScanToken { | ||
| start?: number; | ||
| end?: number; | ||
| token?: Token; | ||
| keywordKind?: KeywordKind; | ||
| } |
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
1
-91.67%82633
-81.61%12
-40%2629
-84.62%