[rt-users] Making "make initdb" idempotent?

Ruslan Zakirov ruz at bestpractical.com
Fri Jun 21 11:56:00 EDT 2013


On Fri, Jun 21, 2013 at 5:36 PM, Craig Ringer <craig at 2ndquadrant.com> wrote:

> On 06/21/2013 08:21 PM, Ruslan Zakirov wrote:
> > Hi,
> >
> > Some of what you mention may be partially implemented in a branch
> > (upgrade history). Note that "Don't create if it exists" concept is not
> > something we're targeting at. Our approach is to register upgrade files
> > so they can not be applied twice so easy.
> >
>
> Hm. That'd work if an extension could provide multiple upgrade files, so
> each new version could add new upgrade files.
>

Our extensions do this. Each version that needs DB upgrade provides a
separate upgrade dir with schema, content... like RT itself.


>
> --
>  Craig Ringer                   http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services
>



-- 
Best regards, Ruslan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130621/7a5ed13a/attachment.html>


More information about the rt-users mailing list