|
GEOT-4713
introduced support for citext data in postgis. The test fixture uses PostGIS 9 "create extension" which fails on PostGIS 8, silently disabling all remaining online tests for the module. And PostGISCitextTest is the third test to be run!
commit 0d3fbe332c62530090b3798b50b5c023d7f4fe68 Author: Greg Symons <[email protected]> AuthorDate: Tue Oct 1 17:31:27 2013 -0500 Commit: aaime <[email protected]> CommitDate: Tue Feb 25 12:45:41 2014 +0100
GEOT-4713
Add support for citext data in the postgis data store
This change allows the citext type to be used in features, allowing indexed case insensitive queries. There probably could be better handling for extension types in general for the PostGISDialect, but I'm not entirely sure what that design would be, so I just followed the pattern set by the uuid type.
https://cgsrv8.arrc.csiro.au/jenkins/view/geoserver-master/job/geotools-master/921/org.geotools.jdbc$gt-jdbc-postgis/console Running org.geotools.data.postgis.PostGISCitextTest Skipping postgis tests, resources not available: org.postgresql.util.PSQLException: ERROR: syntax error at or near "extension" Position: 8 java.lang.RuntimeException: org.postgresql.util.PSQLException: ERROR: syntax error at or near "extension" Position: 8 at org.geotools.data.postgis.PostGISCitextTest.isOnline(PostGISCitextTest.java:50) at org.geotools.test.OnlineTestCase.checkAvailable(OnlineTestCase.java:144) at org.geotools.test.OnlineTestCase.run(OnlineTestCase.java:122) at junit.framework.TestSuite.runTest(TestSuite.java:255) at junit.framework.TestSuite.run(TestSuite.java:250) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124) at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103) Caused by: org.postgresql.util.PSQLException: ERROR: syntax error at or near "extension" Position: 8 at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062) at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795) at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479) at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:353) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:345) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264) at org.geotools.data.postgis.PostGISCitextTest.isOnline(PostGISCitextTest.java:44) ... 11 more
|