TYPO3 CMS  TYPO3_6-2
adodb-postgres8.inc.php
Go to the documentation of this file.
1 <?php
2 /*
3  V5.19 23-Apr-2014 (c) 2000-2014 John Lim (jlim#natsoft.com). All rights reserved.
4  Released under both BSD license and Lesser GPL library license.
5  Whenever there is any discrepancy between the two licenses,
6  the BSD license will take precedence.
7  Set tabs to 4.
8 
9  Postgres8 support.
10 */
11 
12 // security - hide paths
13 if (!defined('ADODB_DIR')) die();
14 
15 include_once(ADODB_DIR."/drivers/adodb-postgres7.inc.php");
16 
18 {
19  var $databaseType = 'postgres8';
20 
21 
32  function _insertid($table, $column)
33  {
34  return empty($table) || empty($column)
35  ? $this->GetOne("SELECT lastval()")
36  : $this->GetOne("SELECT currval(pg_get_serial_sequence('$table', '$column'))");
37  }
38 }
39 
41 {
42  var $databaseType = "postgres8";
43 }
44 
46 {
47  var $databaseType = "postgres8";
48 }
_insertid($table, $column)
die
Definition: index.php:6