Re: pg_dump scripts are no longer ordinary-user friendly - Mailing list pgsql-hackers

From Philip Warner
Subject Re: pg_dump scripts are no longer ordinary-user friendly
Date
Msg-id 3.0.5.32.20010306130703.022f6430@mail.rhyme.com.au
Whole thread Raw
In response to pg_dump scripts are no longer ordinary-user friendly  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: pg_dump scripts are no longer ordinary-user friendly  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
At 20:00 5/03/01 -0500, Tom Lane wrote:
>I suppose this is only a cosmetic issue, but we're going to get
>questions/complaints about it... is there any way to avoid needing
>those UPDATEs?

I definitely prefer it to match the old behaviour, and since by default we
put triggers at the end, we could go back to the old model of only updating
pg_class in a data-only dump/restore.

This only has a problem if the user reorders the restore to put triggers at
the start, and then I suspect they may want them enabled anyway. If anybody
can see another case where this will be a problem, speak up...


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to shoot yourself in the foot: kill -9 postmaster
Next
From: Philip Warner
Date:
Subject: Re: pg_restore -U