Re: psql -f backup.out || file too big - SOLVED

From: Jorge Sarmiento <jsarmiento(at)ccom(dot)org>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: psql -f backup.out || file too big - SOLVED
Date: 2001-11-12 16:09:01
Message-ID: 01111211090102.00870@linux.camaralima.org.pe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general pgsql-hackers

I solved my problem, it was quite easy, and the error was cause by a
limitation of the psql proggie.

the solution was:

psql < backup.out

instead of

psql -f backup.out

according to the man pages, using "psql -f" or "psql <" would give us the
same result, but the -f parameter will give us "better messages"...

what that psql -f limit documented somewhere?

thanx all for your help!

Jorge S.

On Friday 09 November 2001 08:52 pm, Jorge Sarmiento wrote:
> Hello everybody!
>
> I am trying to restore a 2.5 Gb. backup file made using pg_dumpall, and I
> get the "file too big" error message from postgres
>
> what can I do to solve this? is this a bug? I have 18 Gb. free disk space,
> a two PIII processor machine with 1 Gb. ram, running Red Hat 7.1 with
> Postgresql 7.1.3 (installed from official rpms)
>
> thank in advance for your help!
>
> greetings!
>
> Jorge Sarmiento
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message Helge Bahmann 2001-11-12 17:26:31 Re: psql -f backup.out || file too big - SOLVED
Previous Message Janning Vygen 2001-11-12 09:08:22 Re: psql -f backup.out || file too big

Browse pgsql-general by date

  From Date Subject
Next Message Oberpriller, Wade D. 2001-11-12 16:10:49 Creating languages with relative path to shared libraries
Previous Message Thomas T. Thai 2001-11-12 15:28:59 Re: Storing a tree

Browse pgsql-hackers by date

  From Date Subject
Next Message Bradley McLean 2001-11-12 16:32:05 ALTER TABLE ADD COLUMN can't use NOT NULL?
Previous Message David Eduardo Gomez Noguera 2001-11-12 15:45:28 Re: timestamp