PostgreSQL Source Code
git master
|
#include "nodes/pg_list.h"
Go to the source code of this file.
Macros | |
#define | FORMAT_PROC_INVALID_AS_NULL 0x01 /* NULL if undefined */ |
#define | FORMAT_PROC_FORCE_QUALIFY 0x02 /* force qualification */ |
#define | FORMAT_OPERATOR_INVALID_AS_NULL 0x01 /* NULL if undefined */ |
#define | FORMAT_OPERATOR_FORCE_QUALIFY 0x02 /* force qualification */ |
Functions | |
char * | format_procedure_extended (Oid procedure_oid, bits16 flags) |
char * | format_operator_extended (Oid operator_oid, bits16 flags) |
List * | stringToQualifiedNameList (const char *string, Node *escontext) |
char * | format_procedure (Oid procedure_oid) |
char * | format_procedure_qualified (Oid procedure_oid) |
void | format_procedure_parts (Oid procedure_oid, List **objnames, List **objargs, bool missing_ok) |
char * | format_operator (Oid operator_oid) |
char * | format_operator_qualified (Oid operator_oid) |
void | format_operator_parts (Oid operator_oid, List **objnames, List **objargs, bool missing_ok) |
#define FORMAT_OPERATOR_FORCE_QUALIFY 0x02 /* force qualification */ |
#define FORMAT_OPERATOR_INVALID_AS_NULL 0x01 /* NULL if undefined */ |
#define FORMAT_PROC_FORCE_QUALIFY 0x02 /* force qualification */ |
#define FORMAT_PROC_INVALID_AS_NULL 0x01 /* NULL if undefined */ |
char* format_operator | ( | Oid | operator_oid | ) |
Definition at line 793 of file regproc.c.
References format_operator_extended().
Referenced by blvalidate(), brinvalidate(), btvalidate(), ComputeIndexAttrs(), getObjectDescription(), ginvalidate(), gistvalidate(), hashvalidate(), regoperatorout(), and spgvalidate().
Definition at line 722 of file regproc.c.
References appendStringInfo(), appendStringInfoString(), Assert, buf, FORMAT_OPERATOR_FORCE_QUALIFY, FORMAT_OPERATOR_INVALID_AS_NULL, format_type_be(), format_type_be_qualified(), get_namespace_name(), GETSTRUCT, HeapTupleIsValid, initStringInfo(), IsBootstrapProcessingMode, NAMEDATALEN, NameStr, ObjectIdGetDatum(), OperatorIsVisible(), palloc(), quote_identifier(), ReleaseSysCache(), SearchSysCache1(), and snprintf.
Referenced by format_operator(), format_operator_qualified(), getObjectDescription(), and getObjectIdentityParts().
Definition at line 806 of file regproc.c.
References elog, ERROR, format_type_be_qualified(), get_namespace_name_or_temp(), GETSTRUCT, HeapTupleIsValid, lappend(), list_make2, NameStr, NIL, ObjectIdGetDatum(), pstrdup(), ReleaseSysCache(), and SearchSysCache1().
Referenced by getObjectIdentityParts().
char* format_operator_qualified | ( | Oid | operator_oid | ) |
Definition at line 799 of file regproc.c.
References format_operator_extended(), and FORMAT_OPERATOR_FORCE_QUALIFY.
char* format_procedure | ( | Oid | procedure_oid | ) |
Definition at line 299 of file regproc.c.
References format_procedure_extended().
Referenced by blvalidate(), brinvalidate(), btvalidate(), compile_pltcl_function(), do_compile(), getObjectDescription(), ginvalidate(), gistvalidate(), hashvalidate(), initialize_peragg(), pg_logical_slot_get_changes_guts(), ProcedureCreate(), regprocedureout(), and spgvalidate().
Definition at line 326 of file regproc.c.
References appendStringInfo(), appendStringInfoChar(), appendStringInfoString(), Assert, buf, FORMAT_PROC_FORCE_QUALIFY, FORMAT_PROC_INVALID_AS_NULL, format_type_be(), format_type_be_qualified(), FunctionIsVisible(), get_namespace_name(), GETSTRUCT, HeapTupleIsValid, i, initStringInfo(), IsBootstrapProcessingMode, NAMEDATALEN, NameStr, ObjectIdGetDatum(), palloc(), proname, quote_qualified_identifier(), ReleaseSysCache(), SearchSysCache1(), and snprintf.
Referenced by format_procedure(), format_procedure_qualified(), getObjectDescription(), and getObjectIdentityParts().
void format_procedure_parts | ( | Oid | procedure_oid, |
List ** | objnames, | ||
List ** | objargs, | ||
bool | missing_ok | ||
) |
Definition at line 398 of file regproc.c.
References elog, ERROR, format_type_be_qualified(), get_namespace_name_or_temp(), GETSTRUCT, HeapTupleIsValid, i, lappend(), list_make2, NameStr, NIL, ObjectIdGetDatum(), pstrdup(), ReleaseSysCache(), and SearchSysCache1().
Referenced by getObjectIdentityParts().
char* format_procedure_qualified | ( | Oid | procedure_oid | ) |
Definition at line 305 of file regproc.c.
References FORMAT_PROC_FORCE_QUALIFY, and format_procedure_extended().
Definition at line 1797 of file regproc.c.
References ereturn, errcode(), errmsg(), lappend(), lfirst, list_free(), makeString(), NIL, pfree(), pstrdup(), and SplitIdentifierString().
Referenced by call_pltcl_start_proc(), check_default_text_search_config(), getTSCurrentConfig(), parseNameAndArgTypes(), regclassin(), regcollationin(), regconfigin(), regdictionaryin(), regnamespacein(), regoperin(), regprocin(), regrolein(), RelationNameGetTupleDesc(), thesaurus_init(), and tsvector_update_trigger().