aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-10-14 22:12:49 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-10-14 22:12:49 +0000
commitea3728ee5b60ee479caa865590d14f71f612dcdb (patch)
treed12dc2928fed680bcc6addee45fb778fe4165281 /src
parent50634c13e4c8e2438824bbd571365e0dc55db02a (diff)
downloadpostgresql-ea3728ee5b60ee479caa865590d14f71f612dcdb.tar.gz
postgresql-ea3728ee5b60ee479caa865590d14f71f612dcdb.zip
Add missing entries for bit<->int4 and bit<->int8 conversions.
Diffstat (limited to 'src')
-rw-r--r--src/include/catalog/pg_cast.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/catalog/pg_cast.h b/src/include/catalog/pg_cast.h
index 48ff930bafb..d2894d926f4 100644
--- a/src/include/catalog/pg_cast.h
+++ b/src/include/catalog/pg_cast.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 2002, PostgreSQL Global Development Group
*
- * $Id: pg_cast.h,v 1.4 2002/09/18 21:35:23 tgl Exp $
+ * $Id: pg_cast.h,v 1.5 2002/10/14 22:12:49 tgl Exp $
*
* NOTES
* the genbki.sh script reads this file and generates .bki
@@ -234,6 +234,11 @@ DATA(insert ( 869 650 0 i ));
*/
DATA(insert ( 1560 1562 0 i ));
DATA(insert ( 1562 1560 0 i ));
+/* Cross-category casts between bit and int4, int8 */
+DATA(insert ( 20 1560 2075 e ));
+DATA(insert ( 23 1560 1683 e ));
+DATA(insert ( 1560 20 2076 e ));
+DATA(insert ( 1560 23 1684 e ));
/*
* Cross-category casts to and from TEXT