PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Var Struct Reference

#include <primnodes.h>

Public Member Functions

Oid vartype pg_node_attr (query_jumble_ignore)
 
int32 vartypmod pg_node_attr (query_jumble_ignore)
 
Oid varcollid pg_node_attr (query_jumble_ignore)
 
Bitmapset *varnullingrels pg_node_attr (query_jumble_ignore)
 
Index varnosyn pg_node_attr (equal_ignore, query_jumble_ignore)
 
AttrNumber varattnosyn pg_node_attr (equal_ignore, query_jumble_ignore)
 

Data Fields

Expr xpr
 
int varno
 
AttrNumber varattno
 
Index varlevelsup
 
ParseLoc location
 

Detailed Description

Definition at line 247 of file primnodes.h.

Member Function Documentation

◆ pg_node_attr() [1/6]

Index varnosyn Var::pg_node_attr ( equal_ignore  ,
query_jumble_ignore   
)

◆ pg_node_attr() [2/6]

AttrNumber varattnosyn Var::pg_node_attr ( equal_ignore  ,
query_jumble_ignore   
)

◆ pg_node_attr() [3/6]

Oid vartype Var::pg_node_attr ( query_jumble_ignore  )

◆ pg_node_attr() [4/6]

int32 vartypmod Var::pg_node_attr ( query_jumble_ignore  )

◆ pg_node_attr() [5/6]

Oid varcollid Var::pg_node_attr ( query_jumble_ignore  )

◆ pg_node_attr() [6/6]

Bitmapset* varnullingrels Var::pg_node_attr ( query_jumble_ignore  )

Field Documentation

◆ location

◆ varattno

AttrNumber Var::varattno

Definition at line 260 of file primnodes.h.

Referenced by AcquireRewriteLocks(), add_row_identity_var(), add_vars_to_attr_needed(), add_vars_to_targetlist(), adjust_appendrel_attrs_mutator(), adjust_inherited_attnums(), adjust_view_column_set(), assign_param_for_var(), build_joinrel_tlist(), build_remote_returning(), build_tlist_index(), build_tlist_index_other_vars(), check_and_push_window_quals(), check_functional_grouping(), check_nested_generated_walker(), contain_invalid_rfcolumn_walker(), conversion_error_callback(), count_rowexpr_columns(), create_hashjoin_plan(), CreateStatistics(), CreateTriggerFiringOn(), currtid_for_view(), deparseVar(), dependency_is_compatible_clause(), examine_simple_variable(), examine_variable(), ExecNestLoop(), expandRecordVariable(), expr_is_nonnullable(), finalize_grouping_exprs_walker(), find_cols_walker(), find_expr_references_walker(), find_forced_null_vars(), find_nonnullable_vars_walker(), find_var_for_subquery_tle(), fix_indexqual_operand(), flatten_group_exprs_mutator(), flatten_join_alias_vars_mutator(), foreign_expr_walker(), get_expr_width(), get_name_for_var_field(), get_relation_column_alias_ids(), get_tupdesc_for_join_scan_tuples(), get_variable(), index_expression_changed_walker(), infer_arbiter_indexes(), init_returning_filter(), IsCTIDVar(), makeVar(), map_variable_attnos_mutator(), markTargetListOrigin(), markVarForSelectPriv(), match_eclasses_to_foreign_key_col(), mcv_get_match_bitmap(), mcv_match_expression(), print_expr(), pull_varattnos_walker(), pullup_replace_vars_callback(), qual_is_pushdown_safe(), rel_is_distinct_for(), remove_useless_groupby_columns(), ReplaceVarsFromTargetList_callback(), resolve_special_varno(), rewriteTargetListIU(), rewriteValuesRTE(), search_indexed_tlist_for_var(), set_append_rel_size(), set_function_pathlist(), set_rel_width(), set_subquery_pathlist(), set_subquery_size_estimates(), statext_is_compatible_clause_internal(), StoreRelCheck(), substitute_grouped_columns_mutator(), tlist_matches_tupdesc(), tlist_member_match_var(), translate_col_privs(), translate_sub_tlist(), trivial_subqueryscan(), and view_col_is_auto_updatable().

◆ varlevelsup

Index Var::varlevelsup

Definition at line 280 of file primnodes.h.

