aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/backend/parser/analyze.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c
index 478ae973e5c..5c5942e4b7c 100644
--- a/src/backend/parser/analyze.c
+++ b/src/backend/parser/analyze.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: analyze.c,v 1.166 2000/11/16 22:30:28 tgl Exp $
+ * $Id: analyze.c,v 1.167 2000/11/18 16:17:20 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2891,6 +2891,10 @@ transformColumnType(ParseState *pstate, ColumnDef *column)
typename->typmod = VARHDRSZ +
((NUMERIC_DEFAULT_PRECISION << 16) | NUMERIC_DEFAULT_SCALE);
break;
+ case ZPBITOID:
+ /* 'bit' -> 'bit(1)' */
+ typename->typmod = 1;
+ break;
}
}