bool has_postgres_support(void)
{
char *getenv_ptr;
- if (bool((getenv_ptr= getenv("POSTGES_IS_RUNNING_AND_SETUP"))))
+ if (bool((getenv_ptr= getenv("POSTGRES_IS_RUNNING_AND_SETUP"))))
{
(void)(getenv_ptr);
+#if defined(HAVE_LIBPQ) && HAVE_LIBPQ
if (HAVE_LIBPQ)
{
return true;
}
+#endif
}
return false;