Skip to content

Commit

Permalink
0001892: New version of Postgis fails to replicate
Browse files Browse the repository at this point in the history
  • Loading branch information
chenson42 committed Aug 9, 2014
1 parent 4d2c136 commit a2c7c1e
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -29,7 +29,8 @@ public class PostgreSqlTriggerTemplate extends AbstractTriggerTemplate {

public PostgreSqlTriggerTemplate(ISymmetricDialect symmetricDialect) {
super(symmetricDialect);
//@formatter:off
//@formatter:off
geometryColumnTemplate = "case when $(tableAlias).\"$(columnName)\" is null then '' else '\"' || replace(replace(cast(ST_AsEWKT($(tableAlias).\"$(columnName)\") as varchar),$$\\$$,$$\\\\$$),'\"',$$\\\"$$) || '\"' end" ;
emptyColumnTemplate = "''" ;
stringColumnTemplate = "case when $(tableAlias).\"$(columnName)\" is null then '' else '\"' || replace(replace(cast($(tableAlias).\"$(columnName)\" as varchar),$$\\$$,$$\\\\$$),'\"',$$\\\"$$) || '\"' end" ;
xmlColumnTemplate = "case when $(tableAlias).\"$(columnName)\" is null then '' else '\"' || replace(replace(cast($(tableAlias).\"$(columnName)\" as varchar),$$\\$$,$$\\\\$$),'\"',$$\\\"$$) || '\"' end" ;
Expand Down

0 comments on commit a2c7c1e

Please sign in to comment.