<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Hi Rob(ert)!<div><br></div><div>Good idea! (but no luck)<div><br></div><div>It shows that it fetches some records from the table -- surprisingly this is not a spatial query based on the bounding box of the initial view as it is recorded in the mapinfo_mapcatalog table. Then, after fetching some 50 records (out of 560), the last query is the following:<div>
<br></div><div><div>select c.relhasrules, c.relkind, c.relhasoids from pg_catalog.pg_namespace u, pg_catalog.pg_class c </div><div> where u.oid = c.relnamespace and c.relname = E'dummy_table' and u.nspname = E'public'</div>
<div><br></div><div>This query is valid and produces one row: my table has NO RULES (column value = "f"), is a PLAIN TABLE (value = "r") and has NO OIDs (value = "f")...</div><div><br></div><div>
Curiously, this last query seems to have little to do with any "Spatial Constraint" (as is MapInfo complaining about)</div><div><br></div><div>So, still no clue here... Maybe something can be deducted from the logs of the pgsqlODBC...</div>
<div><br></div><div><br></div><div>Rob</div></div></div></div></span><br><div class="gmail_quote">2009/10/5 Robert Coup <span dir="ltr"><<a href="mailto:robert.coup@onetrackmind.co.nz">robert.coup@onetrackmind.co.nz</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Tue, Oct 6, 2009 at 9:16 AM, InterRob <<a href="mailto:rob.marjot@gmail.com">rob.marjot@gmail.com</a>> wrote:<br>
><br>
> More thoughts? Cheerz,<br>
<br>
Try looking in the postgresql logs - it should log errors all the<br>
time, and you can turn on log_statement=all in postgresql.conf to see<br>
everything (turn it off once you're done though).<br>
<br>
That might give you a bit of insight into what MapInfo is asking for /<br>
not getting.<br>
<br>
Rob :)<br>
<br>
</blockquote></div><br>