diff options
| author | Bruce Momjian <bruce@momjian.us> | 1998-02-10 04:02:59 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 1998-02-10 04:02:59 +0000 |
| commit | 2c482cdbf20854f75b36fdf15b9e68403473228f (patch) | |
| tree | 573f7ff37c037e658675981e5b659e6171596f0d /src/include/catalog | |
| parent | 2535fcde2a8a56159ed90b0debc05cf3be06ac35 (diff) | |
| download | postgresql-2c482cdbf20854f75b36fdf15b9e68403473228f.tar.gz | |
Pass attypmod through to executor by adding to Var and Resdom.
Diffstat (limited to 'src/include/catalog')
| -rw-r--r-- | src/include/catalog/pg_attribute.h | 4 | ||||
| -rw-r--r-- | src/include/catalog/pg_type.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/catalog/pg_attribute.h b/src/include/catalog/pg_attribute.h index 98ecb807b5..a4a9dc3884 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.25 1998/02/07 06:11:56 momjian Exp $ + * $Id: pg_attribute.h,v 1.26 1998/02/10 04:02:16 momjian Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -95,8 +95,6 @@ CATALOG(pg_attribute) BOOTSTRAP * typed constant associated with a variable. We also have a hack in * execMain.c/execUtils.c that uses atttypmod to properly create tables * for SELECT * INTO TABLE test2 FROM test; - * One day, we may add this to Resdom, and pass it through all areas. - * 1998/1/18 bjm */ bool attbyval; diff --git a/src/include/catalog/pg_type.h b/src/include/catalog/pg_type.h index 76e4f52bda..56065752a8 100644 --- a/src/include/catalog/pg_type.h +++ b/src/include/catalog/pg_type.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: pg_type.h,v 1.31 1998/02/04 21:32:12 momjian Exp $ + * $Id: pg_type.h,v 1.32 1998/02/10 04:02:17 momjian Exp $ * * NOTES * the genbki.sh script reads this file and generates .bki @@ -156,6 +156,8 @@ DESCR("boolean 'true'/'false'"); DATA(insert OID = 17 ( bytea PGUID -1 -1 f b t \054 0 18 byteain byteaout byteain byteaout i _null_ )); DESCR("variable length array of bytes"); +#define BYTEAOID 17 + DATA(insert OID = 18 ( char PGUID 1 1 t b t \054 0 0 charin charout charin charout c _null_ )); DESCR("single character"); #define CHAROID 18 |
