Syntax diagrams for PostgreSQL
Created August 30, 2017, from gram.y,
using Grammar Conversion and Railroad Diagram Generator.
stmtblock:
no referencesstmt:
referenced by:
stmtblock
CreateRoleStmt:
referenced by:
stmt
opt_with:
referenced by:
AlterRoleStmt
CopyStmt
CreateExtensionStmt
CreateGroupStmt
CreateRoleStmt
CreateUserStmt
CreatedbStmt
SeqOptElem
alter_identity_column_option
OptRoleList:
referenced by:
CreateGroupStmt
CreateRoleStmt
CreateUserStmt
AlterOptRoleList:
referenced by:
AlterRoleStmt
AlterOptRoleElem:
referenced by:
AlterOptRoleList
CreateOptRoleElem
CreateOptRoleElem:
referenced by:
OptRoleList
CreateUserStmt:
referenced by:
stmt
AlterRoleStmt:
referenced by:
stmt
opt_in_database:
referenced by:
AlterRoleSetStmt
AlterRoleSetStmt:
referenced by:
stmt
DropRoleStmt:
referenced by:
stmt
CreateGroupStmt:
referenced by:
stmt
AlterGroupStmt:
referenced by:
stmt
add_drop:
referenced by:
AlterExtensionContentsStmt
AlterGroupStmt
CreateSchemaStmt:
referenced by:
stmt
OptSchemaName:
referenced by:
CreateSchemaStmt
OptSchemaEltList:
referenced by:
CreateSchemaStmt
schema_stmt:
referenced by:
OptSchemaEltList
VariableSetStmt:
referenced by:
stmt
set_rest:
referenced by:
SetResetClause
VariableSetStmt
generic_set:
referenced by:
AlterSystemStmt
set_rest_more
set_rest_more:
referenced by:
FunctionSetResetClause
set_rest
var_name:
referenced by:
VariableShowStmt
generic_reset
generic_set
set_rest_more
var_list:
referenced by:
generic_set
var_value:
referenced by:
var_list
iso_level:
referenced by:
transaction_mode_item
opt_boolean_or_string:
referenced by:
copy_generic_opt_arg
copy_generic_opt_arg_list_item
createdb_opt_item
explain_option_arg
var_value
zone_value:
referenced by:
set_rest_more
opt_encoding:
referenced by:
set_rest_more
NonReservedWord_or_Sconst:
referenced by:
CreatePLangStmt
DropPLangStmt
alter_extension_opt_item
create_extension_opt_item
createfunc_opt_item
dostmt_opt_item
opt_boolean_or_string
opt_provider
set_rest_more
VariableResetStmt:
referenced by:
FunctionSetResetClause
SetResetClause
stmt
reset_rest:
referenced by:
VariableResetStmt
generic_reset:
referenced by:
AlterSystemStmt
reset_rest
SetResetClause:
referenced by:
AlterDatabaseSetStmt
AlterRoleSetStmt
FunctionSetResetClause:
referenced by:
common_func_opt_item
VariableShowStmt:
referenced by:
stmt
ConstraintsSetStmt:
referenced by:
stmt
constraints_set_list:
referenced by:
ConstraintsSetStmt
constraints_set_mode:
referenced by:
ConstraintsSetStmt
CheckPointStmt:
referenced by:
stmt
DiscardStmt:
referenced by:
stmt
AlterTableStmt:
referenced by:
stmt
alter_table_cmds:
referenced by:
AlterForeignTableStmt
AlterTableStmt
partition_cmd:
referenced by:
AlterTableStmt
alter_table_cmd:
referenced by:
alter_table_cmds
alter_column_default:
referenced by:
AlterDomainStmt
alter_table_cmd
opt_drop_behavior:
referenced by:
AlterDomainStmt
DefACLAction
DropAssertStmt
DropCastStmt
DropOpClassStmt
DropOpFamilyStmt
DropOwnedStmt
DropPLangStmt
DropStmt
DropSubscriptionStmt
DropTransformStmt
RemoveAggrStmt
RemoveFuncStmt
RemoveOperStmt
RenameStmt
RevokeRoleStmt
RevokeStmt
TruncateStmt
alter_table_cmd
alter_type_cmd
opt_collate_clause:
referenced by:
TableFuncElement
alter_table_cmd
alter_type_cmd
alter_using:
referenced by:
alter_table_cmd
replica_identity:
referenced by:
alter_table_cmd
reloptions:
referenced by:
AlterTblSpcStmt
OptWith
alter_table_cmd
opt_reloptions
opt_reloptions:
referenced by:
CreateTableSpaceStmt
IndexStmt
ViewStmt
create_mv_target
reloption_elem:
referenced by:
reloptions
alter_identity_column_option:
referenced by:
alter_table_cmd
ForValues:
referenced by:
CreateForeignTableStmt
CreateStmt
partition_cmd
partbound_datum:
referenced by:
ForValues
PartitionRangeDatum
range_datum_list:
referenced by:
ForValues
PartitionRangeDatum:
referenced by:
range_datum_list
AlterCompositeTypeStmt:
referenced by:
stmt
alter_type_cmd:
referenced by:
AlterCompositeTypeStmt
ClosePortalStmt:
referenced by:
stmt
CopyStmt:
referenced by:
stmt
copy_from:
referenced by:
CopyStmt
opt_program:
referenced by:
CopyStmt
copy_file_name:
referenced by:
CopyStmt
copy_options:
referenced by:
CopyStmt
copy_opt_item:
referenced by:
copy_options
opt_binary:
referenced by:
CopyStmt
opt_oids:
referenced by:
CopyStmt
copy_delimiter:
referenced by:
CopyStmt
opt_using:
referenced by:
copy_delimiter
copy_generic_opt_elem:
referenced by:
copy_options
copy_generic_opt_arg:
referenced by:
copy_generic_opt_elem
copy_generic_opt_arg_list_item:
referenced by:
copy_generic_opt_arg
CreateStmt:
referenced by:
schema_stmt
stmt
OptTemp:
referenced by:
CreateAsStmt
CreateSeqStmt
CreateStmt
ExecuteStmt
ViewStmt
OptTableElementList:
referenced by:
CreateForeignTableStmt
CreateStmt
OptTypedTableElementList:
referenced by:
CreateForeignTableStmt
CreateStmt
TableElement:
referenced by:
OptTableElementList
TypedTableElement:
referenced by:
OptTypedTableElementList
columnDef:
referenced by:
TableElement
alter_table_cmd
columnOptions:
referenced by:
TypedTableElement
ColQualList:
referenced by:
CreateDomainStmt
columnDef
columnOptions
ColConstraint:
referenced by:
ColQualList
ColConstraintElem:
referenced by:
ColConstraint
generated_when:
referenced by:
ColConstraintElem
alter_identity_column_option
alter_table_cmd
ConstraintAttr:
referenced by:
ColConstraint
TableLikeClause:
referenced by:
TableElement
TableLikeOption:
referenced by:
TableLikeClause
TableConstraint:
referenced by:
AlterDomainStmt
TableElement
TypedTableElement
alter_table_cmd
ConstraintElem:
referenced by:
TableConstraint
opt_no_inherit:
referenced by:
ColConstraintElem
opt_column_list:
referenced by:
ColConstraintElem
ConstraintElem
CopyStmt
ViewStmt
create_as_target
create_mv_target
privilege
columnList:
referenced by:
ConstraintElem
TriggerOneEvent
ViewStmt
copy_opt_item
opt_column_list
privileges
columnElem:
referenced by:
columnList
key_match:
referenced by:
ColConstraintElem
ConstraintElem
ExclusionConstraintElem:
referenced by:
ConstraintElem
ExclusionWhereClause:
referenced by:
ConstraintElem
key_actions:
referenced by:
ColConstraintElem
ConstraintElem
key_update:
referenced by:
key_actions
key_delete:
referenced by:
key_actions
key_action:
referenced by:
key_delete
key_update
OptInherit:
referenced by:
CreateForeignTableStmt
CreateStmt
OptPartitionSpec:
referenced by:
CreateStmt
PartitionSpec:
referenced by:
OptPartitionSpec
part_strategy:
referenced by:
PartitionSpec
part_elem:
referenced by:
PartitionSpec
OptWith:
referenced by:
CreateStmt
create_as_target
OnCommitOption:
referenced by:
CreateStmt
create_as_target
OptTableSpace:
referenced by:
CreateStmt
IndexStmt
create_as_target
create_mv_target
OptConsTableSpace:
referenced by:
ColConstraintElem
ConstraintElem
ExistingIndex:
referenced by:
ConstraintElem
CreateStatsStmt:
referenced by:
stmt
CreateAsStmt:
referenced by:
ExplainableStmt
stmt
create_as_target:
referenced by:
CreateAsStmt
ExecuteStmt
opt_with_data:
referenced by:
CreateAsStmt
CreateMatViewStmt
ExecuteStmt
RefreshMatViewStmt
CreateMatViewStmt:
referenced by:
ExplainableStmt
stmt
create_mv_target:
referenced by:
CreateMatViewStmt
OptNoLog:
referenced by:
CreateMatViewStmt
RefreshMatViewStmt:
referenced by:
ExplainableStmt
stmt
CreateSeqStmt:
referenced by:
schema_stmt
stmt
AlterSeqStmt:
referenced by:
stmt
OptSeqOptList:
referenced by:
CreateSeqStmt
OptParenthesizedSeqOptList:
referenced by:
ColConstraintElem
alter_table_cmd
SeqOptList:
referenced by:
AlterSeqStmt
OptParenthesizedSeqOptList
OptSeqOptList
SeqOptElem:
referenced by:
SeqOptList
alter_identity_column_option
opt_by:
referenced by:
SeqOptElem
NumericOnly:
referenced by:
AlterOwnerStmt
CommentStmt
SecLabelStmt
SeqOptElem
alter_identity_column_option
common_func_opt_item
copy_generic_opt_arg
def_arg
explain_option_arg
operator_def_arg
partbound_datum
privilege_target
var_value
zone_value
CreatePLangStmt:
referenced by:
stmt
opt_trusted:
referenced by:
CreatePLangStmt
handler_name:
referenced by:
CreateAmStmt
CreatePLangStmt
fdw_option
opt_inline_handler
validator_clause
opt_inline_handler:
referenced by:
CreatePLangStmt
validator_clause:
referenced by:
opt_validator
opt_validator:
referenced by:
CreatePLangStmt
DropPLangStmt:
referenced by:
stmt
opt_procedural:
referenced by:
AlterExtensionContentsStmt
AlterOwnerStmt
CreatePLangStmt
DropPLangStmt
RenameStmt
comment_type_name
security_label_type_name
CreateTableSpaceStmt:
referenced by:
stmt
OptTableSpaceOwner:
referenced by:
CreateTableSpaceStmt
DropTableSpaceStmt:
referenced by:
stmt
CreateExtensionStmt:
referenced by:
stmt
create_extension_opt_list:
referenced by:
CreateExtensionStmt
create_extension_opt_item:
referenced by:
create_extension_opt_list
AlterExtensionStmt:
referenced by:
stmt
alter_extension_opt_item:
referenced by:
AlterExtensionStmt
AlterExtensionContentsStmt:
referenced by:
stmt
CreateFdwStmt:
referenced by:
stmt
fdw_option:
referenced by:
fdw_options
fdw_options:
referenced by:
AlterFdwStmt
opt_fdw_options
opt_fdw_options:
referenced by:
AlterFdwStmt
CreateFdwStmt
AlterFdwStmt:
referenced by:
stmt
create_generic_options:
referenced by:
CreateFdwStmt
CreateForeignServerStmt
CreateForeignTableStmt
CreateUserMappingStmt
ImportForeignSchemaStmt
columnDef
alter_generic_options:
referenced by:
AlterFdwStmt
AlterForeignServerStmt
AlterUserMappingStmt
alter_table_cmd
alter_generic_option_elem:
referenced by:
alter_generic_options
generic_option_elem:
referenced by:
alter_generic_option_elem
create_generic_options
generic_option_name:
referenced by:
alter_generic_option_elem
generic_option_elem
generic_option_arg:
referenced by:
generic_option_elem
CreateForeignServerStmt:
referenced by:
stmt
opt_type:
referenced by:
CreateForeignServerStmt
foreign_server_version:
referenced by:
AlterForeignServerStmt
opt_foreign_server_version
opt_foreign_server_version:
referenced by:
CreateForeignServerStmt
AlterForeignServerStmt:
referenced by:
stmt
CreateForeignTableStmt:
referenced by:
stmt
AlterForeignTableStmt:
referenced by:
stmt
ImportForeignSchemaStmt:
referenced by:
stmt
import_qualification_type:
referenced by:
import_qualification
import_qualification:
referenced by:
ImportForeignSchemaStmt
CreateUserMappingStmt:
referenced by:
stmt
auth_ident:
referenced by:
AlterUserMappingStmt
CreateUserMappingStmt
DropUserMappingStmt
DropUserMappingStmt:
referenced by:
stmt
AlterUserMappingStmt:
referenced by:
stmt
CreatePolicyStmt:
referenced by:
stmt
AlterPolicyStmt:
referenced by:
stmt
RowSecurityOptionalExpr:
referenced by:
AlterPolicyStmt
CreatePolicyStmt
RowSecurityOptionalWithCheck:
referenced by:
AlterPolicyStmt
CreatePolicyStmt
RowSecurityDefaultToRole:
referenced by:
CreatePolicyStmt
RowSecurityOptionalToRole:
referenced by:
AlterPolicyStmt
RowSecurityDefaultPermissive:
referenced by:
CreatePolicyStmt
RowSecurityDefaultForCmd:
referenced by:
CreatePolicyStmt
row_security_cmd:
referenced by:
RowSecurityDefaultForCmd
CreateAmStmt:
referenced by:
stmt
CreateTrigStmt:
referenced by:
schema_stmt
stmt
TriggerActionTime:
referenced by:
CreateTrigStmt
TriggerEvents:
referenced by:
CreateTrigStmt
TriggerOneEvent:
referenced by:
TriggerEvents
TriggerReferencing:
referenced by:
CreateTrigStmt
TriggerTransition:
referenced by:
TriggerReferencing
TransitionOldOrNew:
referenced by:
TriggerTransition
TransitionRowOrTable:
referenced by:
TriggerTransition
TransitionRelName:
referenced by:
TriggerTransition
TriggerForSpec:
referenced by:
CreateTrigStmt
TriggerForOptEach:
referenced by:
TriggerForSpec
TriggerForType:
referenced by:
TriggerForSpec
TriggerWhen:
referenced by:
CreateTrigStmt
TriggerFuncArgs:
referenced by:
CreateTrigStmt
TriggerFuncArg:
referenced by:
TriggerFuncArgs
OptConstrFromTable:
referenced by:
CreateTrigStmt
ConstraintAttributeSpec:
referenced by:
ConstraintElem
CreateAssertStmt
CreateTrigStmt
alter_table_cmd
ConstraintAttributeElem:
referenced by:
ConstraintAttributeSpec
CreateEventTrigStmt:
referenced by:
stmt
event_trigger_when_item:
referenced by:
CreateEventTrigStmt
AlterEventTrigStmt:
referenced by:
stmt
enable_trigger:
referenced by:
AlterEventTrigStmt
CreateAssertStmt:
referenced by:
stmt
DropAssertStmt:
referenced by:
stmt
DefineStmt:
referenced by:
stmt
definition:
referenced by:
AlterPublicationStmt
AlterSubscriptionStmt
AlterTSDictionaryStmt
DefineStmt
opt_definition
def_elem:
referenced by:
definition
def_arg:
referenced by:
def_elem
old_aggr_elem
reloption_elem
old_aggr_definition:
referenced by:
DefineStmt
old_aggr_elem:
referenced by:
old_aggr_definition
opt_enum_val_list:
referenced by:
DefineStmt
AlterEnumStmt:
referenced by:
stmt
opt_if_not_exists:
referenced by:
AlterEnumStmt
CreateOpClassStmt:
referenced by:
stmt
opclass_item_list:
referenced by:
AlterOpFamilyStmt
CreateOpClassStmt
opclass_item:
referenced by:
opclass_item_list
opt_default:
referenced by:
CreateConversionStmt
CreateOpClassStmt
opt_opfamily:
referenced by:
CreateOpClassStmt
opclass_purpose:
referenced by:
opclass_item
opt_recheck:
referenced by:
opclass_item
CreateOpFamilyStmt:
referenced by:
stmt
AlterOpFamilyStmt:
referenced by:
stmt
opclass_drop:
referenced by:
AlterOpFamilyStmt
DropOpClassStmt:
referenced by:
stmt
DropOpFamilyStmt:
referenced by:
stmt
DropOwnedStmt:
referenced by:
stmt
ReassignOwnedStmt:
referenced by:
stmt
DropStmt:
referenced by:
stmt
drop_type_any_name:
referenced by:
DropStmt
drop_type_name:
referenced by:
DropStmt
drop_type_name_on_any_name:
referenced by:
DropStmt
any_name_list:
referenced by:
AlterTSConfigurationStmt
DropStmt
privilege_target
any_name:
referenced by:
AlterCollationStmt
AlterCompositeTypeStmt
AlterDomainStmt
AlterEnumStmt
AlterExtensionContentsStmt
AlterObjectSchemaStmt
AlterOpFamilyStmt
AlterOwnerStmt
AlterTSConfigurationStmt
AlterTSDictionaryStmt
ColConstraint
CommentStmt
CreateConversionStmt
CreateDomainStmt
CreateOpClassStmt
CreateOpFamilyStmt
CreateStatsStmt
CreateStmt
DefineStmt
DropOpClassStmt
DropOpFamilyStmt
DropStmt
RenameStmt
SecLabelStmt
SeqOptElem
a_expr
alter_table_cmd
any_name_list
opclass_purpose
opt_class
opt_collate
opt_collate_clause
opt_opfamily
attrs:
referenced by:
GenericType
any_name
func_type
handler_name
type_name_list:
referenced by:
DropStmt
TruncateStmt:
referenced by:
stmt
opt_restart_seqs:
referenced by:
TruncateStmt
CommentStmt:
referenced by:
stmt
comment_type_any_name:
referenced by:
CommentStmt
comment_type_name:
referenced by:
CommentStmt
comment_text:
referenced by:
CommentStmt
SecLabelStmt:
referenced by:
stmt
opt_provider:
referenced by:
SecLabelStmt
security_label_type_any_name:
referenced by:
SecLabelStmt
security_label_type_name:
referenced by:
SecLabelStmt
security_label:
referenced by:
SecLabelStmt
FetchStmt:
referenced by:
stmt
fetch_args:
referenced by:
FetchStmt
from_in:
referenced by:
fetch_args
opt_from_in
opt_from_in:
referenced by:
fetch_args
GrantStmt:
referenced by:
schema_stmt
stmt
RevokeStmt:
referenced by:
stmt
privileges:
referenced by:
DefACLAction
GrantStmt
RevokeStmt
privilege_list:
referenced by:
GrantRoleStmt
RevokeRoleStmt
privileges
privilege:
referenced by:
privilege_list
privilege_target:
referenced by:
GrantStmt
RevokeStmt
grantee_list:
referenced by:
DefACLAction
GrantStmt
RevokeStmt
grantee:
referenced by:
grantee_list
opt_grant_grant_option:
referenced by:
DefACLAction
GrantStmt
GrantRoleStmt:
referenced by:
stmt
RevokeRoleStmt:
referenced by:
stmt
opt_grant_admin_option:
referenced by:
GrantRoleStmt
opt_granted_by:
referenced by:
GrantRoleStmt
RevokeRoleStmt
AlterDefaultPrivilegesStmt:
referenced by:
stmt
DefACLOption:
referenced by:
AlterDefaultPrivilegesStmt
DefACLAction:
referenced by:
AlterDefaultPrivilegesStmt
defacl_privilege_target:
referenced by:
DefACLAction
IndexStmt:
referenced by:
schema_stmt
stmt
opt_unique:
referenced by:
IndexStmt
opt_concurrently:
referenced by:
IndexStmt
RefreshMatViewStmt
opt_index_name:
referenced by:
IndexStmt
access_method_clause:
referenced by:
ConstraintElem
IndexStmt
index_params:
referenced by:
IndexStmt
opt_conf_expr
index_elem:
referenced by:
ExclusionConstraintElem
index_params
opt_collate:
referenced by:
index_elem
part_elem
opt_class:
referenced by:
index_elem
part_elem
opt_asc_desc:
referenced by:
index_elem
sortby
opt_nulls_order:
referenced by:
index_elem
sortby
CreateFunctionStmt:
referenced by:
stmt
opt_or_replace:
referenced by:
CreateFunctionStmt
CreatePLangStmt
CreateTransformStmt
RuleStmt
func_args:
referenced by:
function_with_argtypes
function_with_argtypes_list:
referenced by:
RemoveFuncStmt
privilege_target
function_with_argtypes:
referenced by:
AlterExtensionContentsStmt
AlterFunctionStmt
AlterObjectDependsStmt
AlterObjectSchemaStmt
AlterOwnerStmt
CommentStmt
CreateCastStmt
RenameStmt
SecLabelStmt
function_with_argtypes_list
opclass_item
transform_element_list
func_args_with_defaults:
referenced by:
CreateFunctionStmt
func_arg:
referenced by:
aggr_arg
func_arg_with_default
func_args
arg_class:
referenced by:
func_arg
param_name:
referenced by:
func_arg
func_arg_expr
table_func_column
func_return:
referenced by:
CreateFunctionStmt
func_type:
referenced by:
def_arg
func_arg
func_return
operator_def_arg
table_func_column
func_arg_with_default:
referenced by:
func_args_with_defaults
aggr_arg:
referenced by:
aggr_args_list
aggr_args:
referenced by:
DefineStmt
aggregate_with_argtypes
aggr_args_list:
referenced by:
aggr_args
aggregate_with_argtypes:
referenced by:
AlterExtensionContentsStmt
AlterObjectSchemaStmt
AlterOwnerStmt
CommentStmt
RenameStmt
SecLabelStmt
aggregate_with_argtypes_list
aggregate_with_argtypes_list:
referenced by:
RemoveAggrStmt
createfunc_opt_list:
referenced by:
CreateFunctionStmt
common_func_opt_item:
referenced by:
AlterFunctionStmt
createfunc_opt_item
createfunc_opt_item:
referenced by:
createfunc_opt_list
func_as:
referenced by:
createfunc_opt_item
opt_definition:
referenced by:
AlterSubscriptionStmt
ColConstraintElem
ConstraintElem
CreateFunctionStmt
CreatePublicationStmt
CreateSubscriptionStmt
table_func_column:
referenced by:
CreateFunctionStmt
AlterFunctionStmt:
referenced by:
stmt
opt_restrict:
referenced by:
AlterFunctionStmt
RemoveFuncStmt:
referenced by:
stmt
RemoveAggrStmt:
referenced by:
stmt
RemoveOperStmt:
referenced by:
stmt
oper_argtypes:
referenced by:
operator_with_argtypes
any_operator:
referenced by:
DefineStmt
ExclusionConstraintElem
opclass_item
operator_with_argtypes
qual_Op
qual_all_Op
subquery_Op
operator_with_argtypes_list:
referenced by:
RemoveOperStmt
operator_with_argtypes:
referenced by:
AlterExtensionContentsStmt
AlterObjectSchemaStmt
AlterOperatorStmt
AlterOwnerStmt
CommentStmt
opclass_item
operator_with_argtypes_list
DoStmt:
referenced by:
stmt
dostmt_opt_item:
referenced by:
DoStmt
CreateCastStmt:
referenced by:
stmt
cast_context:
referenced by:
CreateCastStmt
DropCastStmt:
referenced by:
stmt
opt_if_exists:
referenced by:
DropCastStmt
DropTransformStmt
CreateTransformStmt:
referenced by:
stmt
transform_element_list:
referenced by:
CreateTransformStmt
DropTransformStmt:
referenced by:
stmt
ReindexStmt:
referenced by:
stmt
reindex_target_type:
referenced by:
ReindexStmt
reindex_target_multitable:
referenced by:
ReindexStmt
reindex_option_list:
referenced by:
ReindexStmt
reindex_option_elem:
referenced by:
reindex_option_list
AlterTblSpcStmt:
referenced by:
stmt
RenameStmt:
referenced by:
stmt
opt_column:
referenced by:
RenameStmt
alter_table_cmd
opt_set_data:
referenced by:
alter_table_cmd
alter_type_cmd
AlterObjectDependsStmt:
referenced by:
stmt
AlterObjectSchemaStmt:
referenced by:
stmt
AlterOperatorStmt:
referenced by:
stmt
operator_def_elem:
referenced by:
AlterOperatorStmt
operator_def_arg:
referenced by:
operator_def_elem
AlterOwnerStmt:
referenced by:
stmt
CreatePublicationStmt:
referenced by:
stmt
opt_publication_for_tables:
referenced by:
CreatePublicationStmt
publication_for_tables:
referenced by:
opt_publication_for_tables
AlterPublicationStmt:
referenced by:
stmt
CreateSubscriptionStmt:
referenced by:
stmt
publication_name_list:
referenced by:
AlterSubscriptionStmt
CreateSubscriptionStmt
publication_name_item:
referenced by:
publication_name_list
AlterSubscriptionStmt:
referenced by:
stmt
DropSubscriptionStmt:
referenced by:
stmt
RuleStmt:
referenced by:
stmt
RuleActionList:
referenced by:
RuleStmt
RuleActionStmt:
referenced by:
RuleActionList
RuleActionStmtOrEmpty
RuleActionStmtOrEmpty:
referenced by:
RuleActionList
event:
referenced by:
RuleStmt
opt_instead:
referenced by:
RuleStmt
NotifyStmt:
referenced by:
RuleActionStmt
stmt
notify_payload:
referenced by:
NotifyStmt
ListenStmt:
referenced by:
stmt
UnlistenStmt:
referenced by:
stmt
TransactionStmt:
referenced by:
stmt
opt_transaction:
referenced by:
TransactionStmt
transaction_mode_item:
referenced by:
transaction_mode_list
transaction_mode_list:
referenced by:
set_rest
transaction_mode_list_or_empty
transaction_mode_list_or_empty:
referenced by:
TransactionStmt
ViewStmt:
referenced by:
schema_stmt
stmt
opt_check_option:
referenced by:
ViewStmt
LoadStmt:
referenced by:
stmt
CreatedbStmt:
referenced by:
stmt
createdb_opt_list:
referenced by:
AlterDatabaseStmt
CreatedbStmt
createdb_opt_item:
referenced by:
createdb_opt_list
createdb_opt_name:
referenced by:
createdb_opt_item
opt_equal:
referenced by:
createdb_opt_item
AlterDatabaseStmt:
referenced by:
stmt
AlterDatabaseSetStmt:
referenced by:
stmt
DropdbStmt:
referenced by:
stmt
AlterCollationStmt:
referenced by:
stmt
AlterSystemStmt:
referenced by:
stmt
CreateDomainStmt:
referenced by:
stmt
AlterDomainStmt:
referenced by:
stmt
opt_as:
referenced by:
CreateDomainStmt
TriggerTransition
copy_opt_item
AlterTSDictionaryStmt:
referenced by:
stmt
AlterTSConfigurationStmt:
referenced by:
stmt
any_with:
referenced by:
AlterTSConfigurationStmt
CreateConversionStmt:
referenced by:
stmt
ClusterStmt:
referenced by:
stmt
cluster_index_specification:
referenced by:
ClusterStmt
VacuumStmt:
referenced by:
stmt
vacuum_option_list:
referenced by:
VacuumStmt
vacuum_option_elem:
referenced by:
vacuum_option_list
AnalyzeStmt:
referenced by:
VacuumStmt
stmt
analyze_keyword:
referenced by:
AnalyzeStmt
ExplainStmt
explain_option_name
vacuum_option_elem
opt_verbose:
referenced by:
AnalyzeStmt
ClusterStmt
ExplainStmt
VacuumStmt
opt_full:
referenced by:
VacuumStmt
opt_freeze:
referenced by:
VacuumStmt
opt_name_list:
referenced by:
AnalyzeStmt
CreateStatsStmt
VacuumStmt
common_table_expr
ExplainStmt:
referenced by:
stmt
ExplainableStmt:
referenced by:
ExplainStmt
explain_option_elem:
referenced by:
ExplainStmt
explain_option_name:
referenced by:
explain_option_elem
explain_option_arg:
referenced by:
explain_option_elem
PrepareStmt:
referenced by:
stmt
prep_type_clause:
referenced by:
PrepareStmt
PreparableStmt:
referenced by:
CopyStmt
PrepareStmt
common_table_expr
ExecuteStmt:
referenced by:
ExplainableStmt
stmt
execute_param_clause:
referenced by:
ExecuteStmt
DeallocateStmt:
referenced by:
stmt
InsertStmt:
referenced by:
ExplainableStmt
PreparableStmt
RuleActionStmt
stmt
insert_target:
referenced by:
InsertStmt
insert_rest:
referenced by:
InsertStmt
override_kind:
referenced by:
insert_rest
insert_column_list:
referenced by:
insert_rest
insert_column_item:
referenced by:
insert_column_list
opt_on_conflict:
referenced by:
InsertStmt
opt_conf_expr:
referenced by:
opt_on_conflict
returning_clause:
referenced by:
DeleteStmt
InsertStmt
UpdateStmt
DeleteStmt:
referenced by:
ExplainableStmt
PreparableStmt
RuleActionStmt
stmt
using_clause:
referenced by:
DeleteStmt
LockStmt:
referenced by:
stmt
opt_lock:
referenced by:
LockStmt
lock_type:
referenced by:
opt_lock
opt_nowait:
referenced by:
AlterTableStmt
LockStmt
opt_nowait_or_skip:
referenced by:
for_locking_item
UpdateStmt:
referenced by:
ExplainableStmt
PreparableStmt
RuleActionStmt
stmt
set_clause_list:
referenced by:
UpdateStmt
opt_on_conflict
set_clause:
referenced by:
set_clause_list
set_target:
referenced by:
set_clause
DeclareCursorStmt:
referenced by:
ExplainableStmt
stmt
cursor_name:
referenced by:
ClosePortalStmt
DeclareCursorStmt
fetch_args
where_or_current_clause
opt_hold:
referenced by:
DeclareCursorStmt
SelectStmt:
referenced by:
CreateAsStmt
CreateMatViewStmt
DeclareCursorStmt
ExplainableStmt
PreparableStmt
RuleActionStmt
ViewStmt
insert_rest
stmt
select_with_parens:
referenced by:
SelectStmt
a_expr
c_expr
in_expr
select_clause
select_with_parens
table_ref
select_no_parens:
referenced by:
SelectStmt
select_with_parens
select_clause:
referenced by:
select_no_parens
simple_select
simple_select:
referenced by:
select_clause
select_no_parens
with_clause:
referenced by:
opt_with_clause
select_no_parens
cte_list:
referenced by:
with_clause
common_table_expr:
referenced by:
cte_list
opt_with_clause:
referenced by:
DeleteStmt
InsertStmt
UpdateStmt
into_clause:
referenced by:
simple_select
OptTempTableName:
referenced by:
into_clause
opt_table:
referenced by:
LockStmt
OptTempTableName
TruncateStmt
all_or_distinct:
referenced by:
simple_select
distinct_clause:
referenced by:
simple_select
opt_all_clause:
referenced by:
simple_select
opt_sort_clause:
referenced by:
AexprConst
func_application
select_no_parens
window_specification
sort_clause:
referenced by:
opt_sort_clause
select_no_parens
within_group_clause
sortby:
referenced by:
sort_clause
select_limit:
referenced by:
opt_select_limit
select_no_parens
opt_select_limit:
referenced by:
select_no_parens
limit_clause:
referenced by:
select_limit
offset_clause:
referenced by:
select_limit
select_limit_value:
referenced by:
limit_clause
select_offset_value:
referenced by:
limit_clause
offset_clause
opt_select_fetch_first_value:
referenced by:
limit_clause
select_offset_value2:
referenced by:
offset_clause
row_or_rows:
referenced by:
limit_clause
offset_clause
first_or_next:
referenced by:
limit_clause
group_clause:
referenced by:
simple_select
group_by_list:
referenced by:
group_clause
grouping_sets_clause
group_by_item:
referenced by:
group_by_list
empty_grouping_set:
referenced by:
group_by_item
rollup_clause:
referenced by:
group_by_item
cube_clause:
referenced by:
group_by_item
grouping_sets_clause:
referenced by:
group_by_item
having_clause:
referenced by:
simple_select
for_locking_clause:
referenced by:
opt_for_locking_clause
select_no_parens
opt_for_locking_clause:
referenced by:
select_no_parens
for_locking_item:
referenced by:
for_locking_clause
for_locking_strength:
referenced by:
for_locking_item
locked_rels_list:
referenced by:
for_locking_item
from_clause:
referenced by:
UpdateStmt
simple_select
from_list:
referenced by:
CreateStatsStmt
from_clause
using_clause
table_ref:
referenced by:
from_list
joined_table
joined_table:
referenced by:
joined_table
table_ref
alias_clause:
referenced by:
func_alias_clause
opt_alias_clause
table_ref
opt_alias_clause:
referenced by:
table_ref
func_alias_clause:
referenced by:
table_ref
join_type:
referenced by:
joined_table
join_outer:
referenced by:
join_type
join_qual:
referenced by:
joined_table
relation_expr:
referenced by:
AlterForeignTableStmt
AlterObjectSchemaStmt
AlterTableStmt
RenameStmt
relation_expr_list
relation_expr_opt_alias
simple_select
table_ref
relation_expr_list:
referenced by:
AlterPublicationStmt
LockStmt
TruncateStmt
import_qualification
publication_for_tables
relation_expr_opt_alias:
referenced by:
DeleteStmt
UpdateStmt
tablesample_clause:
referenced by:
table_ref
opt_repeatable_clause:
referenced by:
tablesample_clause
func_table:
referenced by:
table_ref
rowsfrom_item:
referenced by:
func_table
opt_col_def_list:
referenced by:
rowsfrom_item
opt_ordinality:
referenced by:
func_table
where_clause:
referenced by:
IndexStmt
RuleStmt
opt_conf_expr
opt_on_conflict
simple_select
where_or_current_clause:
referenced by:
DeleteStmt
UpdateStmt
OptTableFuncElementList:
referenced by:
DefineStmt
TableFuncElementList:
referenced by:
OptTableFuncElementList
func_alias_clause
opt_col_def_list
TableFuncElement:
referenced by:
TableFuncElementList
alter_type_cmd
xmltable:
referenced by:
table_ref
xmltable_column_list:
referenced by:
xmltable
xmltable_column_el:
referenced by:
xmltable_column_list
xmltable_column_option_el:
referenced by:
xmltable_column_el
xml_namespace_el:
referenced by:
xmltable
Typename:
referenced by:
AlterExtensionContentsStmt
CommentStmt
CreateCastStmt
CreateDomainStmt
CreateOpClassStmt
CreateTransformStmt
DropCastStmt
DropTransformStmt
SecLabelStmt
TableFuncElement
a_expr
alter_table_cmd
alter_type_cmd
b_expr
columnDef
createfunc_opt_item
func_expr_common_subexpr
func_type
opclass_item
oper_argtypes
type_list
type_name_list
xmltable_column_el
opt_array_bounds:
referenced by:
Typename
SimpleTypename:
referenced by:
SeqOptElem
Typename
func_expr_common_subexpr
ConstTypename:
referenced by:
AexprConst
GenericType:
referenced by:
SimpleTypename
opt_type_modifiers:
referenced by:
GenericType
Numeric
Numeric:
referenced by:
ConstTypename
SimpleTypename
opt_float:
referenced by:
Numeric
Bit:
referenced by:
SimpleTypename
ConstBit:
referenced by:
ConstTypename
BitWithLength:
referenced by:
Bit
ConstBit
BitWithoutLength:
referenced by:
Bit
ConstBit
Character:
referenced by:
SimpleTypename
ConstCharacter:
referenced by:
ConstTypename
CharacterWithLength:
referenced by:
Character
ConstCharacter
CharacterWithoutLength:
referenced by:
Character
ConstCharacter
character:
referenced by:
CharacterWithLength
CharacterWithoutLength
opt_varying:
referenced by:
BitWithLength
BitWithoutLength
character
ConstDatetime:
referenced by:
ConstTypename
SimpleTypename
ConstInterval:
referenced by:
AexprConst
SimpleTypename
zone_value
opt_timezone:
referenced by:
ConstDatetime
opt_interval:
referenced by:
AexprConst
SimpleTypename
zone_value
interval_second:
referenced by:
opt_interval
a_expr:
referenced by:
ColConstraintElem
ConstraintElem
CreateAssertStmt
ExclusionWhereClause
RowSecurityOptionalExpr
RowSecurityOptionalWithCheck
TriggerWhen
a_expr
alter_column_default
alter_using
c_expr
case_arg
case_default
expr_list
extract_list
filter_clause
frame_bound
func_arg_expr
func_arg_with_default
func_expr_common_subexpr
group_by_item
having_clause
implicit_row
index_elem
indirection_el
join_qual
opt_repeatable_clause
opt_select_fetch_first_value
opt_slice_bound
overlay_list
overlay_placing
part_elem
row
select_limit_value
select_offset_value
set_clause
sortby
substr_for
substr_from
substr_list
target_el
trim_list
when_clause
where_clause
where_or_current_clause
xml_attribute_el
xml_root_version
b_expr:
referenced by:
ColConstraintElem
a_expr
b_expr
position_list
xml_namespace_el
xmltable_column_option_el
c_expr:
referenced by:
a_expr
b_expr
func_expr_common_subexpr
select_offset_value2
xmlexists_argument
xmltable
func_application:
referenced by:
func_expr
func_expr_windowless
func_expr:
referenced by:
c_expr
func_expr_windowless:
referenced by:
func_table
index_elem
part_elem
rowsfrom_item
func_expr_common_subexpr:
referenced by:
func_expr
func_expr_windowless
xml_root_version:
referenced by:
func_expr_common_subexpr
opt_xml_root_standalone:
referenced by:
func_expr_common_subexpr
xml_attributes:
referenced by:
func_expr_common_subexpr
xml_attribute_list:
referenced by:
func_expr_common_subexpr
xml_attributes
xml_attribute_el:
referenced by:
xml_attribute_list
document_or_content:
referenced by:
func_expr_common_subexpr
set_rest_more
xml_whitespace_option:
referenced by:
func_expr_common_subexpr
xmlexists_argument:
referenced by:
func_expr_common_subexpr
xmltable
within_group_clause:
referenced by:
func_expr
filter_clause:
referenced by:
func_expr
window_clause:
referenced by:
simple_select
window_definition:
referenced by:
window_clause
over_clause:
referenced by:
func_expr
window_specification:
referenced by:
over_clause
window_definition
opt_existing_window_name:
referenced by:
window_specification
opt_partition_clause:
referenced by:
window_specification
opt_frame_clause:
referenced by:
window_specification
frame_extent:
referenced by:
opt_frame_clause
frame_bound:
referenced by:
frame_extent
row:
referenced by:
a_expr
explicit_row:
referenced by:
c_expr
implicit_row:
referenced by:
c_expr
sub_type:
referenced by:
a_expr
all_Op:
referenced by:
any_operator
qual_all_Op
subquery_Op
MathOp:
referenced by:
all_Op
qual_Op:
referenced by:
a_expr
b_expr
qual_all_Op:
referenced by:
def_arg
operator_def_arg
sortby
subquery_Op:
referenced by:
a_expr
expr_list:
referenced by:
BitWithLength
CreateStatsStmt
array_expr
c_expr
cube_clause
distinct_clause
execute_param_clause
explicit_row
func_expr_common_subexpr
implicit_row
in_expr
opt_partition_clause
opt_type_modifiers
rollup_clause
row
simple_select
substr_list
tablesample_clause
trim_list
func_arg_list:
referenced by:
AexprConst
func_application
func_arg_expr:
referenced by:
func_application
func_arg_list
type_list:
referenced by:
a_expr
b_expr
opclass_drop
opclass_item
prep_type_clause
array_expr:
referenced by:
array_expr
c_expr
extract_list:
referenced by:
func_expr_common_subexpr
extract_arg:
referenced by:
extract_list
overlay_list:
referenced by:
func_expr_common_subexpr
overlay_placing:
referenced by:
overlay_list
position_list:
referenced by:
func_expr_common_subexpr
substr_list:
referenced by:
func_expr_common_subexpr
substr_from:
referenced by:
overlay_list
substr_list
substr_for:
referenced by:
overlay_list
substr_list
trim_list:
referenced by:
func_expr_common_subexpr
in_expr:
referenced by:
a_expr
case_expr:
referenced by:
c_expr
when_clause:
referenced by:
case_expr
case_default:
referenced by:
case_expr
case_arg:
referenced by:
case_expr
columnref:
referenced by:
c_expr
indirection_el:
referenced by:
indirection
opt_indirection
opt_slice_bound:
referenced by:
indirection_el
indirection:
referenced by:
c_expr
columnref
func_name
function_with_argtypes
qualified_name
opt_indirection:
referenced by:
c_expr
insert_column_item
set_target
opt_asymmetric:
referenced by:
a_expr
opt_target_list:
referenced by:
simple_select
target_list:
referenced by:
opt_target_list
returning_clause
simple_select
target_el:
referenced by:
target_list
qualified_name_list:
referenced by:
OptInherit
constraints_set_list
locked_rels_list
privilege_target
qualified_name:
referenced by:
AlterObjectDependsStmt
AlterObjectSchemaStmt
AlterPolicyStmt
AlterSeqStmt
AlterTableStmt
AnalyzeStmt
ClusterStmt
ColConstraintElem
ConstraintElem
CopyStmt
CreateForeignTableStmt
CreatePolicyStmt
CreateSeqStmt
CreateStmt
CreateTrigStmt
IndexStmt
OptConstrFromTable
OptTempTableName
RefreshMatViewStmt
ReindexStmt
RenameStmt
RuleStmt
TableLikeClause
VacuumStmt
ViewStmt
alter_table_cmd
create_as_target
create_mv_target
insert_target
partition_cmd
qualified_name_list
relation_expr
name_list:
referenced by:
AlterTSConfigurationStmt
DefACLOption
DropStmt
alias_clause
join_qual
opt_name_list
privilege_target
name:
referenced by:
AlterDatabaseStmt
AlterDomainStmt
AlterEventTrigStmt
AlterExtensionContentsStmt
AlterExtensionStmt
AlterFdwStmt
AlterForeignServerStmt
AlterObjectDependsStmt
AlterObjectSchemaStmt
AlterOwnerStmt
AlterPolicyStmt
AlterPublicationStmt
AlterSubscriptionStmt
AlterTableStmt
AlterTblSpcStmt
AlterUserMappingStmt
ColConstraint
CommentStmt
CreateAmStmt
CreateAssertStmt
CreateEventTrigStmt
CreateExtensionStmt
CreateFdwStmt
CreateForeignServerStmt
CreateForeignTableStmt
CreatePolicyStmt
CreatePublicationStmt
CreateSubscriptionStmt
CreateTableSpaceStmt
CreateTransformStmt
CreateTrigStmt
CreateUserMappingStmt
DeallocateStmt
DropAssertStmt
DropStmt
DropSubscriptionStmt
DropTableSpaceStmt
DropTransformStmt
DropUserMappingStmt
ExecuteStmt
ImportForeignSchemaStmt
OptConsTableSpace
OptTableSpace
PrepareStmt
ReindexStmt
RenameStmt
RuleStmt
SecLabelStmt
TableConstraint
alter_table_cmd
common_table_expr
create_extension_opt_item
cursor_name
handler_name
name_list
opt_conf_expr
replica_identity
database_name:
referenced by:
AlterDatabaseSetStmt
AlterDatabaseStmt
AlterOwnerStmt
CreatedbStmt
DropdbStmt
RenameStmt
opt_in_database
access_method:
referenced by:
AlterExtensionContentsStmt
AlterObjectSchemaStmt
AlterOpFamilyStmt
AlterOwnerStmt
CommentStmt
CreateOpClassStmt
CreateOpFamilyStmt
DropOpClassStmt
DropOpFamilyStmt
RenameStmt
access_method_clause
attr_name:
referenced by:
attrs
indirection_el
index_name:
referenced by:
ClusterStmt
ExistingIndex
IndexStmt
cluster_index_specification
opt_index_name
file_name:
referenced by:
LoadStmt
func_name:
referenced by:
AexprConst
CreateEventTrigStmt
CreateFunctionStmt
CreateTrigStmt
DefineStmt
aggregate_with_argtypes
func_application
function_with_argtypes
tablesample_clause
AexprConst:
referenced by:
c_expr
Iconst:
referenced by:
AexprConst
CharacterWithLength
ConstDatetime
CreateOptRoleElem
SignedIconst
SimpleTypename
TriggerFuncArg
Typename
func_expr_common_subexpr
interval_second
opclass_drop
opclass_item
opt_array_bounds
opt_float
zone_value
Sconst:
referenced by:
AexprConst
AlterEnumStmt
AlterOptRoleElem
AlterSubscriptionStmt
CreateConversionStmt
CreateSubscriptionStmt
CreateTableSpaceStmt
NonReservedWord_or_Sconst
TransactionStmt
TriggerFuncArg
comment_text
copy_delimiter
copy_file_name
copy_opt_item
def_arg
dostmt_opt_item
extract_arg
file_name
foreign_server_version
func_as
generic_option_arg
notify_payload
operator_def_arg
opt_encoding
opt_enum_val_list
opt_type
partbound_datum
security_label
set_rest_more
zone_value
SignedIconst:
referenced by:
AlterOptRoleElem
NumericOnly
alter_table_cmd
createdb_opt_item
fetch_args
opt_select_fetch_first_value
RoleId:
referenced by:
CreateGroupStmt
CreateRoleStmt
CreateUserStmt
RenameStmt
RoleSpec:
referenced by:
AlterGroupStmt
AlterOwnerStmt
AlterRoleSetStmt
AlterRoleStmt
CreateSchemaStmt
OptTableSpaceOwner
ReassignOwnedStmt
RoleId
alter_table_cmd
auth_ident
grantee
opt_granted_by
role_list
role_list:
referenced by:
AlterGroupStmt
AlterOptRoleElem
AlterTableStmt
CreateOptRoleElem
DefACLOption
DropOwnedStmt
DropRoleStmt
GrantRoleStmt
ReassignOwnedStmt
RevokeRoleStmt
RowSecurityDefaultToRole
RowSecurityOptionalToRole
ColId:
referenced by:
CreateSchemaStmt
ListenStmt
NotifyStmt
OptSchemaName
TableFuncElement
TransactionStmt
TransitionRelName
UnlistenStmt
access_method
alias_clause
alter_table_cmd
alter_type_cmd
any_name
any_operator
columnDef
columnElem
columnOptions
columnref
common_func_opt_item
database_name
event_trigger_when_item
func_alias_clause
func_name
function_with_argtypes
index_elem
index_name
insert_column_item
insert_target
name
opt_existing_window_name
over_clause
part_elem
privilege
qualified_name
relation_expr_opt_alias
set_target
var_name
window_definition
xmltable_column_el
type_function_name:
referenced by:
GenericType
func_name
func_type
param_name
NonReservedWord:
referenced by:
NonReservedWord_or_Sconst
RoleSpec
explain_option_name
ColLabel:
referenced by:
CreateEventTrigStmt
TriggerFuncArg
attr_name
copy_generic_opt_elem
def_elem
func_expr_common_subexpr
generic_option_name
operator_def_elem
publication_name_item
reloption_elem
target_el
xml_attribute_el
xml_namespace_el
unreserved_keyword:
referenced by:
ColId
ColLabel
NonReservedWord
part_strategy
type_function_name
col_name_keyword:
referenced by:
ColId
ColLabel
NonReservedWord
type_func_name_keyword:
referenced by:
ColLabel
NonReservedWord
function_with_argtypes
type_function_name
reserved_keyword:
referenced by:
ColLabel
def_arg
operator_def_arg
... generated by Railroad Diagram Generator