* A class that implements the DB interface for Postgres
* Note: This class uses ADODB and returns RecordSets.
*
- * $Id: Postgres73.php,v 1.53 2003/07/31 08:28:03 chriskl Exp $
+ * $Id: Postgres73.php,v 1.54 2003/08/03 07:18:01 chriskl Exp $
*/
// @@@ THOUGHT: What about inherits? ie. use of ONLY???
return -1;
// Null handling
+ $f['proisstrict'] = $this->phpBool($f['proisstrict']);
if ($f['proisstrict'])
$temp[] = 'RETURNS NULL ON NULL INPUT';
else
$temp[] = 'CALLED ON NULL INPUT';
// Security
+ $f['prosecdef'] = $this->phpBool($f['prosecdef']);
if ($f['prosecdef'])
$temp[] = 'SECURITY DEFINER';
else
pg_catalog.pg_type t
WHERE
t.typtype = 'd'
- AND t.typname = '{$domain}'\r
+ AND t.typname = '{$domain}'
AND t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace
- WHERE nspname = '{$this->_schema}')";\r
+ WHERE nspname = '{$this->_schema}')";
return $this->selectSet($sql);
}
FROM
pg_catalog.pg_type t
WHERE
- t.typtype = 'd'\r
+ t.typtype = 'd'
AND t.typnamespace = (SELECT oid FROM pg_catalog.pg_namespace
- WHERE nspname='{$this->_schema}')\r
- ORDER BY t.typname";\r
+ WHERE nspname='{$this->_schema}')
+ ORDER BY t.typname";
return $this->selectSet($sql);
}