unclear enum error messages - Mailing list pgsql-hackers

From Peter Eisentraut
Subject unclear enum error messages
Date
Msg-id 200711281327.12473.peter_e@gmx.net
Whole thread Raw
Responses Re: unclear enum error messages
List pgsql-hackers
There are a few error messages like this in the code:
       /*        * We rely on being able to get the specific enum type from the calling        * expression tree.  The
generictype mechanism should have ensured that        * both are of the same type.        */       enumtypoid =
get_fn_expr_argtype(fcinfo->flinfo,0);       if (enumtypoid == InvalidOid)               ereport(ERROR,
             (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),                                errmsg("could not determine actual
enumtype")));
 

First, isn't this an internal error?

What is an actual enum type?  And how should a user react if he got this
message?  I would ask, "why not?".

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Still a NOTICE in dict_thesaurus.c
Next
From: Zdenek Kotala
Date:
Subject: Re: PG 7.3 is five years old today