Oops. Remove debugging.
authorchriskl <chriskl>
Fri, 15 Jul 2005 08:09:39 +0000 (08:09 +0000)
committerchriskl <chriskl>
Fri, 15 Jul 2005 08:09:39 +0000 (08:09 +0000)
classes/database/Postgres.php

index cab013871d6ff4b8a6b3f390ac76fa00a4fff2fd..5a110d5b8ccf739a8e9d27da97f44a5026a73063 100755 (executable)
@@ -4,7 +4,7 @@
  * A class that implements the DB interface for Postgres
  * Note: This class uses ADODB and returns RecordSets.
  *
- * $Id: Postgres.php,v 1.264 2005/07/15 08:03:13 chriskl Exp $
+ * $Id: Postgres.php,v 1.265 2005/07/15 08:09:39 chriskl Exp $
  */
 
 // @@@ THOUGHT: What about inherits? ie. use of ONLY???
@@ -249,7 +249,7 @@ class Postgres extends ADODB_base {
         * @return Data formatted for on-screen display
         */
        function escapeBytea($data) {
-               if (false && function_exists('pg_escape_bytea'))
+               if (function_exists('pg_escape_bytea'))
                        return stripslashes(pg_escape_bytea($data));
                else {
                                $translations = array('\\a' => '\\007', '\\b' => '\\010', '\\t' => '\\011', '\\n' => '\\012', '\\v' => '\\013', '\\f' => '\\014', '\\r' => '\\015');