Hi Fran, list,<br>thank you for responding. I will regard this issue next time.<br>Is there any chance to look up specifications for using the PostGIS driver in a proper way?<br><br>Best,<br><br>Johannes<br><br><div class="gmail_quote">
2009/9/11 Francisco José Peñarrubia <span dir="ltr">&lt;<a href="mailto:fjp@scolab.es">fjp@scolab.es</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Sorry. Field names also un upper case.<br>
<font color="#888888"><br>
Francisco José Peñarrubia escribió:<br>
</font><div><div></div><div class="h5">&gt; Hi Johannes.<br>
&gt;<br>
&gt; I think this issue could be related to problems about lower case - upper<br>
&gt; case problems in our PostGIS driver. Try to do the same with some layer<br>
&gt; with upper case name (and with a simple name).<br>
&gt;<br>
&gt; Hope it helps.<br>
&gt;<br>
&gt; Fran Peñarrubia<br>
&gt; gvSIG team<br>
&gt;<br>
&gt; Johannes Valenta escribió:<br>
&gt;<br>
&gt;&gt; Hi list,<br>
&gt;&gt;<br>
&gt;&gt; this morning I come up with a fairly simple question (one might think).<br>
&gt;&gt; How do you apply a SQL restriction on a PostGIS layer while loading it?<br>
&gt;&gt; Searching the list via Nabble did not give any valuable results.<br>
&gt;&gt;<br>
&gt;&gt; For adding a Geodb-Layer the english manual states :<br>
&gt;&gt;  &quot;Any alphanumeric restriction must be introduced by means of a valid<br>
&gt;&gt; SQL expression<br>
&gt;&gt; which is attached as a WHERE clause to each call to the database.&quot;<br>
&gt;&gt;<br>
&gt;&gt; Using  /WHERE column = &#39;value&#39; / -&gt;did not work<br>
&gt;&gt; Using  /WHERE  column = &quot;value&quot;/ -&gt;did not work<br>
&gt;&gt; Using  /WHERE table.column = &#39;value&#39;/ -&gt;did not work<br>
&gt;&gt; Using  /WHERE table.column = &quot;value&quot;/ -&gt;did not work<br>
&gt;&gt; Using all of the above using /where/ -&gt;did not work<br>
&gt;&gt; Using all of the above skipping /WHERE/ -&gt;did not work<br>
&gt;&gt; Using all of the above inserting the whole /SELECT/-Statement -&gt; did<br>
&gt;&gt; not work<br>
&gt;&gt; Using all of the above writing /IS /instead of/ =/ -&gt; did not work<br>
&gt;&gt;<br>
&gt;&gt; What else could be a valid expression?<br>
&gt;&gt;<br>
&gt;&gt; Loading the table first and filtering it afterwards by using the<br>
&gt;&gt; dialogue i.e.<br>
&gt;&gt; /column = &#39;value&#39;/  -&gt;worked perfectly<br>
&gt;&gt;<br>
&gt;&gt; What do I miss?<br>
&gt;&gt;<br>
&gt;&gt; Pretty clueless in the morning (some coffee might help ;-)),<br>
&gt;&gt;<br>
&gt;&gt; Johannes<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Gvsig_internacional mailing list<br>
&gt;&gt; <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
&gt;&gt; <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Gvsig_internacional mailing list<br>
&gt; <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
&gt; <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
&gt;<br>
<br>
_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
</div></div></blockquote></div><br>