1/*-------------------------------------------------------------------------
4 * Declarations for ruleutils.c
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994, Regents of the University of California
9 * src/include/utils/ruleutils.h
11 *-------------------------------------------------------------------------
20 typedef struct Plan Plan;
/* avoid including plannodes.h here */
23/* Flags for pg_get_indexdef_columns_extended() */
24 #define RULE_INDEXDEF_PRETTY 0x01
25 #define RULE_INDEXDEF_KEYS_ONLY 0x02 /* ignore included attributes */
38 bool forceprefix,
bool showimplicit);
57#endif /* RULEUTILS_H */
List * deparse_context_for_plan_tree(PlannedStmt *pstmt, List *rtable_names)
char * pg_get_statisticsobjdef_string(Oid statextid)
char * pg_get_partkeydef_columns(Oid relid, bool pretty)
List * deparse_context_for(const char *aliasname, Oid relid)
char * pg_get_indexdef_columns(Oid indexrelid, bool pretty)
char * pg_get_indexdef_columns_extended(Oid indexrelid, bits16 flags)
List * set_deparse_context_plan(List *dpcontext, Plan *plan, List *ancestors)
char * pg_get_indexdef_string(Oid indexrelid)
char * pg_get_querydef(Query *query, bool pretty)
List * select_rtable_names_for_explain(List *rtable, Bitmapset *rels_used)
char * generate_collation_name(Oid collid)
char * pg_get_constraintdef_command(Oid constraintId)
char * pg_get_partconstrdef_string(Oid partitionId, char *aliasname)
char * get_window_frame_options_for_explain(int frameOptions, Node *startOffset, Node *endOffset, List *dpcontext, bool forceprefix)
char * deparse_expression(Node *expr, List *dpcontext, bool forceprefix, bool showimplicit)
char * generate_opclass_name(Oid opclass)
char * get_range_partbound_string(List *bound_datums)