some mdb2 pgsql fixes

This commit is contained in:
Robin Appelman 2012-05-13 20:56:25 +02:00
parent 1a2ab2ef68
commit 68fd5a5d58

View file

@ -513,7 +513,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
* @return mixed array of view names on success, a MDB2 error on failure
* @access public
*/
function listViews()
function listViews($database = null)
{
$db = $this->getDBInstance();
if (PEAR::isError($db)) {
@ -645,7 +645,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
* @return mixed array of table names on success, a MDB2 error on failure
* @access public
*/
function listTables()
function listTables($database = null)
{
$db = $this->getDBInstance();
if (PEAR::isError($db)) {
@ -952,7 +952,7 @@ class MDB2_Driver_Manager_pgsql extends MDB2_Driver_Manager_Common
* @return mixed array of sequence names on success, a MDB2 error on failure
* @access public
*/
function listSequences()
function listSequences($database = null)
{
$db = $this->getDBInstance();
if (PEAR::isError($db)) {