From 1df7817b376ad4d8bda48e52f7a5eb7ec4926d12 Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 1 Nov 2006 10:12:34 +0000 Subject: [PATCH] Added supported array to pgsql driver --- lib/Doctrine/Connection/Pgsql.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/lib/Doctrine/Connection/Pgsql.php b/lib/Doctrine/Connection/Pgsql.php index 62ae4987a..8f8ca28bd 100644 --- a/lib/Doctrine/Connection/Pgsql.php +++ b/lib/Doctrine/Connection/Pgsql.php @@ -39,6 +39,26 @@ class Doctrine_Connection_Pgsql extends Doctrine_Connection_Common { */ public function __construct(Doctrine_Manager $manager, PDO $pdo) { // initialize all driver options + $this->supported = array( + 'sequences' => true, + 'indexes' => true, + 'affected_rows' => true, + 'summary_functions' => true, + 'order_by_text' => true, + 'transactions' => true, + 'savepoints' => true, + 'current_id' => true, + 'limit_queries' => true, + 'LOBs' => true, + 'replace' => 'emulated', + 'sub_selects' => true, + 'auto_increment' => 'emulated', + 'primary_key' => true, + 'result_introspection' => true, + 'prepared_statements' => true, + 'identifier_quoting' => true, + 'pattern_escaping' => true, + ); parent::__construct($manager, $pdo); }