diff options
Diffstat (limited to 'src/interfaces/jdbc/org/postgresql/jdbc2/Array.java')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/jdbc2/Array.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java index 6be102691b..94cc5aab59 100644 --- a/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java +++ b/src/interfaces/jdbc/org/postgresql/jdbc2/Array.java @@ -88,6 +88,9 @@ public class Array implements java.sql.Array boolean insideString = false; for ( int i = 0; i < chars.length; i++ ) { + if ( chars[i] == '\\' ) + //escape character that we need to skip + i++; if ( chars[i] == '{' ) { if ( foundOpen ) // Only supports 1-D arrays for now |