Hi Mark,<br>this is not the function but the constraint definition in the pg_constraint table. (look at the "consrc" field)<br><br>I do a fresh install of 1.5<br><br>Fred.<br><br><br><br><div class="gmail_quote">
On Tue, May 18, 2010 at 4:00 PM, Mark Cave-Ayland <span dir="ltr"><<a href="mailto:mark.cave-ayland@siriusit.co.uk">mark.cave-ayland@siriusit.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">Fred Lehodey wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
I have no success trying the function probe_geometry_columns() with Postgis 1.5.0<br>
<br>
1) Not sure but comparing the SQL with Postgis 1.3.3:<br>
the clause  (in the INSERT step and not the count of probed)<br>
"sridcheck.consrc LIKE '(*srid*('||a.attname||') = %)'   in postgis 1.3.3<br>
is now:<br>
"sridcheck.consrc LIKE '(*st_srid*('||a.attname||') = %)'  in postgis 1.5.0<br>
This looks like a tipo error. (this is not the function here but the constraint text in pg_constraint)<br>
</blockquote>
<br></div>
No, this is correct. The non ST_ prefix functions have been deprecated since PostGIS 1.2-ish. Do you actually have an ST_srid() function in your database, e.g. does the following work?<br>
<br>
select st_srid(st_geomfromtext('POINT(0 50)', 4326));<br>
<br>
Also, did you do a fresh install of 1.5 or did you run the upgrade script on an existing 1.3 install?<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2) I have a second problem with pg_constraint table and the "consrc" field.<br>
Most of time I have something like :<br>
"(public.srid(the_geom) = 27492)" and not (as expected by the function probe_geometry_columns()) :<br>
"(srid(the_geom) = 27492)"<br>
<br>
Thanks for any feed-back.<br>
</blockquote>
<br></div>
Hmmmm. Do you have multiple schemas in your database/PostGIS installation? Or have you tried to install PostGIS into a specific schema?<br>
<br>
<br>
ATB,<br>
<br>
Mark.<br>
<br>
-- <br>
Mark Cave-Ayland - Senior Technical Architect<br>
PostgreSQL - PostGIS<br>
Sirius Corporation plc - control through freedom<br>
<a href="http://www.siriusit.co.uk" target="_blank">http://www.siriusit.co.uk</a><br>
t: +44 870 608 0063<br>
<br>
Sirius Labs: <a href="http://www.siriusit.co.uk/labs" target="_blank">http://www.siriusit.co.uk/labs</a><br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br>