diff options
author | Bruce Momjian <bruce@momjian.us> | 2001-06-23 22:23:49 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2001-06-23 22:23:49 +0000 |
commit | 6a7f23c2138d67a3311873ff58c14ad4224310bb (patch) | |
tree | 848d806020bbfa19655f47124b71a6f2751a0325 /src/backend/parser/parse_target.c | |
parent | 2e2d17ed51a478dce46400cd23dfa0889c57b592 (diff) | |
download | postgresql-6a7f23c2138d67a3311873ff58c14ad4224310bb.tar.gz postgresql-6a7f23c2138d67a3311873ff58c14ad4224310bb.zip |
> Marko Kreen <marko@l-t.ee> writes:
> > secure_ctx changes too. it will be PGC_BACKEND after '-p'.
>
> Oh, okay, I missed that part. Could we see the total state of the
> patch --- ie, a diff against current CVS, not a bunch of deltas?
> I've gotten confused about what's in and what's out.
Ok, here it is. Cleared the ctx comment too - after -p
it will be PGC_BACKEND in any case.
Marko Kreen
Diffstat (limited to 'src/backend/parser/parse_target.c')
-rw-r--r-- | src/backend/parser/parse_target.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/backend/parser/parse_target.c b/src/backend/parser/parse_target.c index be48c899ddb..88a69b4c2b9 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.67 2001/05/21 18:42:08 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.68 2001/06/23 22:23:49 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,7 +311,9 @@ CoerceTargetExpr(ParseState *pstate, * string hacks to get transparent conversions w/o explicit * conversions */ - else if ((attrtype == BPCHAROID) || (attrtype == VARCHAROID)) + else if (attrtype == BPCHAROID || + attrtype == VARCHAROID || + attrtype == BYTEAOID) { Oid text_id = TEXTOID; |