Hi Brent<br><br>Thanks for that.<br><br>What then is the purpose of the f_table_catalog column then.<br><br>It says it is not null, but mine is obviously filled with blanks???<br><br>Simon<br><br><div><span class="gmail_quote">
On 6/19/06, <b class="gmail_sendername">Brent Wood</b> &lt;<a href="mailto:pcreso@pcreso.com">pcreso@pcreso.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br>--- Simon O'Malley &lt;<a href="mailto:simonom@gmail.com">simonom@gmail.com</a>&gt; wrote:<br><br>&gt; Hi List<br>&gt;<br>&gt; Should a create table as select statement also add an entry into the<br>&gt; geometry_columns table.
<br>&gt;<br><br>Hi Simon.<br><br>Debatable. I'd like to think it should, but it doesn't :-)<br><br>Geometry_column entries are only created by creategeometrycolumn(), for tables<br>created by selects, or views, you'll need to do it manually.
<br><br>Brent<br><br><br>&gt; i.e.<br>&gt;<br>&gt; create table table1 as select id, transform(shape, 4326) as shape from<br>&gt; table;<br>&gt;<br>&gt; select * from geometry_columns where f_table_name = 'table1';<br>&gt; ------
<br>&gt; (0 rows)<br>&gt;<br>&gt; Or is there something I have missed?<br>&gt;<br>&gt; Cheers<br>&gt; Simon<br>&gt; &gt; _______________________________________________<br>&gt; postgis-users mailing list<br>&gt; <a href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br>&gt; <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>&gt;<br><br>_______________________________________________
<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br></blockquote></div><br>