Removing all NOT NULL constraints from multiple tables easily

Поиск
Список
Период
Сортировка
От Dan Browning
Тема Removing all NOT NULL constraints from multiple tables easily
Дата
Msg-id 000401c01bf4$ba62ef30$1500000a@danb
обсуждение исходный текст
Список pgsql-novice
I would like to remove all NOT NULL constraints from my tables.

I've tried ALTER TABLE, but I can't seem to get the syntax right, and the
docs aren't clear to me.
What is the correct syntax?  If there's another way, short of manually
recreating (dump, create, import) the tables, I'd love to hear it.

Thanks,

Dan Browning
Network & Database Administrator
Cyclone Computer Systems


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