Help with SET NULL/SET NOT NULL

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Help with SET NULL/SET NOT NULL
Дата
Msg-id GNELIHDDFBOCMGBFGEFOEEMPCBAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Список pgsql-hackers
Hi all,

I did an initial patch for ALTER TABLE / SET NULL that should just say 'not
implemented' when someone tries it, but I get this:

template1=# alter table test alter column a set null;
ERROR:  parser: parse error at or near "null"
template1=# alter table test alter column a set null_p;
ERROR:  parser: parse error at or near "null_p"
template1=# alter table test alter column a set not null;
ERROR:  parser: parse error at or near "not"

What have I missed?

All regression tests pass...

Attached is context diff

I'm pretty sure that I haven't done preproc.y correctly either...

Chris

ps. DON'T COMMIT THIS PATCH!!!

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_control contents
Следующее
От: "Dwayne Miller"
Дата:
Сообщение: Re: SET NULL/SET NOT NULL