Skip to content

Commit 7852a35

Browse files
committed
Add support for casting bit string constants.
1 parent 0f5c1b2 commit 7852a35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backend/parser/parse_expr.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.86 2000/10/07 00:58:17 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.87 2000/11/16 17:27:10 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -838,6 +838,7 @@ parser_typecast_constant(Value *expr, TypeName *typename)
838838
break;
839839
case T_Float:
840840
case T_String:
841+
case T_BitString:
841842
const_string = expr->val.str;
842843
break;
843844
case T_Null:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy