Hello. Some example: compile and install contrib/tsearch module and now: wow=# create table foo (bar txtidx); CREATE wow=# \d foo Table "foo" Column | Type | Modifiers --------+--------+----------- bar | txtidx | not null Why field 'bar' has modifier 'not null'? -- Teodor Sigaev teodor@stack.net
Teodor Sigaev <teodor@stack.net> writes:
> Why field 'bar' has modifier 'not null'?
Hmm ... looks like CREATE TYPE is leaving typnotnull set TRUE for user-
created types; all the types created on-the-fly in the regression tests
have the same problem. A bug, I agree. Don't see where the error is
yet...
regards, tom lane
Teodor Sigaev <teodor@stack.net> writes:
> Why field 'bar' has modifier 'not null'?
Oh ... last parameter of TypeCreate should be false not 'f' ...
two places in define.c. Bug introduced in DOMAIN patch evidently.
I have a ton of other changes I'm about to commit in that area,
will fix this one too.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера