summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2001-01-14 22:17:22 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2001-01-14 22:17:22 +0000
commit8a0c9b17a5c4a2dbeaf4c7f087f502d8f828015b (patch)
tree882f1f73777b5126f8314701fda6410896e815c1
parenta3cac3a03b088257d90080e905ca525ad76f206c (diff)
pg_database's datpath column must not be marked toastable, because
GetRawDatabaseInfo() won't cope with a compressed path spec (much less a moved-off one). I'm not going to force an initdb for this change, because it's noncritical --- we're not actually using datpath at all right now. But it seems a good idea to apply the fix while I'm thinking about it.
-rw-r--r--src/include/catalog/pg_attribute.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/catalog/pg_attribute.h b/src/include/catalog/pg_attribute.h
index f71aca0f092..adbaf1d7ba7 100644
--- a/src/include/catalog/pg_attribute.h
+++ b/src/include/catalog/pg_attribute.h
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pg_attribute.h,v 1.67 2000/11/14 18:37:46 tgl Exp $
+ * $Id: pg_attribute.h,v 1.68 2001/01/14 22:17:22 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -284,7 +284,8 @@ DATA(insert OID = 0 ( 1262 encoding 23 0 4 3 0 -1 -1 t p f i f f));
DATA(insert OID = 0 ( 1262 datistemplate 16 0 1 4 0 -1 -1 t p f c f f));
DATA(insert OID = 0 ( 1262 datallowconn 16 0 1 5 0 -1 -1 t p f c f f));
DATA(insert OID = 0 ( 1262 datlastsysoid 26 0 4 6 0 -1 -1 t p f i f f));
-DATA(insert OID = 0 ( 1262 datpath 25 0 -1 7 0 -1 -1 f x f i f f));
+/* do not mark datpath as toastable; GetRawDatabaseInfo won't cope */
+DATA(insert OID = 0 ( 1262 datpath 25 0 -1 7 0 -1 -1 f p f i f f));
DATA(insert OID = 0 ( 1262 ctid 27 0 6 -1 0 -1 -1 f p f i f f));
DATA(insert OID = 0 ( 1262 oid 26 0 4 -2 0 -1 -1 t p f i f f));
DATA(insert OID = 0 ( 1262 xmin 28 0 4 -3 0 -1 -1 t p f i f f));