Commit 7852a355 authored by Peter Eisentraut's avatar Peter Eisentraut

Add support for casting bit string constants.

parent 0f5c1b25
...@@ -8,7 +8,7 @@ ...@@ -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) ...@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment