2009-12-11 04:34:57 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* pg_largeobject_metadata.h
|
|
|
|
* definition of the system "largeobject_metadata" relation (pg_largeobject_metadata)
|
|
|
|
* along with the relation's initial contents.
|
|
|
|
*
|
|
|
|
*
|
2015-01-06 17:43:47 +01:00
|
|
|
* Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group
|
2009-12-11 04:34:57 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/catalog/pg_largeobject_metadata.h
|
2009-12-11 04:34:57 +01:00
|
|
|
*
|
|
|
|
* NOTES
|
2010-01-05 02:06:57 +01:00
|
|
|
* the genbki.pl script reads this file and generates .bki
|
2009-12-11 04:34:57 +01:00
|
|
|
* information from the DATA() statements.
|
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PG_LARGEOBJECT_METADATA_H
|
|
|
|
#define PG_LARGEOBJECT_METADATA_H
|
|
|
|
|
|
|
|
#include "catalog/genbki.h"
|
|
|
|
|
|
|
|
/* ----------------
|
2010-02-26 03:01:40 +01:00
|
|
|
* pg_largeobject_metadata definition. cpp turns this into
|
2009-12-11 04:34:57 +01:00
|
|
|
* typedef struct FormData_pg_largeobject_metadata
|
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
#define LargeObjectMetadataRelationId 2995
|
|
|
|
|
|
|
|
CATALOG(pg_largeobject_metadata,2995)
|
|
|
|
{
|
|
|
|
Oid lomowner; /* OID of the largeobject owner */
|
2012-06-10 21:20:04 +02:00
|
|
|
|
2012-01-27 19:16:17 +01:00
|
|
|
#ifdef CATALOG_VARLEN /* variable-length fields start here */
|
2009-12-11 04:34:57 +01:00
|
|
|
aclitem lomacl[1]; /* access permissions */
|
2012-01-27 19:16:17 +01:00
|
|
|
#endif
|
2009-12-11 04:34:57 +01:00
|
|
|
} FormData_pg_largeobject_metadata;
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
* Form_pg_largeobject_metadata corresponds to a pointer to a tuple
|
|
|
|
* with the format of pg_largeobject_metadata relation.
|
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
typedef FormData_pg_largeobject_metadata *Form_pg_largeobject_metadata;
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
* compiler constants for pg_largeobject_metadata
|
|
|
|
* ----------------
|
|
|
|
*/
|
|
|
|
#define Natts_pg_largeobject_metadata 2
|
|
|
|
#define Anum_pg_largeobject_metadata_lomowner 1
|
|
|
|
#define Anum_pg_largeobject_metadata_lomacl 2
|
|
|
|
|
|
|
|
#endif /* PG_LARGEOBJECT_METADATA_H */
|