Only use PostgreSQL queries when using PDO

This commit is contained in:
Trevor Slocum 2018-07-20 16:05:18 -07:00
parent 629c4a3417
commit e15cbedc8e

View File

@ -3,7 +3,7 @@ if (!defined('TINYIB_BOARD')) {
die(''); die('');
} }
if (TINYIB_DBDRIVER === 'pgsql') { if (TINYIB_DBMODE == 'pdo' && TINYIB_DBDRIVER == 'pgsql') {
$posts_sql = 'CREATE TABLE "' . TINYIB_DBPOSTS . '" ( $posts_sql = 'CREATE TABLE "' . TINYIB_DBPOSTS . '" (
"id" bigserial NOT NULL, "id" bigserial NOT NULL,
"parent" integer NOT NULL, "parent" integer NOT NULL,