Commit 6aa27037 authored by Marcus Comstedt's avatar Marcus Comstedt

Sql.postgres: Only inherit Sql.pgsql if it exists

parent 9803bb1d
......@@ -461,7 +461,7 @@ int|object streaming_query(object|string q,
return big_query(q, bindings);
}
#else
#elif constant(Sql.pgsql)
/*
* If libpq wasn't available at compile time, the pgsql-module can provide
* near the same functionality as the postgres module.
......@@ -479,4 +479,6 @@ int|object streaming_query(object|string q,
//! @seealso
//! @[Sql.pgsql], @[Sql.Sql]
inherit Sql.pgsql;
#endif /* constant(Postgres.postgres) */
#else /* constant(Sql.pgsql) */
constant this_program_does_not_exist = 1;
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment