summaryrefslogtreecommitdiff
path: root/src/include/catalog/pg_class.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-10-24 01:38:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-10-24 01:38:44 +0000
commit4f44aa04b53f26d3abbf64beb0c1b3d10be324a3 (patch)
treef32ad3b8c4819e87ac1fdcbe296b60880da55b56 /src/include/catalog/pg_class.h
parentd7186cfa9b0807deb5c4f31975a4269efa0905cf (diff)
downloadpostgresql-4f44aa04b53f26d3abbf64beb0c1b3d10be324a3.tar.gz
Major overhaul of large-object implementation, by Denis Perchine with
kibitzing from Tom Lane. Large objects are now all stored in a single system relation "pg_largeobject" --- no more xinv or xinx files, no more relkind 'l'. This should offer substantial performance improvement for large numbers of LOs, since there won't be directory bloat anymore. It'll also fix problems like running out of locktable space when you access thousands of LOs in one transaction. Also clean up cruft in read/write routines. LOs with "holes" in them (never-written byte ranges) now work just like Unix files with holes do: a hole reads as zeroes but doesn't occupy storage space. INITDB forced!
Diffstat (limited to 'src/include/catalog/pg_class.h')
-rw-r--r--src/include/catalog/pg_class.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/catalog/pg_class.h b/src/include/catalog/pg_class.h
index a9592e7ddb..68db583fe3 100644
--- a/src/include/catalog/pg_class.h
+++ b/src/include/catalog/pg_class.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_class.h,v 1.43 2000/10/22 17:55:49 pjw Exp $
+ * $Id: pg_class.h,v 1.44 2000/10/24 01:38:41 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -174,7 +174,6 @@ DESCR("");
#define XactLockTableId 376
#define RELKIND_INDEX 'i' /* secondary index */
-#define RELKIND_LOBJECT 'l' /* large objects */
#define RELKIND_RELATION 'r' /* ordinary cataloged heap */
#define RELKIND_SPECIAL 's' /* special (non-heap) */
#define RELKIND_SEQUENCE 'S' /* SEQUENCE relation */