Referenced by AcquireRewriteLocks(), add_nulling_relids_mutator(), add_nullingrels_if_needed(), add_row_identity_var(), adjust_appendrel_attrs_mutator(), adjust_standard_join_alias_expression(), assign_param_for_var(), ChangeVarNodes_walker(), check_functional_grouping(), count_rowexpr_columns(), deparseVar(), dependency_is_compatible_clause(), examine_simple_variable(), expandRecordVariable(), ExpandRowReference(), expandRTE(), extract_lateral_references(), extract_lateral_vars_from_PHVs(), finalize_grouping_exprs_walker(), find_cols_walker(), find_expr_references_walker(), find_forced_null_var(), find_nonnullable_rels_walker(), find_nonnullable_vars_walker(), fix_scan_expr_mutator(), flatten_group_exprs_mutator(), flatten_join_alias_vars_mutator(), foreign_expr_walker(), get_expr_width(), get_name_for_var_field(), get_variable(), IncrementVarSublevelsUp_walker(), is_foreign_param(), is_standard_join_alias_expression(), IsCTIDVar(), isPlainForeignVar(), locate_var_of_level_walker(), makeVar(), map_variable_attnos_mutator(), mark_nullable_by_grouping(), markNullableIfNeeded(), markTargetListOrigin(), markVarForSelectPriv(), OffsetVarNodes_walker(), pull_varattnos_walker(), pull_varnos_walker(), pull_vars_walker(), pullup_replace_vars_callback(), rangeTableEntry_used_walker(), rel_is_distinct_for(), remove_nulling_relids_mutator(), remove_useless_groupby_columns(), replace_nestloop_params_mutator(), replace_outer_var(), replace_rte_variables_mutator(), ReplaceVarsFromTargetList_callback(), resolve_special_varno(), set_function_pathlist(), statext_is_compatible_clause_internal(), substitute_grouped_columns_mutator(), tlist_matches_tupdesc(), tlist_member_match_var(), trivial_subqueryscan(), and view_col_is_auto_updatable().

◆ varno

int Var::varno

Definition at line 255 of file primnodes.h.

Referenced by AcquireRewriteLocks(), add_nulling_relids_mutator(), add_nullingrels_if_needed(), add_row_identity_var(), add_vars_to_attr_needed(), add_vars_to_targetlist(), adjust_appendrel_attrs_mutator(), assign_param_for_var(), build_joinrel_tlist(), build_remote_returning(), build_tlist_index(), build_tlist_index_other_vars(), ChangeVarNodes_walker(), check_functional_grouping(), check_nested_generated_walker(), conversion_error_callback(), count_rowexpr_columns(), create_hashjoin_plan(), create_lateral_join_info(), CreateTriggerFiringOn(), currtid_for_view(), deparseVar(), dependency_is_compatible_clause(), distribute_row_identity_vars(), examine_simple_variable(), examine_variable(), ExecNestLoop(), expandRecordVariable(), ExpandRowReference(), expr_is_nonnullable(), extract_lateral_vars_from_PHVs(), finalize_grouping_exprs_walker(), find_cols_walker(), find_expr_references_walker(), find_forced_null_vars(), find_nonnullable_rels_walker(), find_nonnullable_vars_walker(), find_var_for_subquery_tle(), fix_indexqual_operand(), fix_join_expr_mutator(), fix_scan_expr_mutator(), flatten_group_exprs_mutator(), flatten_join_alias_vars_mutator(), foreign_expr_walker(), get_expr_width(), get_name_for_var_field(), get_relation_column_alias_ids(), get_tupdesc_for_join_scan_tuples(), get_variable(), identify_current_nestloop_params(), init_returning_filter(), is_foreign_param(), is_subquery_var(), IsCTIDVar(), isPlainForeignVar(), makeVar(), map_variable_attnos_mutator(), markNullableIfNeeded(), markTargetListOrigin(), markVarForSelectPriv(), match_eclasses_to_foreign_key_col(), OffsetVarNodes_walker(), preprocess_targetlist(), print_expr(), process_subquery_nestloop_params(), pull_varattnos_walker(), pull_varnos_walker(), pullup_replace_vars_callback(), qual_is_pushdown_safe(), rangeTableEntry_used_walker(), rel_is_distinct_for(), remove_nulling_relids_mutator(), remove_useless_groupby_columns(), replace_nestloop_params_mutator(), replace_rte_variables_mutator(), ReplaceVarsFromTargetList_callback(), resolve_special_varno(), rewriteTargetListIU(), rewriteValuesRTE(), search_indexed_tlist_for_var(), semijoin_target_ok(), set_append_rel_size(), set_function_pathlist(), set_join_references(), set_plan_refs(), set_subquery_pathlist(), set_subquery_size_estimates(), statext_is_compatible_clause_internal(), substitute_grouped_columns_mutator(), tlist_matches_tupdesc(), tlist_member_match_var(), translate_sub_tlist(), trivial_subqueryscan(), and view_col_is_auto_updatable().

◆ xpr

Expr Var::xpr

Definition at line 249 of file primnodes.h.


The documentation for this struct was generated from the following file: