* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres73.php,v 1.160.2.1 2007/04/18 15:50:21 mr-russ Exp $
+ * $Id: Postgres73.php,v 1.160.2.2 2007/05/28 16:49:08 ioguix Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
if (!is_array($tables)) return -1;
- $tables_list = "'{$tables[0]['schemaname']}'";
- $schema_list = "'{$tables[0]['tablename']}'";
+ $tables_list = "'{$tables[0]['tablename']}'";
+ $schema_list = "'{$tables[0]['schemaname']}'";
$schema_tables_list = "'{$tables[0]['schemaname']}.{$tables[0]['tablename']}'";
for ($i = 1; $i < sizeof($tables); $i++) {
$tables_list .= ", '{$tables[$i]['tablename']}'";