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.
By randyew on
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
MySQL vs PostgreSQL
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.
Error Handling - MySQL vs PostgreSQL
I'll attempt a patch (out of necessity) and will also file a bug report.
Thanks.
Thanks. I saw the bugreport and will await your patch.