From: | Andreas Pflug <pgadmin(at)pse-consulting(dot)de> |
---|---|
To: | ow <oneway_111(at)yahoo(dot)com> |
Cc: | Hannu Krosing <hannu(at)tm(dot)ee>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg_restore and create FK without verification check |
Date: | 2003-11-26 12:16:42 |
Message-ID: | 3FC499AA.3020900@pse-consulting.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
ow wrote:
>--- Andreas Pflug <pgadmin(at)pse-consulting(dot)de> wrote:
>
>
>>Yes, I mentioned it just a few days when discussing dependency in pg_dump.
>>This is somewhat complementary to WAL and PITR. I'm seeking for a fast
>>way to dump and restore a complete database, like physical file copy,
>>without shutting down the backend. I was thinking of a BACKUP command
>>that streams out the files including any indexes and non-vacuumed
>>tuples. A database recreated from that wouldn't be as clean as a
>>pg_dump/pg_restored database, but it would be up much faster, and there
>>wouldn't be any dependency problem.
>>This doesn't really replace pg_dump/pg_restore, because it probably
>>wouldn't be able to upgrade a cluster. Still, it would be helpful for
>>disaster recovery.
>>
>>
>>
>
>I think creating a FK without verification check is still needed, especially in
>case if:
>1) original db is corrupted
>2) during cluster upgrade
>
>
Agreed. This might be useful for replication purposes too; in MSSQL, you
can write "CREATE TRIGGER ... NOT FOR REPLICATION". I'd like to see a
transaction safe way (ENABLE/DISABLE TRIGGER command) for this.
>3) there's a need to BACKUP/RESTORE a *schema* instead of db.
>
>Thanks
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Free Pop-Up Blocker - Get it now
>http://companion.yahoo.com/
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | ohp | 2003-11-26 12:46:08 | Re: 7.4final regression failure on uw713 |
Previous Message | ow | 2003-11-26 12:04:54 | Re: pg_restore and create FK without verification check |