PostgreSQL Source Code git master
|
Go to the source code of this file.
Typedefs | |
typedef FormData_pg_parameter_acl * | Form_pg_parameter_acl |
Functions | |
CATALOG (pg_parameter_acl, 6243, ParameterAclRelationId) BKI_SHARED_RELATION | |
DECLARE_TOAST_WITH_MACRO (pg_parameter_acl, 6244, 6245, PgParameterAclToastTable, PgParameterAclToastIndex) | |
DECLARE_UNIQUE_INDEX (pg_parameter_acl_parname_index, 6246, ParameterAclParnameIndexId, pg_parameter_acl, btree(parname text_ops)) | |
DECLARE_UNIQUE_INDEX_PKEY (pg_parameter_acl_oid_index, 6247, ParameterAclOidIndexId, pg_parameter_acl, btree(oid oid_ops)) | |
MAKE_SYSCACHE (PARAMETERACLNAME, pg_parameter_acl_parname_index, 4) | |
MAKE_SYSCACHE (PARAMETERACLOID, pg_parameter_acl_oid_index, 4) | |
Oid | ParameterAclLookup (const char *parameter, bool missing_ok) |
Oid | ParameterAclCreate (const char *parameter) |
Variables | |
FormData_pg_parameter_acl | |
Definition at line 49 of file pg_parameter_acl.h.
CATALOG | ( | pg_parameter_acl | , |
6243 | , | ||
ParameterAclRelationId | |||
) |
Definition at line 30 of file pg_parameter_acl.h.
References BKI_DEFAULT, and BKI_FORCE_NOT_NULL.
DECLARE_TOAST_WITH_MACRO | ( | pg_parameter_acl | , |
6244 | , | ||
6245 | , | ||
PgParameterAclToastTable | , | ||
PgParameterAclToastIndex | |||
) |
DECLARE_UNIQUE_INDEX | ( | pg_parameter_acl_parname_index | , |
6246 | , | ||
ParameterAclParnameIndexId | , | ||
pg_parameter_acl | , | ||
btree(parname text_ops) | |||
) |
DECLARE_UNIQUE_INDEX_PKEY | ( | pg_parameter_acl_oid_index | , |
6247 | , | ||
ParameterAclOidIndexId | , | ||
pg_parameter_acl | , | ||
btree(oid oid_ops) | |||
) |
MAKE_SYSCACHE | ( | PARAMETERACLNAME | , |
pg_parameter_acl_parname_index | , | ||
4 | |||
) |
MAKE_SYSCACHE | ( | PARAMETERACLOID | , |
pg_parameter_acl_oid_index | , | ||
4 | |||
) |
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().
FormData_pg_parameter_acl |
Definition at line 41 of file pg_parameter_acl.h.