Got the following page:
============
Page not found

* warning: pg_query() [function.pg-query]: Query failed: ERROR: null value in column "body" violates not-null constraint in /home/maximkr/drupal/includes/database.pgsql.inc on line 155.
* user warning: query: INSERT INTO node_revisions (nid, uid, title, teaser, log, timestamp, format) VALUES (14, 1, 'Do you like X', '* Yes * No ', '', 1197154493, 0) in /home/maximkr/drupal/includes/common.inc on line 3374.

Your Poll has been created.
The requested page could not be found.
=====

Comments

hswong3i’s picture

Seems can fix by http://drupal.org/node/195169. I face same error when developing Oracle driver.

P.S. As I have apply this "add default value" logic for my personal research project, and test it with mysql, mysqli, pgsql, pdo_mysql and pdo_pgsql, with flash new installation. Both of them can create poll correctly without above error message.

hswong3i’s picture

Status: Active » Closed (duplicate)

As tested by Siren, this issue is a real example for http://drupal.org/node/195169. So I mark this issue as duplicated.

bjaspan’s picture

Status: Closed (duplicate) » Active

Subscribe and re-activate.

gábor hojtsy’s picture

Status: Active » Fixed

Fixed by the patch committed from http://drupal.org/node/195169#comment-655187

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.