1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-13 16:22:44 +03:00

Reverse out BYTEA type coersion.

This commit is contained in:
Bruce Momjian
2000-03-20 15:42:47 +00:00
parent df238b2c06
commit 2216584bcf
3 changed files with 3 additions and 13 deletions

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.38 2000/03/20 04:02:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/parser/parse_coerce.c,v 2.39 2000/03/20 15:42:45 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -320,7 +320,6 @@ TypeCategory(Oid inType)
case (NAMEOID):
case (BPCHAROID):
case (VARCHAROID):
case (BYTEAOID):
case (TEXTOID):
case (LZTEXTOID):
result = STRING_TYPE;
@@ -551,7 +550,6 @@ PromoteLesserType(Oid inType1, Oid inType2, Oid *newType1, Oid *newType2)
{
case (BPCHAROID):
case (VARCHAROID):
case (BYTEAOID):
case (TEXTOID):
case (INT2OID):

View File

@@ -15,7 +15,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.59 2000/03/20 04:26:01 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/selfuncs.c,v 1.60 2000/03/20 15:42:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -536,7 +536,6 @@ convert_to_scalar(Datum value, Oid typid,
}
case BPCHAROID:
case VARCHAROID:
case BYTEAOID:
case TEXTOID:
if (VARSIZE(DatumGetPointer(value)) > VARHDRSZ)
{