Re: [GENERAL] Copying table to another database.

From: Wim <wdh(at)belbone(dot)be>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [GENERAL] Copying table to another database.
Date: 2002-09-17 14:39:35
Message-ID: 3D873EA7.6020408@belbone.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

Nigel J. Andrews wrote:

>On Tue, 17 Sep 2002, Wim wrote:
>
>
>>>The next simple but dumb test, which I don't know if you have already tried, is
>>>to check that you can SELECT * FROM pg_* without error.
>>>
>>>
>>>
>>"SELECT * FROM pg_*" gives:
>>ERROR: Relation "pg_" does not exist
>>
>>
>
>Sorry, I wasn't clear. I meant the pg_* to represent all of the pg_ tables
>taken in turn. To get a list try:
>
>SELECT relname FROM pg_class WHERE relname like 'pg_%' AND relkind = 'r'
>
SELECT relname, relkind from pg_class;

works, but:

SELECT relname FROM pg_class WHERE relname like 'pg_%' AND relkind = 'r';
belbonedb_v2-# ;
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

>I see in the meantime there's been more messages suggesting the hardware is at
>fault. I still wouldn't rule that out, especially if you haven't been able to
>properly test these things. Running a second box in parallel once you are
>up and will help show if this is the problem. However, in this regard I'd be
>more inclined to use a replacement system for production, you can extract your
>data alright and should be able to recreate the schema for earlier dumps, and
>to then test the Sparc machine thoroughly. Perhaps even calling Sun to handle
>or help with this.
>
>
>
>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Shridhar Daithankar 2002-09-17 14:39:54 Re: Still big problems with pg_dump!
Previous Message Andrew Sullivan 2002-09-17 14:33:47 Re: [GENERAL] Still big problems with pg_dump!

Browse pgsql-general by date

  From Date Subject
Next Message Shridhar Daithankar 2002-09-17 14:39:54 Re: Still big problems with pg_dump!
Previous Message Andrew Sullivan 2002-09-17 14:33:47 Re: [GENERAL] Still big problems with pg_dump!