From: Vadim B. Mikheev Date: Fri, 22 Aug 1997 04:04:19 +0000 (+0000) Subject: Set attbyval for attdisbursion to FALSE X-Git-Tag: REL6_2~350 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d67547d82d0a23ec61eca0cb637087d47db1d47f;p=postgresql Set attbyval for attdisbursion to FALSE Set atttype for relchecks to 21 (int2) Set relkind for pg_attrdef & pg_relcheck to 'n' --- diff --git a/src/include/catalog/pg_attribute.h b/src/include/catalog/pg_attribute.h index c7192c9978..636077d33b 100644 --- a/src/include/catalog/pg_attribute.h +++ b/src/include/catalog/pg_attribute.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pg_attribute.h,v 1.11 1997/08/21 03:02:13 momjian Exp $ + * $Id: pg_attribute.h,v 1.12 1997/08/22 04:04:18 vadim Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -362,7 +362,7 @@ DATA(insert OID = 0 ( 1261 vtype 18 0 1 -11 0 -1 t f c f f)); { 1249l, {"attrelid"}, 26l, 0l, 4, 1, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \ { 1249l, {"attname"}, 19l, 0l, NAMEDATALEN, 2, 0l, -1l, '\0', '\0', 'i', '\0', '\0' }, \ { 1249l, {"atttypid"}, 26l, 0l, 4, 3, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \ -{ 1249l, {"attdisbursion"}, 700l, 0l, 4, 4, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \ +{ 1249l, {"attdisbursion"}, 700l, 0l, 4, 4, 0l, -1l, '\0', '\0', 'i', '\0', '\0' }, \ { 1249l, {"attlen"}, 21l, 0l, 2, 5, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \ { 1249l, {"attnum"}, 21l, 0l, 2, 6, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \ { 1249l, {"attnelems"}, 23l, 0l, 4, 7, 0l, -1l, '\001', '\0', 'i', '\0', '\0' }, \ @@ -376,7 +376,7 @@ DATA(insert OID = 0 ( 1261 vtype 18 0 1 -11 0 -1 t f c f f)); DATA(insert OID = 0 ( 1249 attrelid 26 0 4 1 0 -1 t f i f f)); DATA(insert OID = 0 ( 1249 attname 19 0 NAMEDATALEN 2 0 -1 f f i f f)); DATA(insert OID = 0 ( 1249 atttypid 26 0 4 3 0 -1 t f i f f)); -DATA(insert OID = 0 ( 1249 attdisbursion 700 0 4 4 0 -1 t f i f f)); +DATA(insert OID = 0 ( 1249 attdisbursion 700 0 4 4 0 -1 f f i f f)); DATA(insert OID = 0 ( 1249 attlen 21 0 2 5 0 -1 t f s f f)); DATA(insert OID = 0 ( 1249 attnum 21 0 2 6 0 -1 t f s f f)); DATA(insert OID = 0 ( 1249 attnelems 23 0 4 7 0 -1 t f i f f)); @@ -417,7 +417,7 @@ DATA(insert OID = 0 ( 1249 vtype 18 0 1 -11 0 -1 t f c f f)); { 1259l, {"relarch"}, 18, 0l, 1, 11, 0l, -1l, '\001', '\0', 'c', '\0', '\0' }, \ { 1259l, {"relnatts"}, 21, 0l, 2, 12, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \ { 1259l, {"relsmgr"}, 210l, 0l, 2, 13, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \ -{ 1259l, {"relchecks"}, 210l, 0l, 2, 14, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \ +{ 1259l, {"relchecks"}, 21l, 0l, 2, 14, 0l, -1l, '\001', '\0', 's', '\0', '\0' }, \ { 1259l, {"relhasrules"}, 16, 0l, 1, 15, 0l, -1l, '\001', '\0', 'c', '\0', '\0' }, \ { 1259l, {"relacl"}, 1034l, 0l, -1, 16, 0l, -1l, '\0', '\0', 'i', '\0', '\0' } @@ -435,7 +435,7 @@ DATA(insert OID = 0 ( 1259 relkind 18 0 1 10 0 -1 t f c f f)); DATA(insert OID = 0 ( 1259 relarch 18 0 1 11 0 -1 t f c f f)); DATA(insert OID = 0 ( 1259 relnatts 21 0 2 12 0 -1 t f s f f)); DATA(insert OID = 0 ( 1259 relsmgr 210 0 2 13 0 -1 t f s f f)); -DATA(insert OID = 0 ( 1259 relchecks 210 0 2 14 0 -1 t f s f f)); +DATA(insert OID = 0 ( 1259 relchecks 21 0 2 14 0 -1 t f s f f)); DATA(insert OID = 0 ( 1259 relhasrules 16 0 1 15 0 -1 t f c f f)); DATA(insert OID = 0 ( 1259 relacl 1034 0 -1 16 0 -1 f f i f f)); DATA(insert OID = 0 ( 1259 ctid 27 0 6 -1 0 -1 f f i f f)); diff --git a/src/include/catalog/pg_class.h b/src/include/catalog/pg_class.h index 3a3e0dc0f9..83a0accf1b 100644 --- a/src/include/catalog/pg_class.h +++ b/src/include/catalog/pg_class.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pg_class.h,v 1.6 1997/08/21 01:37:52 vadim Exp $ + * $Id: pg_class.h,v 1.7 1997/08/22 04:04:19 vadim Exp $ * * NOTES * ``pg_relation'' is being replaced by ``pg_class''. currently @@ -135,8 +135,8 @@ DATA(insert OID = 1264 ( pg_variable 90 PGUID 0 0 0 0 0 f t s n 2 0 0 f _n DATA(insert OID = 1269 ( pg_log 99 PGUID 0 0 0 0 0 f t s n 1 0 0 f _null_ )); DATA(insert OID = 1271 ( pg_time 100 PGUID 0 0 0 0 0 f t s n 1 0 0 f _null_ )); DATA(insert OID = 1273 ( pg_hosts 101 PGUID 0 0 0 0 0 f t s n 3 0 0 f _null_ )); -DATA(insert OID = 1215 ( pg_attrdef 109 PGUID 0 0 0 0 0 t t s n 4 0 0 f _null_ )); -DATA(insert OID = 1216 ( pg_relcheck 110 PGUID 0 0 0 0 0 t t s n 4 0 0 f _null_ )); +DATA(insert OID = 1215 ( pg_attrdef 109 PGUID 0 0 0 0 0 t t r n 4 0 0 f _null_ )); +DATA(insert OID = 1216 ( pg_relcheck 110 PGUID 0 0 0 0 0 t t r n 4 0 0 f _null_ )); #define RelOid_pg_type 1247 #define RelOid_pg_demon 1251