Re: Urgent Help Required - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Urgent Help Required
Date
Msg-id 525453FE.7010001@gmail.com
Whole thread Raw
In response to Re: Urgent Help Required  (David Johnston <polobo@yahoo.com>)
List pgsql-general
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.klaver@gmail.com


pgsql-general by date:

Previous
From: David Johnston
Date:
Subject: Re: need elegant way to store and query tables with variable headers
Next
From: Thomas Kellerer
Date:
Subject: Re: need elegant way to store and query tables with variable headers