Re: Make foo=null a warning by default.

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: Make foo=null a warning by default.
Дата
Msg-id 20180720050637.GB29917@fetter.org
обсуждение исходный текст
Ответ на Re: Make foo=null a warning by default.  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: Make foo=null a warning by default.  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On Thu, Jul 19, 2018 at 06:37:39AM -0400, Fabien COELHO wrote:
> 
> Hello David,
> 
> All is nearly well, although "make docs" found a typo. I should have tested
> doc building before, sorry for this new round which should have been
> avoided.
> 
>   "<replacable>null_expression</replaceable>"
> 
> s/<replacable>/<replaceable>/;

Fixed.

> Also, while reading the full documentation about the setting: I find this
> sentence a bit strange:
> 
> """
> But new users are frequently confused about the semantics of expressions
> involving null values, so this option is off by default.
> """
> 
> It appears to justify why the option is off by default, but this is not the
> actual reason, which was already provided at the end of the preceding
> paragraph.
> 
> I would suggest to remove this "But..." sentence, or turn it differently,
> maybe something like:
> 
> """ New users are frequently confused about the semantics of expressions
> involving null values: beware that turning this option on might bring even
> more confusion. """

I've changed it to something that makes more sense to me. Hope it
makes more sense to others.

Best,
David.
-- 
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: de-deduplicate code in DML execution hooks in postgres_fdw
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Possible performance regression in version 10.1 with pgbenchread-write tests.