Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postgres/src/include/catalog/   (Postgres Database Version 18.4©)  Datei vom 11.4.2026 mit Größe 2 kB image not shown  

Quelle  pg_authid.h

  Sprache: C
 

/*-------------------------------------------------------------------------
 *
 * pg_authid.h
 *   definition of the "authorization identifier" system catalog (pg_authid)
 *
 *   pg_shadow and pg_group are now views on pg_authid.
 *
 *
 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * src/include/catalog/pg_authid.h
 *
 * NOTES
 *   The Catalog.pm module reads this file and derives schema
 *   information.
 *
 *-------------------------------------------------------------------------
 */

#ifndef PG_AUTHID_H
#define PG_AUTHID_H

#include "catalog/genbki.h"
#include "catalog/pg_authid_d.h" /* IWYU pragma: export */

/* ----------------
 *  pg_authid definition.  cpp turns this into
 *  typedef struct FormData_pg_authid
 * ----------------
 */

CATALOG(pg_authid,1260,AuthIdRelationId) BKI_SHARED_RELATION BKI_ROWTYPE_OID(2842,AuthIdRelation_Rowtype_Id) BKI_SCHEMA_MACRO
{
 Oid   oid;   /* oid */
 NameData rolname;  /* name of role */
 bool  rolsuper;  /* read this field via superuser() only! */
 bool  rolinherit;  /* inherit privileges from other roles? */
 bool  rolcreaterole; /* allowed to create more roles? */
 bool  rolcreatedb; /* allowed to create databases? */
 bool  rolcanlogin; /* allowed to log in as session user? */
 bool  rolreplication; /* role used for streaming replication */
 bool  rolbypassrls; /* bypasses row-level security? */
 int32  rolconnlimit; /* max connections allowed (-1=no limit) */

 /* remaining fields may be null; use heap_getattr to read them! */
#ifdef CATALOG_VARLEN   /* variable-length fields start here */
 text  rolpassword; /* password, if any */
 timestamptz rolvaliduntil; /* password expiration time, if any */
#endif
} FormData_pg_authid;

/* ----------------
 *  Form_pg_authid corresponds to a pointer to a tuple with
 *  the format of pg_authid relation.
 * ----------------
 */

typedef FormData_pg_authid *Form_pg_authid;

DECLARE_UNIQUE_INDEX(pg_authid_rolname_index, 2676, AuthIdRolnameIndexId, pg_authid, btree(rolname name_ops));
DECLARE_UNIQUE_INDEX_PKEY(pg_authid_oid_index, 2677, AuthIdOidIndexId, pg_authid, btree(oid oid_ops));

MAKE_SYSCACHE(AUTHNAME, pg_authid_rolname_index, 8);
MAKE_SYSCACHE(AUTHOID, pg_authid_oid_index, 8);

#endif       /* PG_AUTHID_H */

Messung V0.5 in Prozent
C=91 H=97 G=93

¤ Dauer der Verarbeitung: 0.13 Sekunden  (vorverarbeitet am  2026-08-08) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.