mirror of https://github.com/postgres/postgres.git
Add lztext to TypeCategory so that lztext OP text cases will work
correctly (the lztext value will be promoted to text automatically).REL7_0_PATCHES
parent
8d0f1dd179
commit
52a8d71203
|
|
@ -8,7 +8,7 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.32 2000/02/20 21:32:09 tgl Exp $
|
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.33 2000/02/27 18:54:43 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
@ -300,10 +300,12 @@ TypeCategory(Oid inType)
|
||||||
case (BPCHAROID):
|
case (BPCHAROID):
|
||||||
case (VARCHAROID):
|
case (VARCHAROID):
|
||||||
case (TEXTOID):
|
case (TEXTOID):
|
||||||
|
case (LZTEXTOID):
|
||||||
result = STRING_TYPE;
|
result = STRING_TYPE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case (OIDOID):
|
case (OIDOID):
|
||||||
|
case (REGPROCOID):
|
||||||
case (INT2OID):
|
case (INT2OID):
|
||||||
case (INT4OID):
|
case (INT4OID):
|
||||||
case (INT8OID):
|
case (INT8OID):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue