Re: Making pg_dump cvs friendly

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Jonathan Bartlett <johnnyb(at)eskimo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Making pg_dump cvs friendly
Date: 2004-01-06 10:42:17
Message-ID: 200401061042.i06AgHe05114@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Jonathan Bartlett wrote:
> I have created a patch to postgresql 7.3.3 to make pg_dump more CVS
> friendly. Basically, pg_dump numbers all of it's TOC entries. Therefore,
> if you modify or recreate a view that used to be at the beginning, then
> ALL of your tables/indexes/etc get renumbered, which causes a lot of junk
> in your CVS.
>
> Anyway, the patch is at
>
> http://www.eskimo.com/~johnnyb/pgdump-cvs-patch.diff
>
> Comments welcome, but this is my first patch, so please be gentle :)

7.5 will no longer output TOC numbers or oids unless you specify
--verbose in the dump, so these new pg_dump options are no longer
required. Thanks.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2004-01-06 10:45:51 Re: [HACKERS] Announce: Search PostgreSQL related resources
Previous Message Jan Poslusny 2004-01-06 09:50:57 pg_dump and client_encoding

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-01-06 10:43:29 Re: Alter Table phase 1 -- Please apply to 7.5
Previous Message Bruce Momjian 2004-01-06 10:40:31 Re: fork/exec patch: pre-CreateProcess finalization