From 5871e8585956c1b94df8c77a8198dbcc633f6b42 Mon Sep 17 00:00:00 2001 From: xzilla Date: Wed, 19 Sep 2007 15:31:18 +0000 Subject: [PATCH] Fix non-standard escape warning --- classes/database/Postgres73.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/database/Postgres73.php b/classes/database/Postgres73.php index e9cdbb65..62c83f3d 100644 --- a/classes/database/Postgres73.php +++ b/classes/database/Postgres73.php @@ -4,7 +4,7 @@ * A class that implements the DB interface for Postgres * Note: This class uses ADODB and returns RecordSets. * - * $Id: Postgres73.php,v 1.167 2007/09/19 14:42:12 ioguix Exp $ + * $Id: Postgres73.php,v 1.168 2007/09/19 15:31:18 xzilla Exp $ */ // @@@ THOUGHT: What about inherits? ie. use of ONLY??? @@ -1220,7 +1220,7 @@ class Postgres73 extends Postgres72 { // get the max number of col used in a constraint for the table $sql = "SELECT DISTINCT - max(SUBSTRING(array_dims(c.conkey) FROM '^\\\[.*:(.*)\\\]$')) as nb + max(SUBSTRING(array_dims(c.conkey) FROM E'^\\\[.*:(.*)\\\]$')) as nb FROM pg_catalog.pg_constraint AS c JOIN pg_catalog.pg_class AS r ON (c.conrelid = r.oid) -- 2.39.5