Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes14kdownloads
pg_parameter_acl.h61 linesDownload Raw Back to catalog
1/*-------------------------------------------------------------------------2 *3 * pg_parameter_acl.h4 *	  definition of the "configuration parameter ACL" system catalog5 *	  (pg_parameter_acl).6 *7 *8 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group9 * Portions Copyright (c) 1994, Regents of the University of California10 *11 * src/include/catalog/pg_parameter_acl.h12 *13 * NOTES14 *	  The Catalog.pm module reads this file and derives schema15 *	  information.16 *17 *-------------------------------------------------------------------------18 */19#ifndef PG_PARAMETER_ACL_H20#define PG_PARAMETER_ACL_H21 22#include "catalog/genbki.h"23#include "catalog/pg_parameter_acl_d.h"24 25/* ----------------26 *		pg_parameter_acl definition.  cpp turns this into27 *		typedef struct FormData_pg_parameter_acl28 * ----------------29 */30CATALOG(pg_parameter_acl,6243,ParameterAclRelationId) BKI_SHARED_RELATION31{32	Oid			oid;			/* oid */33 34#ifdef CATALOG_VARLEN			/* variable-length fields start here */35	/* name of parameter */36	text		parname BKI_FORCE_NOT_NULL;37 38	/* access permissions */39	aclitem		paracl[1] BKI_DEFAULT(_null_);40#endif41} FormData_pg_parameter_acl;42 43 44/* ----------------45 *		Form_pg_parameter_acl corresponds to a pointer to a tuple with46 *		the format of pg_parameter_acl relation.47 * ----------------48 */49typedef FormData_pg_parameter_acl * Form_pg_parameter_acl;50 51DECLARE_TOAST_WITH_MACRO(pg_parameter_acl, 6244, 6245, PgParameterAclToastTable, PgParameterAclToastIndex);52 53DECLARE_UNIQUE_INDEX(pg_parameter_acl_parname_index, 6246, ParameterAclParnameIndexId, on pg_parameter_acl using btree(parname text_ops));54DECLARE_UNIQUE_INDEX_PKEY(pg_parameter_acl_oid_index, 6247, ParameterAclOidIndexId, on pg_parameter_acl using btree(oid oid_ops));55 56 57extern Oid	ParameterAclLookup(const char *parameter, bool missing_ok);58extern Oid	ParameterAclCreate(const char *parameter);59 60#endif							/* PG_PARAMETER_ACL_H */61 
codekingpro/portable-devtools · Team Ai