Re:

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Laurette Cisneros <laurette(at)nextbus(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re:
Date: 2002-09-09 23:50:22
Message-ID: 5.1.0.14.0.20020910094343.02930408@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 03:54 PM 9/09/2002 -0700, Laurette Cisneros wrote:
>Ok, I made the changes in the compressed pg_dump file.

That's probably a very bad idea.

It's a little more long-winded, but try:

pg_restore -l dumpfile > dump1.lis

copy dump1.lis to dump2.lis

delete everything from dump1.lis at and after the definition that causes
the problem.

delete everything from dump2.lis at and before the definition that causes
the problem.

pg_restore -L dump1.lis

manually define the language

pg_restore -L dump2.lis

ALTERNATIVELY, define the language in template1, then just edit dump1.lis
to remove the line for the language definition, and run pg_restore -L
dump1.lis.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

  • Re: at 2002-09-09 21:01:57 from Oliver Elphick

Responses

  • Re: at 2002-09-10 11:18:36 from Oliver Elphick

Browse pgsql-hackers by date

  From Date Subject
Next Message Hervé Piedvache 2002-09-10 00:19:32 Re: Impossible to import pg_dumpall from 7.2.2 to 7.3b1
Previous Message Laurette Cisneros 2002-09-09 22:54:49 Re: