pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
export of schema only
2+ messages / 2 participants
[nested] [flat]

* export of schema only
@ 2006-03-30 17:30  Sriram Dandapani <sdandapani@counterpane.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Sriram Dandapani @ 2006-03-30 17:30 UTC (permalink / raw)
  To: pgsql-admin

Hi

 

This is the scenario:

 

1.	Export schema only
2.	On a different postgres box, drop the existing database,
recreate the database and run psql with the exported schema file.
3.	One of the views did not import. I get an error saying relation
<view-name> does not exist
4.	I recreate the view and then I get an error relation not
available /30142/14567...etc  which looks like a system error

 

The database into which I import is on a different tablespace which is
not in the default data directory

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: export of schema only
@ 2006-03-30 22:07  Jim Nasby <jnasby@pervasive.com>
  parent: Sriram Dandapani <sdandapani@counterpane.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Jim Nasby @ 2006-03-30 22:07 UTC (permalink / raw)
  To: Sriram Dandapani <sdandapani@counterpane.com>; +Cc: pgsql-admin

Can you provide exact error messages here? You're not giving us a lot  
of detail to go on...

On Mar 30, 2006, at 11:30 AM, Sriram Dandapani wrote:

> Hi
>
>
>
> This is the scenario:
>
>
>
> Export schema only
> On a different postgres box, drop the existing database, recreate  
> the database and run psql with the exported schema file.
> One of the views did not import. I get an error saying relation  
> <view-name> does not exist
> I recreate the view and then I get an error relation not available / 
> 30142/14567…etc  which looks like a system error
>
>
> The database into which I import is on a different tablespace which  
> is not in the default data directory
>
>

--
Jim C. Nasby, Sr. Engineering Consultant      jnasby@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-03-30 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-30 17:30 export of schema only Sriram Dandapani <sdandapani@counterpane.com>
2006-03-30 22:07 ` Jim Nasby <jnasby@pervasive.com>

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