db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r493938 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/PostgreSqlModelReader.java
Date Mon, 08 Jan 2007 04:15:25 GMT
Author: tomdz
Date: Sun Jan  7 20:15:24 2007
New Revision: 493938

URL: http://svn.apache.org/viewvc?view=rev&rev=493938
Log:
Added comment explainig the change of the quotation character for postgresql

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/PostgreSqlModelReader.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/PostgreSqlModelReader.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/PostgreSqlModelReader.java?view=diff&rev=493938&r1=493937&r2=493938
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/PostgreSqlModelReader.java
(original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/platform/postgresql/PostgreSqlModelReader.java
Sun Jan  7 20:15:24 2007
@@ -153,6 +153,8 @@
                 }
                 if (TypeMap.isTextType(column.getTypeCode()))
                 {
+                    // We assume escaping via double quote (see also the backslash_quote
setting:
+                    // http://www.postgresql.org/docs/7.4/interactive/runtime-config.html#RUNTIME-CONFIG-COMPATIBLE)
                     defaultValue = unescape(defaultValue, "'", "''");
                 }
             }



Mime
View raw message