]> granicus.if.org Git - postgresql/commitdiff
Pg_varaiable removal cleanup found from regression.
authorBruce Momjian <bruce@momjian.us>
Mon, 14 May 2001 21:58:10 +0000 (21:58 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 14 May 2001 21:58:10 +0000 (21:58 +0000)
src/backend/catalog/Makefile
src/include/catalog/pg_attribute.h
src/include/catalog/pg_variable.h [deleted file]

index 4c5f023f3540ae3b62da41684a17e3507ad9d698..51a1aecca1141e3849d547c2543eb63a83cdbdc1 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Makefile for catalog
 #
-# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.33 2001/05/14 20:30:19 momjian Exp $
+# $Header: /cvsroot/pgsql/src/backend/catalog/Makefile,v 1.34 2001/05/14 21:58:10 momjian Exp $
 #
 #-------------------------------------------------------------------------
 
@@ -23,7 +23,7 @@ SUBSYS.o: $(OBJS)
 
 
 GLOBAL_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
-       pg_database.h pg_variable.h pg_shadow.h pg_group.h pg_log.h \
+       pg_database.h pg_shadow.h pg_group.h pg_log.h \
     )
 
 TEMPLATE1_BKI_SRCS := $(addprefix $(top_srcdir)/src/include/catalog/,\
index 6e11aa6d530707371c7b5b0f5af4e4174c4919f5..c74dc33f74dd7137bd87ac19902bf619619ce2f0 100644 (file)
@@ -8,7 +8,7 @@
  * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pg_attribute.h,v 1.71 2001/05/07 00:43:24 tgl Exp $
+ * $Id: pg_attribute.h,v 1.72 2001/05/14 21:58:10 momjian Exp $
  *
  * NOTES
  *       the genbki.sh script reads this file and generates .bki
@@ -527,17 +527,6 @@ DATA(insert OID = 0 ( 1219 xmax                            28 0  4  -5 0 -1 -1 t p f i f f));
 DATA(insert OID = 0 ( 1219 cmax                                29 0  4  -6 0 -1 -1 t p f i f f));
 DATA(insert OID = 0 ( 1219 tableoid                    26 0  4  -7 0 -1 -1 t p f i f f));
 
-/* ----------------
- *             pg_variable - this relation is modified by special purpose access
- *                               method code.  The following is garbage but is needed
- *                               so that the reldesc code works properly.
- * ----------------
- */
-#define Schema_pg_variable \
-{ 1264, {"varfoo"},  26, 0, 4, 1, 0, -1, -1, true, 'p', false, 'i', false, false }
-
-DATA(insert OID = 0 ( 1264 varfoo                      26 0  4   1 0 -1 -1 t p f i f f));
-
 /* ----------------
  *             pg_log - this relation is modified by special purpose access
  *                               method code.  The following is garbage but is needed
diff --git a/src/include/catalog/pg_variable.h b/src/include/catalog/pg_variable.h
deleted file mode 100644 (file)
index 5010633..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-/*-------------------------------------------------------------------------
- *
- * pg_variable.h
- *       the system variable relation "pg_variable" is not a "heap" relation.
- *       it is automatically created by the transam/ code and the
- *       information here is all bogus and is just here to make the
- *       relcache code happy.
- *
- *
- * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
- * Portions Copyright (c) 1994, Regents of the University of California
- *
- * $Id: pg_variable.h,v 1.8 2001/01/24 19:43:23 momjian Exp $
- *
- * NOTES
- *       The structures and macros used by the transam/ code
- *       to access pg_variable should someday go here -cim 6/18/90
- *
- *-------------------------------------------------------------------------
- */
-#ifndef PG_VARIABLE_H
-#define PG_VARIABLE_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.
- * ----------------
- */
-
-CATALOG(pg_variable) BOOTSTRAP
-{
-       Oid                     varfoo;
-} FormData_pg_variable;
-
-typedef FormData_pg_variable *Form_pg_variable;
-
-#define Natts_pg_variable              1
-#define Anum_pg_variable_varfoo 1
-
-#endif  /* PG_VARIABLE_H */