aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-12-15 18:02:47 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-12-15 18:02:47 +0000
commitb260c18cbcd4666bab80750e4a5949163cc41833 (patch)
treedec70a50c36bb14bf26dc1e77737528e3f5a2a93
parent207f6ed3f1a10567109eea36999d5a28cec4a6ae (diff)
downloadpostgresql-b260c18cbcd4666bab80750e4a5949163cc41833.tar.gz
postgresql-b260c18cbcd4666bab80750e4a5949163cc41833.zip
Remove obsolete comment.
-rw-r--r--src/backend/parser/parse_coerce.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/backend/parser/parse_coerce.c b/src/backend/parser/parse_coerce.c
index 859d3547c5e..fe4d22fb114 100644
--- a/src/backend/parser/parse_coerce.c
+++ b/src/backend/parser/parse_coerce.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.50 2000/11/17 19:57:47 petere Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.51 2000/12/15 18:02:47 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -174,7 +174,6 @@ coerce_type(ParseState *pstate, Node *node, Oid inputTypeId,
* This uses the same mechanism as the CAST() SQL construct in gram.y.
* We should also check the function return type on candidate conversion
* routines just to be safe but we do not do that yet...
- * We need to have a zero-filled OID array here, otherwise the cache lookup fails.
* - thomas 1998-03-31
*/
bool
@@ -448,14 +447,6 @@ TypeCategory(Oid inType)
result = STRING_TYPE;
break;
- /*
- * Kluge added 4/8/00 by tgl: treat the new BIT types as
- * strings, so that 'unknown' || 'unknown' continues to
- * resolve as textcat rather than generating an
- * ambiguous-operator error. Probably BIT types should have
- * their own type category, or maybe they should be numeric?
- * Need a better way of handling unknown types first.
- */
case (ZPBITOID):
case (VARBITOID):
result = BITSTRING_TYPE;