Team Ai
Datasetpublic

codekingpro/portable-devtools

sourceHugging Faceupdated 5mo agoView on Hugging Face
1likes15kdownloads
pg_largeobject_metadata.h52 linesDownload Raw Back to catalog
1/*-------------------------------------------------------------------------2 *3 * pg_largeobject_metadata.h4 *	  definition of the "large object metadata" system catalog5 *	  (pg_largeobject_metadata)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_largeobject_metadata.h12 *13 * NOTES14 *	  The Catalog.pm module reads this file and derives schema15 *	  information.16 *17 *-------------------------------------------------------------------------18 */19#ifndef PG_LARGEOBJECT_METADATA_H20#define PG_LARGEOBJECT_METADATA_H21 22#include "catalog/genbki.h"23#include "catalog/pg_largeobject_metadata_d.h"24 25/* ----------------26 *		pg_largeobject_metadata definition. cpp turns this into27 *		typedef struct FormData_pg_largeobject_metadata28 * ----------------29 */30CATALOG(pg_largeobject_metadata,2995,LargeObjectMetadataRelationId)31{32	Oid			oid;			/* oid */33 34	Oid			lomowner BKI_LOOKUP(pg_authid); /* OID of the largeobject35												 * owner */36 37#ifdef CATALOG_VARLEN			/* variable-length fields start here */38	aclitem		lomacl[1];		/* access permissions */39#endif40} FormData_pg_largeobject_metadata;41 42/* ----------------43 *		Form_pg_largeobject_metadata corresponds to a pointer to a tuple44 *		with the format of pg_largeobject_metadata relation.45 * ----------------46 */47typedef FormData_pg_largeobject_metadata *Form_pg_largeobject_metadata;48 49DECLARE_UNIQUE_INDEX_PKEY(pg_largeobject_metadata_oid_index, 2996, LargeObjectMetadataOidIndexId, on pg_largeobject_metadata using btree(oid oid_ops));50 51#endif							/* PG_LARGEOBJECT_METADATA_H */52 
codekingpro/portable-devtools · Team Ai