pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paulo Rogerio Zimolo <paulorz@grieg.com.br>
To: pgsql-admin@postgresql.org
Subject: Dumping from version 7.3.4  to 7.4.1
Date: Wed, 11 Feb 2004 09:28:29 -0300
Message-ID: <MKEKLDODNBMBDBCIMKMOIEMBDGAA.paulorz@grieg.com.br> (raw)

I'm trying to do pg_dump an old version (7.3.4) to a new one (7.4.1) with
the following command:

    pg_dump -U username -h server -i -o database | psql -U username -h
newserver newdatabase

As a result I got:

    pg_dump: server version:PostgreSQL 7.3.4 on i586-pc-linux-gnu, compiled
by GCC 2.95.3;
    pg_dump version:7.2
    pg_dump: proceeding despite version mismatch

    pg_dump: query to obtain list of data types failed
    error: attribute "typprtlen" not found"

What is this  attribute?
Am I doing something wrong?
Is there any better way to dump the database to another version?

Any help will be welcome

Many thanks
Paulo Zimolo

Attachments:

Notebook.jpg (image/jpeg, 2.9K) download view image

view thread (3+ messages)  latest in thread

Message-ID: <MKEKLDODNBMBDBCIMKMOIEMBDGAA.paulorz@grieg.com.br>
Permalink:  ../MKEKLDODNBMBDBCIMKMOIEMBDGAA.paulorz@grieg.com.br/
Also on:    postgresql.org/message-id/MKEKLDODNBMBDBCIMKMOIEMBDGAA.paulorz@grieg.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: paulorz@grieg.com.br
  Subject: Re: Dumping from version 7.3.4  to 7.4.1
  In-Reply-To: <MKEKLDODNBMBDBCIMKMOIEMBDGAA.paulorz@grieg.com.br>
  References: <MKEKLDODNBMBDBCIMKMOIEMBDGAA.paulorz@grieg.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox