Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes16kdownloads
regproc.h40 linesDownload Raw Back to utils
1/*-------------------------------------------------------------------------2 *3 * regproc.h4 *	  Functions for the built-in types regproc, regclass, regtype, etc.5 *6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group7 * Portions Copyright (c) 1994, Regents of the University of California8 *9 * src/include/utils/regproc.h10 *11 *-------------------------------------------------------------------------12 */13#ifndef REGPROC_H14#define REGPROC_H15 16#include "nodes/pg_list.h"17 18/* Control flags for format_procedure_extended */19#define FORMAT_PROC_INVALID_AS_NULL	0x01	/* NULL if undefined */20#define FORMAT_PROC_FORCE_QUALIFY	0x02	/* force qualification */21extern char *format_procedure_extended(Oid procedure_oid, bits16 flags);22 23/* Control flags for format_operator_extended */24#define FORMAT_OPERATOR_INVALID_AS_NULL	0x01	/* NULL if undefined */25#define FORMAT_OPERATOR_FORCE_QUALIFY	0x02	/* force qualification */26extern char *format_operator_extended(Oid operator_oid, bits16 flags);27 28extern List *stringToQualifiedNameList(const char *string, Node *escontext);29extern char *format_procedure(Oid procedure_oid);30extern char *format_procedure_qualified(Oid procedure_oid);31extern void format_procedure_parts(Oid procedure_oid, List **objnames,32								   List **objargs, bool missing_ok);33 34extern char *format_operator(Oid operator_oid);35extern char *format_operator_qualified(Oid operator_oid);36extern void format_operator_parts(Oid operator_oid, List **objnames,37								  List **objargs, bool missing_ok);38 39#endif40 
codekingpro/portable-devtools · Team Ai