Add support for casting bit string constants.

This commit is contained in:
Peter Eisentraut 2000-11-16 17:27:10 +00:00
parent 0f5c1b251d
commit 7852a35515

View File

@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.86 2000/10/07 00:58:17 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.87 2000/11/16 17:27:10 petere Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
@ -838,6 +838,7 @@ parser_typecast_constant(Value *expr, TypeName *typename)
break; break;
case T_Float: case T_Float:
case T_String: case T_String:
case T_BitString:
const_string = expr->val.str; const_string = expr->val.str;
break; break;
case T_Null: case T_Null: