Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 170D747549A for ; Tue, 6 Aug 2002 21:41:45 -0400 (EDT) Received: from po4.glue.umd.edu (po4.glue.umd.edu [128.8.10.124]) by postgresql.org (Postfix) with ESMTP id 2C3FB474EDC for ; Tue, 6 Aug 2002 21:41:44 -0400 (EDT) Received: from ipr.umd.edu (bay8-6.dial.umd.edu [128.8.22.134]) by po4.glue.umd.edu (8.11.6/8.11.6) with ESMTP id g771fkh16911 for ; Tue, 6 Aug 2002 21:41:46 -0400 (EDT) Message-ID: <3D5077E9.8DD79D0E@ipr.umd.edu> Date: Tue, 06 Aug 2002 21:29:13 -0400 From: "Rami A. Kishek" X-Mailer: Mozilla 4.73 [en]C-NSCPCD (Win98; U) X-Accept-Language: en,zh,zh-CN MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Update linux from 7.1 to 7.3 and couldn't get Psql7.0.3 back to work Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/67 X-Sequence-Number: 5182 %psql psql: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > It doesn't work The very first command gives me the error: > ========== > [root@...]# /etc/rc.d/init.d/postgresql start > > An old version of the database format was found. > You need to upgrade the data format before using PostgreSQL. > See (Your System's documentation directory)/postgresql-7.2/README.rpm-dist fo$ > more information. > =========== > > It seems before that, I need to type the following as user postgres: > ============= > The basic sequence is: > (as user postgres): > postgresql-dump -t /var/lib/pgsql/backup/db.bak -p /var/lib/pgsql/backup/old -d > (you can abort the ASCII dump with 'Q', as it uses more) Then, (as user root): > ================= > > However, it seems there is no command postgresql-dump. I found a command > called pg_dump in the /usr/lib/pgsql/backup directory. However when It > substitute that for the other command, I get another error: > ============= > bash-2.05a$ ./pg_dump -t /var/lib/pgsql/backup/db.bak -p > /var/lib/pgsql/backup/old -d > pg_dump: no database name specified ============= Does any one has any clue? Any comments are greatly appriciated. Thank you, Xueying Ni