unclear enum error messages

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема unclear enum error messages
Дата
Msg-id 200711281327.12473.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: unclear enum error messages  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Still a NOTICE in dict_thesaurus.c
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: PG 7.3 is five years old today