Re: NOT NULL markings for BKI columns

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: NOT NULL markings for BKI columns
Дата
Msg-id 20150409113308.GA23636@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: NOT NULL markings for BKI columns  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Ответы Re: NOT NULL markings for BKI columns  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
> Specifically, this code chunk:
> 
> +                   if (defined $attopt)
> +                   {
> +                       if ($attopt eq 'PG_FORCE_NULL')
> +                       {
> +                           $row{'forcenull'} = 1;
> +                       }
> +                       elsif ($attopt eq 'BKI_FORCE_NOT_NULL')
> +                       {
> +                           $row{'forcenotnull'} = 1;
> +                       }
> +                       else
> +                       {
> +                           die "unknown column option $attopt on column
> $attname"
> +                       }
> +                   }
> 

> We should have BKI_FORCE_NULL instead of PG_FORCE_NULL in the comparison.

Ick. Thanks. Fixed.

Just out of interest and if you can answer: What are you using it for? I
guess it's AS?

Greetings,

Andres Freund



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: SSL information view
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "rejected" vs "returned with feedback" in new CF app