Are you sure you're not using q instead of g :) just to be sure, you can check if a function exists by using $boolExists = function_exists('any_function_name'); http://www.php.net/manual/en/function.function-exists.php On Tue, Apr 13, 2010 at 11:20 AM, Gary . <php-db@xxxxxxxxxxxxxxx> wrote: > What the... > > What is causing this? I can use "pg_connect" without complaint, why > does pq_query give this problem? PHP 5.3.1 FWIW. > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >