Fix obsolete comment regarding FSM truncation.
[PostgreSQL.git] / src / include / catalog / pg_largeobject.h
blobd75759424573b6f940232c749c75f8610e1fa1f5
1 /*-------------------------------------------------------------------------
3 * pg_largeobject.h
4 * definition of the system "largeobject" relation (pg_largeobject)
5 * along with the relation's initial contents.
8 * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
9 * Portions Copyright (c) 1994, Regents of the University of California
11 * $PostgreSQL$
13 * NOTES
14 * the genbki.sh script reads this file and generates .bki
15 * information from the DATA() statements.
17 *-------------------------------------------------------------------------
19 #ifndef PG_LARGEOBJECT_H
20 #define PG_LARGEOBJECT_H
22 #include "catalog/genbki.h"
24 /* ----------------
25 * pg_largeobject definition. cpp turns this into
26 * typedef struct FormData_pg_largeobject
27 * ----------------
29 #define LargeObjectRelationId 2613
31 CATALOG(pg_largeobject,2613) BKI_WITHOUT_OIDS
33 Oid loid; /* Identifier of large object */
34 int4 pageno; /* Page number (starting from 0) */
35 bytea data; /* Data for page (may be zero-length) */
36 } FormData_pg_largeobject;
38 /* ----------------
39 * Form_pg_largeobject corresponds to a pointer to a tuple with
40 * the format of pg_largeobject relation.
41 * ----------------
43 typedef FormData_pg_largeobject *Form_pg_largeobject;
45 /* ----------------
46 * compiler constants for pg_largeobject
47 * ----------------
49 #define Natts_pg_largeobject 3
50 #define Anum_pg_largeobject_loid 1
51 #define Anum_pg_largeobject_pageno 2
52 #define Anum_pg_largeobject_data 3
54 extern void LargeObjectCreate(Oid loid);
55 extern void LargeObjectDrop(Oid loid);
56 extern bool LargeObjectExists(Oid loid);
58 #endif /* PG_LARGEOBJECT_H */