~ubuntu-branches/ubuntu/jaunty/moodle/jaunty

« back to all changes in this revision

Viewing changes to lib/adodb/drivers/adodb-postgres64.inc.php

  • Committer: Bazaar Package Importer
  • Author(s): Jordan Mantha, Matt Oquist
  • Date: 2009-02-25 15:16:22 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090225151622-0ekt1liwhv2obfza
Tags: 1.9.4.dfsg-0ubuntu1
* Merge with Debian git (Closes LP: #322961, #239481, #334611):
  - use Ubuntu's smarty lib directory for linking
  - use internal yui library 
  - add update-notifier support back in

[Matt Oquist]
  * renamed prerm script
  * significantly rewrote postinst and other maintainer scripts to improve
    user experience and package maintainability
    (Closes LP: #225662, #325450, #327843, #303078, #234609)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
2
/*
3
 
 V4.93 10 Oct 2006  (c) 2000-2006 John Lim (jlim#natsoft.com.my). All rights reserved.
 
3
 V4.98 13 Feb 2008  (c) 2000-2008 John Lim (jlim#natsoft.com.my). All rights reserved.
4
4
  Released under both BSD license and Lesser GPL library license. 
5
5
  Whenever there is any discrepancy between the two licenses, 
6
6
  the BSD license will take precedence.
770
770
                                }
771
771
                                $s = "PREPARE $plan ($params) AS ".substr($sql,0,strlen($sql)-2);               
772
772
                                //adodb_pr($s);
773
 
                                pg_exec($this->_connectionID,$s);
 
773
                                $rez = pg_exec($this->_connectionID,$s);
774
774
                                //echo $this->ErrorMsg();
775
775
                        }
776
 
                        
777
 
                        $rez = pg_exec($this->_connectionID,$exsql);
 
776
                        if ($rez)
 
777
                                $rez = pg_exec($this->_connectionID,$exsql);
778
778
                } else {
779
779
                        //adodb_backtrace();
780
780
                        $rez = pg_exec($this->_connectionID,$sql);