[postgis-users] Can't create topology schema/functions - PostgreSQL 9.0.1 & PostGIS 1.5.2

chlists at me.com chlists at me.com
Wed Dec 8 17:27:00 PST 2010


Strk, Kevin,
thanks for your replies.

>> I would like to use topologies in PostGIS and just tried to create the topology schema from the latest PostGIS 1.5.2 download in a 9.0.1 postgresql database. As written in the README I ran:
>> 
>> make
>> psql mydb < topologies.sql
>> 
>> and also tested
>> psql mydb -f topologies.sql
>> 
>> but this gives me the following error messages:
>> 
>> ERROR:  schema "topology" does not exist
>> BEGIN
>> CREATE SCHEMA
> ...
>> ERROR:  syntax error at or near "CREATEFUNCTION"
>> LINE 1: CREATEFUNCTION topology.LayerTrigger()
> 
> I tought we weren't distributing topology yet ?
> Anyway, if you're looking at topology please try
> current SVN head. I've been fixing the CREATEFUNCTION one
> recently, while the first ERROR is a false alarm.

Yes, I realised that the first error was a false one. I went through the whole exercise again with the current 2.0svn. Everything works as expected and the tests went successfully.

Thanks,
Christian



More information about the postgis-users mailing list