pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chander Ganesan <chander.ganesan@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Extension prevents dumping table?
Date: Wed, 09 May 2012 13:06:38 -0400
Message-ID: <4FAAA41E.8080501@gmail.com> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <4FAAA41E.8080501@gmail.com>
Permalink:  ../4FAAA41E.8080501@gmail.com/
Also on:    postgresql.org/message-id/4FAAA41E.8080501@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: chander.ganesan@gmail.com
  Subject: Re: Extension prevents dumping table?
  In-Reply-To: <4FAAA41E.8080501@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox