Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
query: INSERT INTO aggregator_feed (title, url, refresh, block, description) VALUES ('Brenda''s Blog', 'http://coffee.geek.nz/rss.xml', 900, 5, '') in /home/brenda/projects/drupal/HEAD/modules/aggregator/aggregator.module on line 371.
pg_query(): Query failed: ERROR: null value in column "image" violates not-null constraint in /home/brenda/projects/drupal/HEAD/includes/database.pgsql.inc on line 155.
schema for this column is
'image' => array('type' => 'text', 'not null' => TRUE, 'size' => 'big'),
needs a default it seems.
Comment | File | Size | Author |
---|---|---|---|
#4 | aggregator_feed_insert-174348-4.patch | 858 bytes | chx |
#1 | aggregator.schema.patch | 1.16 KB | Shiny |
Comments
Comment #1
Shiny CreditAttribution: Shiny commentedpatch attached.
Comment #2
Shiny CreditAttribution: Shiny commentedComment #3
Shiny CreditAttribution: Shiny commentedalas, mysql doesn't support default values on text fields
Comment #4
chx CreditAttribution: chx commentedIt's a lot simpler to fix the insert than the schema.
Comment #5
johnhelen CreditAttribution: johnhelen commentedThe patch is applied successfully with php 5.1.6, postgres 7.4 and drupal 6.0-dev
Comment #6
Shiny CreditAttribution: Shiny commentedbug fixed for php5, pg8.2
Comment #7
Gábor HojtsyThanks, committed.
Comment #8
(not verified) CreditAttribution: commented