Extension prevents dumping table?

From: Chander Ganesan <chander(dot)ganesan(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Extension prevents dumping table?
Date: 2012-05-09 17:06:38
Message-ID: 4FAAA41E.8080501@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

With PostGIS 2.0 if I load/install postgis using the command:

create extension postgis schema postgis;

And then use the command:

pg_dump -t postgis.spatial_ref_sys dbname > spatial_ref_sys.sql

I get an output that contains a few "set" statements, but no table
definition or data from the table.

However, if I install the PostGIS components the "old" way (not using
the extension loader), the pg_dump of the table works just fine.

Any ideas how to fix this or why this happens?

thanks

chander

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2012-05-09 17:41:13 Re: Extension prevents dumping table?
Previous Message Kevin Grittner 2012-05-09 15:03:53 Re: FW: pg_dump: schema with OID 2200 does not exist