Error dumping and restoring postgis db

From: Claire McLister <mclister(at)zeesource(dot)net>
To: pgsql general list <pgsql-general(at)postgresql(dot)org>
Subject: Error dumping and restoring postgis db
Date: 2006-07-23 18:22:18
Message-ID: 8824EFEC-EF46-4856-91E2-9DBBC733E822@zeesource.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

We have a database with Postgis extensions installed. When we do a
full dump of the database (using pg_dump -Ft), somehow the "geometry"
type does not get dumped, so the restore fails.

If I try to load the geometry type before restoring, then I have to
createlang 'plpgsql' because postgis needs it. Then again the dump
fails as it tries to createlang plpgsql again.

Would appreciate any pointers. This is with Postgresql 7.4.8 and
Postgis 1.1.2

Claire

--
Claire McLister mclister(at)zeesource(dot)net
1684 Nightingale Avenue Suite 201
Sunnyvale, CA 94087 408-733-2737(fax)

http://www.zeemaps.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Hoksza 2006-07-23 20:35:35 Re: type of b-tree
Previous Message Tom Lane 2006-07-23 18:03:03 Re: type of b-tree