Re: [HACKERS] Re: pg_dump with BLOBS & V7.0.2 UPDATED

From: Pavel(dot)Janik(at)linux(dot)cz (Pavel Janík ml(dot))
To: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: pg_dump with BLOBS & V7.0.2 UPDATED
Date: 2000-07-19 11:18:41
Message-ID: m34s5m9z54.fsf@totally-fudged-out-message-id
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

From: Pavel(dot)Janik(at)linux(dot)cz (Pavel Janík ml.)
Date: Wed, 19 Jul 2000 11:11:05 +0200

Hi,

> this patch applied, just untar the newest snapshot to src/bin/pg_dump
> and you can continue with normal installation: configure && make &&
> make install.

hmm. PG_VERSION is defined as 0 in version.h:

#define PG_VERSION "0"

but in CVS version the variable is defined in config.h:

#define PG_VERSION "7.1devel"

So if you compile the new pg_dump as I wrote above, you must use
--ignore-version:

SnowWhite:/home/pavel$ pg_dump db
Database version: Archiver(db)
PostgreSQL 7.0.2 on i486-pc-linux-gnu, compiled by gcc 2.7.2.3 version: 0
Aborting because of version mismatch.
Use --ignore-version if you think it's safe to proceed anyway.
SnowWhite:/home/pavel$

I think this is the correct (and smallest :-) patch:

Attachment Content-Type Size
pg_dump_141_702-version.diff text/x-patch 459 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2000-07-19 13:13:55 Re: Postgres + PHP question: username in pg_connect?
Previous Message kurt miller 2000-07-19 10:43:50 Query problem - explicit casts

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2000-07-19 12:49:24 Re: Untrusted PL/Tcl?
Previous Message Peter Vazsonyi 2000-07-19 10:19:16 Re: MySQL comparison