#include "nodes/nodes.h"
Go to the source code of this file.
Data Structures | |
struct | Value |
union | Value::ValUnion |
Defines | |
#define | intVal(v) (((Value *)(v))->val.ival) |
#define | floatVal(v) atof(((Value *)(v))->val.str) |
#define | strVal(v) (((Value *)(v))->val.str) |
Typedefs | |
typedef struct Value | Value |
Functions | |
Value * | makeInteger (long i) |
Value * | makeFloat (char *numericStr) |
Value * | makeString (char *str) |
Value * | makeBitString (char *str) |
#define floatVal | ( | v | ) | atof(((Value *)(v))->val.str) |
Definition at line 53 of file value.h.
Referenced by defGetNumeric().
#define intVal | ( | v | ) | (((Value *)(v))->val.ival) |
Definition at line 52 of file value.h.
Referenced by AlterDatabase(), AlterFunction(), AlterRole(), ATExecSetStatistics(), createdb(), CreateRole(), defGetBoolean(), defGetInt64(), defGetNumeric(), defGetString(), defGetTypeLength(), findTargetlistEntrySQL92(), flatten_set_variable_args(), init_params(), make_const(), oidparse(), and postgresBeginForeignModify().
#define strVal | ( | v | ) | (((Value *)(v))->val.str) |
Definition at line 54 of file value.h.
Referenced by AddRoleMems(), addTargetToSortList(), AlterDatabase(), AlterExtensionNamespace(), AlterRole(), appendTypeNameToBuffer(), ATAddForeignKeyConstraint(), ATExecAddConstraint(), ATExecSetStorage(), BuildDescFromLists(), CommentObject(), ConvertTriggerToFK(), CopyGetAttnums(), createdb(), CreateExtension(), CreateRole(), CreateTrigger(), DeconstructQualifiedName(), defGetInt64(), defGetString(), defGetTypeLength(), DefineView(), DelRoleMems(), do_analyze_rel(), does_not_exist_skipping(), DropConfigurationMapping(), DropRole(), EnumValuesCreate(), ExecAlterDefaultPrivilegesStmt(), ExecAlterExtensionStmt(), ExecAlterOwnerStmt(), ExecEvalXml(), ExecInitFunctionScan(), ExecSetVariableStmt(), ExecTypeFromExprList(), ExecuteDoStmt(), expand_col_privileges(), ExpandColumnRefStar(), expandRecordVariable(), expandRelAttrs(), expandRTE(), expandTupleDesc(), extractRemainingColumns(), FigureColnameInternal(), filter_list_to_array(), findTargetlistEntrySQL92(), flatten_set_variable_args(), get_connect_string(), get_name_for_var_field(), get_object_address_attribute(), get_object_address_opcf(), get_object_address_relobject(), get_object_address_unqualified(), get_rte_attribute_name(), get_rule_expr(), get_with_clause(), GetIndexOpClass(), getTokenTypes(), interpret_AS_clause(), interpret_func_volatility(), intorel_startup(), LookupTypeName(), make_const(), make_row_comparison_op(), makeRangeVarFromNameList(), NameListToQuotedString(), NameListToString(), objectNamesToOids(), objectsInSchemaToOids(), oidparse(), parse_basebackup_options(), ParseFuncOrColumn(), plpgsql_parse_cwordrowtype(), plpgsql_parse_cwordtype(), postgresBeginForeignModify(), postgresBeginForeignScan(), postgresExplainForeignModify(), postgresExplainForeignScan(), process_owned_by(), ReleaseSavepoint(), resolve_column_ref(), roleNamesToIds(), RollbackToSavepoint(), scanRTEForColumn(), sepgsql_utility_command(), set_join_column_names(), set_relation_column_names(), set_using_names(), SetDefaultACLsInSchemas(), sql_fn_post_column_ref(), standard_ProcessUtility(), transformAExprIn(), transformAExprOf(), transformAExprOp(), transformAssignmentIndirection(), transformColumnDefinition(), transformColumnNameList(), transformColumnRef(), transformFromClauseItem(), transformIndexConstraint(), transformIndirection(), transformXmlExpr(), TypeGetTupleDesc(), typenameTypeMod(), validate_ddl_tags(), and xmlelement().
Value* makeBitString | ( | char * | str | ) |
Definition at line 68 of file value.c.
References makeNode, Value::ValUnion::str, Value::type, and Value::val.
Referenced by nodeRead().
Value* makeFloat | ( | char * | numericStr | ) |
Definition at line 38 of file value.c.
References makeNode, Value::ValUnion::str, Value::type, and Value::val.
Referenced by nodeRead().
Value* makeInteger | ( | long | i | ) |
Definition at line 23 of file value.c.
References Value::ValUnion::ival, makeNode, Value::type, and Value::val.
Referenced by defWithOids(), nodeRead(), and postgresPlanForeignModify().
Value* makeString | ( | char * | str | ) |
Definition at line 53 of file value.c.
References makeNode, Value::ValUnion::str, Value::type, and Value::val.
Referenced by addRangeTableEntryForFunction(), addRangeTableEntryForSubquery(), addRangeTableEntryForValues(), analyzeCTETargetList(), buildRelationAliases(), buildScalarFunctionAlias(), check_selective_binary_conversion(), CreateRole(), deserialize_deflist(), expandRTE(), expandTupleDesc(), FunctionIsVisible(), generate_function_name(), generate_operator_name(), generateClonedIndexStmt(), get_collation(), get_file_fdw_attribute_options(), get_opclass(), makeSimpleA_Expr(), makeTypeName(), nodeRead(), OperatorIsVisible(), plpgsql_parse_dblword(), plpgsql_parse_tripword(), postgresGetForeignPlan(), postgresPlanForeignModify(), regoperout(), regprocout(), stringToQualifiedNameList(), textToQualifiedNameList(), transformColumnDefinition(), transformColumnRef(), transformCurrentOfExpr(), transformFkeyGetPrimaryKey(), transformFromClauseItem(), transformIndexConstraint(), transformRowExpr(), transformSetOperationStmt(), transformTableLikeClause(), transformXmlExpr(), and untransformRelOptions().