Skip to content

Commit 52a8d71

Browse files
committed
Add lztext to TypeCategory so that lztext OP text cases will work
correctly (the lztext value will be promoted to text automatically).
1 parent 8d0f1dd commit 52a8d71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/parser/parse_coerce.c

Lines changed: 3 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_coerce.c,v 2.32 2000/02/20 21:32:09 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.33 2000/02/27 18:54:43 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -300,10 +300,12 @@ TypeCategory(Oid inType)
300300
case (BPCHAROID):
301301
case (VARCHAROID):
302302
case (TEXTOID):
303+
case (LZTEXTOID):
303304
result = STRING_TYPE;
304305
break;
305306

306307
case (OIDOID):
308+
case (REGPROCOID):
307309
case (INT2OID):
308310
case (INT4OID):
309311
case (INT8OID):

0 commit comments

Comments
 (0)