We now show all domains that are available in the database, pg_type_is_visible just finds out if the current type is in the search_path. We just schema qualify all of the types and everything works.
* You can configure reports db, schema and table names
Bugs
+* Fix inability to assign a field type/domain of a different schema
* Can't edit a report and set its comment to empty
* Fix PHP5 Strict mode complaints
* Fix IN/NOT IN to accept text input lists 'a','b'
* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres73.php,v 1.161 2007/01/10 02:01:17 soranzo Exp $
+ * $Id: Postgres73.php,v 1.162 2007/04/18 15:47:51 mr-russ Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
*/
function getTypes($all = false, $tabletypes = false, $domains = false) {
if ($all)
- $where = 'pg_catalog.pg_type_is_visible(t.oid)';
+ $where = '1 = 1';
else
$where = "n.nspname = '{$this->_schema}'";
// Never show system table types