Re: NOT NULL markings for BKI columns
От | Robert Haas |
---|---|
Тема | Re: NOT NULL markings for BKI columns |
Дата | |
Msg-id | 7F8B12F8-B630-4C97-953C-948B79AF6463@gmail.com обсуждение исходный текст |
Ответ на | Re: NOT NULL markings for BKI columns (Andres Freund <andres@2ndquadrant.com>) |
Список | pgsql-hackers |
On Apr 9, 2015, at 5:03 PM, Andres Freund <andres@2ndquadrant.com> wrote: >> 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? Yep. ...Robert
В списке pgsql-hackers по дате отправления: