|
PostgreSQL Source Code git master
|
#include "nodes/parsenodes.h"

Go to the source code of this file.
Macros | |
| #define | rt_fetch(rangetable_index, rangetable) ((RangeTblEntry *) list_nth(rangetable, (rangetable_index)-1)) |
Functions | |
| char * | get_rte_attribute_name (RangeTblEntry *rte, AttrNumber attnum) |
| bool | get_rte_attribute_is_dropped (RangeTblEntry *rte, AttrNumber attnum) |
| TargetEntry * | get_tle_by_resno (List *tlist, AttrNumber resno) |
| RowMarkClause * | get_parse_rowmark (Query *qry, Index rtindex) |
| #define rt_fetch | ( | rangetable_index, | |
| rangetable | |||
| ) | ((RangeTblEntry *) list_nth(rangetable, (rangetable_index)-1)) |
Definition at line 31 of file parsetree.h.
|
extern |
Definition at line 3561 of file parse_relation.c.
References fb(), lfirst, Query::rowMarks, and RowMarkClause::rti.
Referenced by AcquireRewriteLocks(), applyLockingClause(), and ApplyRetrieveRule().
|
extern |
Definition at line 3392 of file parse_relation.c.
References Assert, attnum, elog, ereport, errcode(), errmsg(), ERROR, fb(), RangeTblFunction::funcexpr, get_expr_result_tupdesc(), GETSTRUCT(), HeapTupleIsValid, Int16GetDatum(), lfirst, list_length(), list_nth(), list_nth_oid(), NIL, ObjectIdGetDatum(), OidIsValid, ReleaseSysCache(), RTE_CTE, RTE_FUNCTION, RTE_GROUP, RTE_JOIN, RTE_NAMEDTUPLESTORE, RTE_RELATION, RTE_RESULT, RTE_SUBQUERY, RTE_TABLEFUNC, RTE_VALUES, SearchSysCache2(), and TupleDescCompactAttr().
Referenced by AcquireRewriteLocks().
|
extern |
Definition at line 3354 of file parse_relation.c.
References attnum, elog, ERROR, fb(), get_attname(), InvalidAttrNumber, list_length(), list_nth(), RTE_RELATION, and strVal.
Referenced by get_name_for_var_field(), get_variable(), print_expr(), and substitute_grouped_columns_mutator().
|
extern |
Definition at line 3541 of file parse_relation.c.
Referenced by adjust_view_column_set(), count_rowexpr_columns(), currtid_for_view(), examine_simple_variable(), expandRecordVariable(), get_name_for_var_field(), get_variable(), make_sort_from_groupcols(), markTargetListOrigin(), prepare_sort_from_pathkeys(), ReplaceVarFromTargetList(), resolve_special_varno(), rewriteTargetView(), show_grouping_set_keys(), show_sort_group_keys(), and show_window_keys().