diff options
Diffstat (limited to 'src/include/catalog/pg_largeobject.h')
-rw-r--r-- | src/include/catalog/pg_largeobject.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/src/include/catalog/pg_largeobject.h b/src/include/catalog/pg_largeobject.h deleted file mode 100644 index 409aaf8d226..00000000000 --- a/src/include/catalog/pg_largeobject.h +++ /dev/null @@ -1,63 +0,0 @@ -/*------------------------------------------------------------------------- - * - * pg_largeobject.h - * definition of the system "largeobject" relation (pg_largeobject) - * along with the relation's initial contents. - * - * - * Portions Copyright (c) 1996-2000, PostgreSQL, Inc - * Portions Copyright (c) 1994, Regents of the University of California - * - * $Id: pg_largeobject.h,v 1.3 2000/10/21 15:55:28 momjian Exp $ - * - * NOTES - * the genbki.sh script reads this file and generates .bki - * information from the DATA() statements. - * - *------------------------------------------------------------------------- - */ -#ifndef PG_LARGEOBJECT_H -#define PG_LARGEOBJECT_H - -/* ---------------- - * postgres.h contains the system type definintions and the - * CATALOG(), BOOTSTRAP and DATA() sugar words so this file - * can be read by both genbki.sh and the C compiler. - * ---------------- - */ - -/* ---------------- - * pg_largeobject definition. cpp turns this into - * typedef struct FormData_pg_largeobject. Large object id - * is stored in loid; - * ---------------- - */ - -CATALOG(pg_largeobject) -{ - Oid loid; - int4 pageno; - bytea data; -} FormData_pg_largeobject; - -/* ---------------- - * Form_pg_largeobject corresponds to a pointer to a tuple with - * the format of pg_largeobject relation. - * ---------------- - */ -typedef FormData_pg_largeobject *Form_pg_largeobject; - -/* ---------------- - * compiler constants for pg_largeobject - * ---------------- - */ -#define Natts_pg_largeobject 3 -#define Anum_pg_largeobject_loid 1 -#define Anum_pg_largeobject_pageno 2 -#define Anum_pg_largeobject_data 3 - -Oid LargeobjectCreate(Oid loid); -void LargeobjectDrop(Oid loid); -int LargeobjectFind(Oid loid); - -#endif /* PG_LARGEOBJECT_H */ |