warning: pg_query() [function.pg-query]: Query failed: ERROR: column "default_tab" contains null values in /www/mysite/includes/database.pgsql.inc on line 139.
user warning: query: ALTER TABLE quicktabs ALTER default_tab SET NOT NULL in /www/mysite/includes/database.pgsql.inc on line 697.

Comments

pasqualle’s picture

please try changing line 214 in the quicktabs.install file
to:

db_add_field($ret, 'quicktabs', 'default_tab', array('description' => 'The default tab.', 'type' => 'int', 'size' => 'tiny', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0));

and run the update again.

tuffnatty’s picture

Sorry, I can't do it as I've already updated the table manually by first adding the field, then populating it with non-NULL values, and then setting it to NOT NULL.

katbailey’s picture

Status: Active » Closed (fixed)