|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Macros | |
| #define | RULE_INDEXDEF_PRETTY 0x01 |
| #define | RULE_INDEXDEF_KEYS_ONLY 0x02 /* ignore included attributes */ |
Typedefs | |
| typedef struct Plan | Plan |
| typedef struct PlannedStmt | PlannedStmt |
Definition at line 25 of file ruleutils.h.
| #define RULE_INDEXDEF_PRETTY 0x01 |
Definition at line 24 of file ruleutils.h.
Definition at line 21 of file ruleutils.h.
Definition at line 3711 of file ruleutils.c.
References AccessShareLock, fb(), list_make1, makeAlias(), makeNode, NIL, palloc0_object, RTE_RELATION, set_rtable_names(), and set_simple_column_names().
Referenced by pg_get_constraintdef_worker(), pg_get_expr_worker(), pg_get_indexdef_worker(), pg_get_partconstrdef_string(), pg_get_partition_constraintdef(), pg_get_partkeydef_worker(), pg_get_statisticsobj_worker(), pg_get_statisticsobjdef_expressions(), transformPartitionBound(), and transformPartitionRangeBounds().
|
extern |
Definition at line 3756 of file ruleutils.c.
References PlannedStmt::appendRelations, Assert, fb(), lfirst_node, list_length(), list_make1, NIL, palloc0(), palloc0_object, PlannedStmt::rtable, set_simple_column_names(), and PlannedStmt::subplans.
Referenced by ExplainPrintPlan().
|
extern |
Definition at line 3648 of file ruleutils.c.
References deparse_expression_pretty(), and fb().
Referenced by AlterDomainDefault(), check_parent_values_in_new_partitions(), DefineDomain(), pg_get_function_arg_default(), pg_get_partconstrdef_string(), print_function_arguments(), show_expression(), show_grouping_set_keys(), show_memoize_info(), show_plan_tlist(), show_sort_group_keys(), show_tablesample(), show_window_keys(), transformPartitionBound(), and transformPartitionRangeBounds().
Definition at line 13576 of file ruleutils.c.
References CollationIsVisible(), collid, elog, ERROR, fb(), get_namespace_name_or_temp(), GETSTRUCT(), HeapTupleIsValid, NameStr, ObjectIdGetDatum(), quote_qualified_identifier(), ReleaseSysCache(), and SearchSysCache1().
Referenced by get_const_collation(), get_from_clause_coldeflist(), get_rule_expr(), pg_collation_for(), pg_get_indexdef_worker(), and pg_get_partkeydef_worker().
Definition at line 12930 of file ruleutils.c.
References buf, get_opclass_name(), initStringInfo(), and InvalidOid.
Referenced by index_opclass_options().
Definition at line 13709 of file ruleutils.c.
References appendStringInfoChar(), appendStringInfoString(), deparse_context::buf, buf, castNode, fb(), get_const_expr(), initStringInfo(), PartitionRangeDatum::kind, lfirst_node, PARTITION_RANGE_DATUM_MAXVALUE, PARTITION_RANGE_DATUM_MINVALUE, val, and PartitionRangeDatum::value.
Referenced by check_new_partition_bound(), check_partition_bounds_for_split_range(), and get_rule_expr().
|
extern |
Definition at line 6912 of file ruleutils.c.
References deparse_context::appendparents, deparse_context::buf, buf, deparse_context::colNamesVisible, fb(), get_window_frame_options(), deparse_context::indentLevel, deparse_context::inGroupBy, initStringInfo(), deparse_context::namespaces, NIL, deparse_context::prettyFlags, deparse_context::resultDesc, deparse_context::targetList, deparse_context::varInOrderBy, deparse_context::varprefix, deparse_context::windowClause, WRAP_COLUMN_DEFAULT, and deparse_context::wrapColumn.
Referenced by show_window_def().
Definition at line 2183 of file ruleutils.c.
References fb(), and pg_get_constraintdef_worker().
Referenced by RememberConstraintForRebuilding().
Definition at line 1235 of file ruleutils.c.
References fb(), GET_PRETTY_FLAGS, and pg_get_indexdef_worker().
Referenced by BuildIndexValueDescription().
Definition at line 1249 of file ruleutils.c.
References fb(), GET_PRETTY_FLAGS, pg_get_indexdef_worker(), RULE_INDEXDEF_KEYS_ONLY, and RULE_INDEXDEF_PRETTY.
Referenced by gist_page_items().
Definition at line 1225 of file ruleutils.c.
References fb(), and pg_get_indexdef_worker().
Referenced by RememberIndexForRebuilding().
Definition at line 2127 of file ruleutils.c.
References deparse_context_for(), deparse_expression(), fb(), and get_partition_qual_relid().
Referenced by RI_PartitionRemove_Check().
Definition at line 1923 of file ruleutils.c.
References fb(), GET_PRETTY_FLAGS, and pg_get_partkeydef_worker().
Referenced by ExecBuildSlotPartitionKeyDescription().
Definition at line 1588 of file ruleutils.c.
References buf, fb(), GET_PRETTY_FLAGS, get_query_def(), initStringInfo(), NIL, and WRAP_COLUMN_DEFAULT.
Definition at line 1626 of file ruleutils.c.
References fb(), and pg_get_statisticsobj_worker().
Referenced by RememberStatisticsForRebuilding().
Definition at line 3858 of file ruleutils.c.
References fb(), NIL, and set_rtable_names().
Referenced by ExplainPrintPlan().
Definition at line 3828 of file ruleutils.c.
References Assert, fb(), IsA, linitial, list_length(), plan, and set_deparse_plan().
Referenced by show_expression(), show_grouping_sets(), show_memoize_info(), show_plan_tlist(), show_sort_group_keys(), show_tablesample(), show_window_def(), and show_window_keys().