Cómo cambiar una columna PG a NULLABLE TRUE?


¿Cómo puedo lograr esto usando Postgres? He probado el siguiente código, pero no funciona:

ALTER TABLE mytable ALTER COLUMN mycolumn BIGINT NULL; 
Author: mateusmaso, 2011-01-27

1 answers

Del manual fino :

ALTER TABLE mytable ALTER COLUMN mycolumn DROP NOT NULL;

No hay necesidad de especificar el tipo cuando solo está cambiando la nullability.

 212
Author: mu is too short,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2012-05-21 05:32:39