Digging gram.y

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Digging gram.y
Дата
Msg-id 45237DDE.7020403@sigaev.ru
обсуждение исходный текст
Ответы Re: Digging gram.y  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In gram.y
Typename:   SimpleTypename opt_array_bounds                {                    $$ = $1;
$$->arrayBounds= $2;                }            | SETOF SimpleTypename opt_array_bounds                {
    $$ = $2;                    $$->arrayBounds = $3;                    $$->setof = TRUE;                }
 

Typename is a generic name of type and it used in many places in gram.c, but 
AFAIK the single place with SETOF is a function's RETURNS declaration. So there 
is many checks about SETOF.  May I eliminate SETOF from Typename and leave it 
only for RETURNS?



-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: workaround for buggy strtod is not necessary
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: pgindent has been run