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> <<a href="mailto:pcreso@pcreso.com">pcreso@pcreso.com</a>> 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 <<a href="mailto:simonom@gmail.com">simonom@gmail.com</a>> wrote:<br><br>> Hi List<br>><br>> Should a create table as select statement also add an entry into the<br>> geometry_columns table.
<br>><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>> i.e.<br>><br>> create table table1 as select id, transform(shape, 4326) as shape from<br>> table;<br>><br>> select * from geometry_columns where f_table_name = 'table1';<br>> ------
<br>> (0 rows)<br>><br>> Or is there something I have missed?<br>><br>> Cheers<br>> Simon<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>><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>