PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "access/table.h"
#include "catalog/catalog.h"
#include "catalog/indexing.h"
#include "catalog/pg_parameter_acl.h"
#include "utils/builtins.h"
#include "utils/guc.h"
#include "utils/rel.h"
#include "utils/syscache.h"
Go to the source code of this file.
Functions | |
Oid | ParameterAclLookup (const char *parameter, bool missing_ok) |
Oid | ParameterAclCreate (const char *parameter) |
Oid ParameterAclCreate | ( | const char * | parameter | ) |
Definition at line 68 of file pg_parameter_acl.c.
References CatalogTupleInsert(), check_GUC_name_for_parameter_acl(), convert_GUC_name_for_parameter_acl(), cstring_to_text(), GetNewOidWithIndex(), heap_form_tuple(), heap_freetuple(), NoLock, ObjectIdGetDatum(), PointerGetDatum(), RelationGetDescr, RowExclusiveLock, table_close(), table_open(), and values.
Referenced by objectNamesToOids().
Oid ParameterAclLookup | ( | const char * | parameter, |
bool | missing_ok | ||
) |
Definition at line 35 of file pg_parameter_acl.c.
References convert_GUC_name_for_parameter_acl(), cstring_to_text(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid1, OidIsValid, pfree(), and PointerGetDatum().
Referenced by get_object_address_unqualified(), and objectNamesToOids().