I get the following message when trying to access a node that doesn't exist (e.g. http://www.mysite.com/node/view/9999)

warning: pg_exec() query failed: ERROR: pg_atoi: zero-length string
in /usr/share/pear/DB/pgsql.php on line 164.

What is the best way to handle such an error? I notice the drupal site just displays a blank page.

Thanks,

Randy

Comments

Dries’s picture

Drupal.org displays a blank page because it runs on MySQL which is more forgiving then PostgreSQL. It would be much appreciated if you could cook up a patch or file a bug report so we don't forget about it.

randyew’s picture

I'll attempt a patch (out of necessity) and will also file a bug report.

Dries’s picture

Thanks. I saw the bugreport and will await your patch.