Update of /cvsroot/phppgadmin/webdb/classes/database
In directory usw-pr-cvs1:/tmp/cvs-serv16254/classes/database
Modified Files:
Postgres71.php
Log Message:
basic table browsing
Index: Postgres71.php
===================================================================
RCS file: /cvsroot/phppgadmin/webdb/classes/database/Postgres71.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** Postgres71.php 18 Feb 2002 13:06:13 -0000 1.4
--- Postgres71.php 10 Apr 2002 04:09:47 -0000 1.5
***************
*** 116,119 ****
--- 116,133 ----
return $this->execute($sql);
}
+
+ /**
+ *
+ */
+ function &browseTable($table, $offset, $limit) {
+ return $this->selectTable("SELECT * FROM \"{$table}\"", $offset, $limit);
+ }
+
+ /**
+ *
+ */
+ function &selectTable($sql, $offset, $limit) {
+ return $this->selectSet($sql, $offset, $limit);
+ }
/**
|