ToDo: pg_backup - using a conditional DROP

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: ToDo: pg_backup - using a conditional DROP
Date: 2011-11-15 08:05:45
Message-ID: CAFj8pRAKw6z8=WQ6Rk2npZoNiQwNspcqm3kJNcstvPwNt=NQGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

there is a request on enhancing of pg_backup to produce a conditional
DROPs. A reason for this request is more simple usage in very dynamic
production - cloud BI solution.

pg_backup can have a new option "--conditional-drops" and then pg_dump
will produce a DROP IF EXISTS statements instead DROP statements.

Ideas, comments?

Regards

Pavel Stehule

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Torello Querci 2011-11-15 09:31:23 Re: ToDo: pg_backup - using a conditional DROP
Previous Message Jaime Casanova 2011-11-15 04:00:00 Re: patch : Allow toast tables to be moved to a different tablespace