Re: Urgent Help Required

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: David Johnston <polobo(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Urgent Help Required
Date: 2013-10-08 18:50:38
Message-ID: 525453FE.7010001@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 10/08/2013 09:03 AM, David Johnston wrote:
>
>> postgres -D /var/lib/pgsql/data patnadbold < fix.sql
>
> What the heck is the point of feeding "VACUUM FULL;" into the standard input
> of the postgres command? "postgres" simply starts the server, it does not
> execute arbitrary SQL. Once the database is started you want to use "psql"
> - either interactively or in a similar manner to the above - to connect to
> the <patnadbold> database and run "VACUUM".

I was under that impression also. So I went back in the archives, and in
8.1 this was possible.

http://www.postgresql.org/docs/8.1/interactive/app-postgres.html

>
>
>> PostgreSQL stand-alone backend 8.1.11
>
> 8.1 is unsupported at this point; plus you say 8.4 below which this
> contradicts. Your configuration is very unclear.

This part is still unclear to me. I would like some more information on
where the 8.4 cluster comes into play, if at all. My hunch is the OP is
working with two different Postgres instances un-intently .

> David J.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas Kellerer 2013-10-08 18:52:00 Re: need elegant way to store and query tables with variable headers
Previous Message David Johnston 2013-10-08 18:47:30 Re: need elegant way to store and query tables with variable headers

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2013-10-08 18:51:08 Re: old warning in docs
Previous Message Heikki Linnakangas 2013-10-08 18:48:02 Re: GIN improvements part 1: additional information