|
PostgreSQL Source Code git master
|
#include "parser/parse_node.h"

Go to the source code of this file.
|
extern |
Definition at line 1017 of file parse_target.c.
References attnameAttNum(), bms_add_member(), bms_is_member(), ereport, errcode(), errmsg(), ERROR, fb(), i, InvalidAttrNumber, lappend(), lappend_int(), lfirst, makeNode, name, ResTarget::name, NameStr, NIL, ParseState::p_target_relation, parser_errposition(), pstrdup(), RelationData::rd_att, RelationGetNumberOfAttributes, RelationGetRelationName, and TupleDescAttr().
Referenced by transformInsertStmt(), and transformMergeStmt().
|
extern |
Definition at line 1521 of file parse_target.c.
References Assert, attnum, CreateTemplateTupleDesc(), CommonTableExpr::ctequery, elog, ERROR, expandRecordVariable(), expandRTE(), exprCollation(), exprType(), exprTypmod(), fb(), forboth, get_expr_result_tupdesc(), get_tle_by_resno(), GetCTEForRTE(), GetCTETargetList, GetRTEByRangeTablePosn(), i, InvalidAttrNumber, IsA, label, lfirst, list_length(), list_nth(), Var::location, ParseState::p_rtable, ParseState::parentParseState, RTE_CTE, RTE_FUNCTION, RTE_GROUP, RTE_JOIN, RTE_NAMEDTUPLESTORE, RTE_RELATION, RTE_RESULT, RTE_SUBQUERY, RTE_TABLEFUNC, RTE_VALUES, strVal, TupleDescInitEntry(), TupleDescInitEntryCollation(), Var::varattno, Var::varlevelsup, Var::varno, and Var::varreturningtype.
Referenced by expandRecordVariable(), ExpandRowReference(), and ParseComplexProjection().
Definition at line 1712 of file parse_target.c.
References fb(), FigureColnameInternal(), and name.
Referenced by transformRangeFunction(), transformTargetEntry(), and transformXmlExpr().
Definition at line 1731 of file parse_target.c.
References fb(), FigureColnameInternal(), and name.
Referenced by transformIndexStmt().
|
extern |
Definition at line 317 of file parse_target.c.
References fb(), lfirst, and markTargetListOrigin().
Referenced by transformReturningClause(), and transformSelectStmt().
|
extern |
Definition at line 287 of file parse_target.c.
References COERCE_IMPLICIT_CAST, coerce_type(), COERCION_IMPLICIT, exprType(), fb(), and lfirst.
Referenced by transformReturningClause(), transformReturnStmt(), and transformSelectStmt().
|
extern |
Definition at line 454 of file parse_target.c.
References Assert, attnumTypeId(), COERCE_IMPLICIT_CAST, coerce_to_target_type(), COERCION_ASSIGNMENT, ereport, errcode(), errhint(), errmsg(), ERROR, EXPR_KIND_NONE, exprLocation(), exprType(), fb(), format_type_be(), IsA, linitial, list_head(), Var::location, makeNullConst(), makeVar(), ParseState::p_expr_kind, ParseState::p_is_insert, ParseNamespaceItem::p_rtindex, ParseState::p_target_nsitem, ParseState::p_target_relation, parser_errposition(), transformAssignmentIndirection(), TupleDescAttr(), and SetToDefault::typeId.
Referenced by transformInsertRow(), and updateTargetListEntry().
|
extern |
Definition at line 685 of file parse_target.c.
References FieldStore::arg, Assert, attnum, COERCE_IMPLICIT_CAST, coerce_to_domain(), coerce_to_target_type(), COERCION_IMPLICIT, ereport, errcode(), errhint(), errmsg(), ERROR, exprType(), fb(), for_each_cell, format_type_be(), get_attnum(), get_atttypetypmodcoll(), getBaseTypeAndTypmod(), i, InvalidAttrNumber, IsA, lappend(), lfirst, list_make1, list_make1_int, lnext(), makeNode, FieldStore::newvals, NIL, parser_errposition(), strVal, transformAssignmentIndirection(), transformAssignmentSubscripts(), and typeidTypeRelid().
Referenced by transformAssignedExpr(), transformAssignmentIndirection(), transformAssignmentSubscripts(), and transformPLAssignStmtTarget().
|
extern |
Definition at line 219 of file parse_target.c.
References ExpandColumnRefStar(), ExpandIndirectionStar(), fb(), IsA, lappend(), lfirst, list_concat(), llast, NIL, and transformExpr().
Referenced by transformInsertStmt(), transformMergeStmt(), transformRowExpr(), and transformValuesClause().
|
extern |
Definition at line 74 of file parse_target.c.
References EXPR_KIND_UPDATE_SOURCE, fb(), FigureColname(), IsA, makeTargetEntry(), ParseState::p_next_resno, and transformExpr().
Referenced by findTargetlistEntrySQL99(), and transformTargetList().
|
extern |
Definition at line 120 of file parse_target.c.
References Assert, ExpandColumnRefStar(), ExpandIndirectionStar(), EXPR_KIND_UPDATE_SOURCE, fb(), IsA, lappend(), lfirst, list_concat(), llast, ResTarget::name, NIL, ParseState::p_multiassign_exprs, transformTargetEntry(), and ResTarget::val.
Referenced by transformReturningClause(), transformSelectStmt(), and transformUpdateTargetList().
|
extern |
Definition at line 621 of file parse_target.c.
References EXPR_KIND_UPDATE_TARGET, fb(), and transformAssignedExpr().
Referenced by transformUpdateTargetList().