Re: Lots of incorrect comments in nodeFuncs.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Lots of incorrect comments in nodeFuncs.c
Дата
Msg-id 1939597.1617927448@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Lots of incorrect comments in nodeFuncs.c  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Lots of incorrect comments in nodeFuncs.c
Список pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes:
> hmm ok.  I imagine there must be a better way to say that then since
> it confused at least 1 reader so far.  My problem is that I assumed
> "result" meant the result of the function that the comment is written
> in, not the result of evaluating the given expression during
> execution. If that was more clear then I'd not have been misled.

Maybe like

                case T_ScalarArrayOpExpr:
                    /* ScalarArrayOpExpr's result is boolean ... */
                    coll = InvalidOid;      /* ... so it has no collation */
                    break;

?

            regards, tom lane



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

Предыдущее
От: Peter Lee
Дата:
Сообщение: Postgresql 13 supported on Solaris 11 O/S on SPARC hardware?
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Simplify backend terminate and wait logic in postgres_fdw test