Обсуждение: export of schema only

Поиск
Список
Период
Сортировка

export of schema only

От
"Sriram Dandapani"
Дата:

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

Re: export of schema only

От
Jim Nasby
Дата:
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