aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_target.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-06-24 02:41:21 +0000
committerBruce Momjian <bruce@momjian.us>2001-06-24 02:41:21 +0000
commit06f6404c42adf8bed33a32b0bfbb6e217df8bf7c (patch)
treeab0f0efdf57442fe8bb45eee5266a050ecc9f520 /src/backend/parser/parse_target.c
parentaea3283cb4c4ede7fb162b8922b05c4aa31c07bd (diff)
downloadpostgresql-06f6404c42adf8bed33a32b0bfbb6e217df8bf7c.tar.gz
postgresql-06f6404c42adf8bed33a32b0bfbb6e217df8bf7c.zip
Back out BYTEA binary compatibility changes.
Diffstat (limited to 'src/backend/parser/parse_target.c')
-rw-r--r--src/backend/parser/parse_target.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/parser/parse_target.c b/src/backend/parser/parse_target.c
index 88a69b4c2b9..bc8d508b586 100644
--- a/src/backend/parser/parse_target.c
+++ b/src/backend/parser/parse_target.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.68 2001/06/23 22:23:49 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.69 2001/06/24 02:41:21 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -56,7 +56,7 @@ transformTargetEntry(ParseState *pstate,
expr = transformExpr(pstate, node, EXPR_COLUMN_FIRST);
if (IsA(expr, Ident) && ((Ident *)expr)->isRel)
- elog(ERROR,"You can't use relation names alone in the target list, try relation.*.");
+ elog(ERROR,"You can't use relation names alone in the target list, try relation.*.");
type_id = exprType(expr);
type_mod = exprTypmod(expr);
@@ -311,9 +311,7 @@ CoerceTargetExpr(ParseState *pstate,
* string hacks to get transparent conversions w/o explicit
* conversions
*/
- else if (attrtype == BPCHAROID ||
- attrtype == VARCHAROID ||
- attrtype == BYTEAOID)
+ else if ((attrtype == BPCHAROID) || (attrtype == VARCHAROID))
{
Oid text_id = TEXTOID;