Uppercase chars in table names will also cause trouble, avoid them.<br><br><div class="gmail_quote">2012/10/9 Puneet Kishor <span dir="ltr"><<a href="mailto:punk.kish@gmail.com" target="_blank">punk.kish@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
On Oct 9, 2012, at 7:51 AM, Rahkonen Jukka <<a href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>> wrote:<br>
<br>
> Hi,<br>
><br>
> It may be an odd idea to use dots in table/feature type names, but because I made such a test and faced a problem so I report it here.<br>
> Source table is in PostGIS and its name is "dot.test".  WFS DescribeFeatureType leads to following error<br>
><br>
> [Tue Oct  9 10:56:02 2012].214191 msPostGISLayerGetItems(): Query error. Error<br>
> (ERROR:  schema "dot" does not exist<br>
> LINE 1: select * from dot.test where false limit 0<br>
>                      ^<br>
> ) executing SQL: select * from dot.test where false limit 0<br>
> [Tue Oct  9 10:57:12 2012].923891 msPostGISLayerGetItems(): Query error. Error<br>
> (ERROR:  schema "dot" does not exist<br>
> LINE 1: select * from dot.test where false limit 0<br>
>                      ^<br>
> ) executing SQL: select * from dot.test where false limit 0<br>
><br>
><br>
> -Jukka Rahkonen-<br>
> _______________________________________________<br>
> mapserver-users mailing list<br>
> <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
<br>
If using non-standard characters, double quote the entity name. So, try<br>
<br>
SELECT * FROM "dot.test" WHERE ...<br>
<br>
To be completely unambiguous, prefix the schema name. So, if the table is in schema foo, try<br>
<br>
SELECT * FROM "foo.dot.test" WHERE ...<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Puneet Kishor<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br>