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.kla...@gmail.com


--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to