Error using ST_Estimated_Extent on non-lowercase relation
---------------------------------------------------------
Key: GEOT-3621
URL: http://jira.codehaus.org/browse/GEOT-3621
Project: GeoTools
Issue Type: Bug
Components: data postgis
Affects Versions: 8.0-M0, 2.7.1, 2.7.2, 8.0-M1
Reporter: Ben Caradoc-Davies
Assignee: Justin Deoliveira
Seen in GeoServer trunk while publishing a table called AHGFReservoir.
{code}
2011-06-01 11:48:09,497 WARN [geotools.jdbc] - Failed to use
ST_Estimated_Extent, falling back on envelope aggregation
org.postgresql.util.PSQLException: ERROR: relation "public.ahgfreservoir" does
not exist
Where: SQL statement "SELECT has_table_privilege((SELECT usesysid FROM
pg_user WHERE usename = session_user), 'public.AHGFReservoir', 'select')"
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
{code}
Because the table identifier contains uppercase characters, it should be
encoded as 'public."AHGFReservoir"' when passed to this function.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel