From c06f6a6bc2bce09df9b945ac29de152daec0dcf7 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 27 Apr 2002 21:24:34 +0000 Subject: Support toasting of shared system relations, and provide toast tables for pg_database, pg_shadow, pg_group, all of which now have potentially-long fields. Along the way, get rid of SharedSystemRelationNames list: shared rels are now identified in their include/pg_catalog/*.h files by a BKI_SHARED_RELATION macro, while indexes and toast rels inherit sharedness automatically from their parent table. Fix some bugs with failure to detoast pg_group.grolist during ALTER GROUP. --- src/include/postgres.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include/postgres.h') diff --git a/src/include/postgres.h b/src/include/postgres.h index cc647c2d2db..4fd2fd9bbdc 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -10,7 +10,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.56 2001/11/05 17:46:31 momjian Exp $ + * $Id: postgres.h,v 1.57 2002/04/27 21:24:34 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -597,7 +597,7 @@ extern int assertTest(int val); #define CATALOG(x) typedef struct CppConcat(FormData_,x) #define BOOTSTRAP - +#define BKI_SHARED_RELATION #define BKI_WITHOUT_OIDS /* these need to expand into some harmless, repeatable declaration */ -- cgit v1.2.3