I see. However I cannot dump my db anymore either.<div>When for instance: pg_dump -Fc db1 > db1.dump </div><div>I get the same ERROR: Unknown geometry type: -256 - Unknown.</div><div><br></div><div><br><div class="gmail_quote">
2011/8/17 Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net">strk@keybit.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Starting from a specific revision, a new serialized format was<br>

enabled, requiring you to do a dump/reload.<br>
Check SVN history and get back in time.<br>
If you want to jump over, dump, svn up and restore.<br>
<br>
--strk;<br>
<div><div></div><div class="h5"><br>
On Wed, Aug 17, 2011 at 03:14:23PM +0200, Andreas Forų Tollefsen wrote:<br>
> Hi all.<br>
><br>
> I was experimenting with some raster functionality in the SVN 6874. However,<br>
> as there were some fixed bugs in later version I decided to create a new<br>
> database on my server using SVN 7749.<br>
> When installing this i must have updated some of the libraries, GEOS i guess<br>
> and maybe others.<br>
><br>
> The problem now is that while the 7749 database works flawless, the 6874<br>
> have become corrupted.<br>
> When querying any geometry column i get this:<br>
> SELECT cshapes.geom FROM cshapes;<br>
> results in:<br>
> ERROR:  Unknown geometry type: 0 - Unknown<br>
><br>
> It does not matter whether i query from remote or from the actual server.<br>
><br>
> Any ideas on whether it is possible to solve this issue?<br>
> I will eventually recreate all of my data on the 7749 database, but as for<br>
> now i need to access the geometries stored in the 6874 database.<br>
><br>
> Thank you in advance.<br>
><br>
> Andreas<br>
<br>
</div></div>> _______________________________________________<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" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
<font color="#888888"><br>
<br>
--<br>
<br>
  ()   Free GIS & Flash consultant/developer<br>
  /\   <a href="http://strk.keybit.net/services.html" target="_blank">http://strk.keybit.net/services.html</a><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" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</font></blockquote></div><br></div>