Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdLrA-0001zA-Cr for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 20:37:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdLr8-0001mt-OK for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 20:36:58 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdLr8-0001ml-D2 for pgsql-general@lists.postgresql.org; Wed, 11 Jul 2018 20:36:58 +0000 Received: from mail-oi0-x241.google.com ([2607:f8b0:4003:c06::241]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fdLr5-0004Eb-QE for pgsql-general@lists.postgresql.org; Wed, 11 Jul 2018 20:36:57 +0000 Received: by mail-oi0-x241.google.com with SMTP id d189-v6so51681030oib.6 for ; Wed, 11 Jul 2018 13:36:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=9Z4xO3+419+dyJQLnswzoYdUnvD6793eJAT77GC0slQ=; b=LbEDxIMRy6pPEhBoNll2kSRoS74lgL33oFAqL81ZYoObJcneRuoT1lBcN0kwtLrt3n xBBenpDdKHZ/JDXBNGAN9hikS7xa1y01kn7SEr44Dp4p0fxTRfgcbBZnt0azDvwqZOOz fy4GsKBfyfV0uCzGbVyEK3hkM4cIWQAZAjAWes2nKynRQz9ys6cHGSgaV8PB8CUaDZHD n4ki62FK9gVYok+Xfvp5dN7TRgXH9wVDBlA0ZaGI9GFS0MkkRfGZat1I9YMAgdDM3AYD paN+mgJa+emRciSkBDFSdQ+/se4kOdfVFW5HwW2VHw437mLKH+hiHIbYN1AOWdRgi+hK nIEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=9Z4xO3+419+dyJQLnswzoYdUnvD6793eJAT77GC0slQ=; b=PXFORBoHigA0pcTBq7xMRtbRveNFsgJsshQRmJfVdgNKsTJ8CbBUumg7wEX8jyEjjC EkGiNZsnLfxVBn/Q/0P55eZb/rCyY8ju1ywAzN4nHBuxlSZ1OBljqZ/tRFqDOshvQ+ad 8jjJIfFCR5eNL0JCxCPD/6JZP1HyZpoX93i8HiVZRT1WoTHLp13/AHkZW7bFB0y7O5Dn CEGXDS6UTtY351pcX3ewoi0PaepzHrcjHDr9VMt9c9bsjqeefNJDxT5mlkNuPwsBCIb5 oJe+6N/7bSrJIsRxGabzylptk+c0ChJqXei967wJ2LvSFOcrVeBOG6WGX9jdOM58TOdF cS8Q== X-Gm-Message-State: AOUpUlFxFjyfiNYvhXFA1pAiMA3izzQPL7m15n4oFXVujWLF17mI9qre vcHyz11A5AL7b/dgLeWKsezrzg== X-Google-Smtp-Source: AAOMgpewcfian5ZcyhoJ1o0Rww/Io7i4y9I841zxlDh0Y++Eg0Wd8DsKCBAhg6/CuVJJAhvwLaIPLQ== X-Received: by 2002:aca:a12:: with SMTP id 18-v6mr194124oik.292.1531341414604; Wed, 11 Jul 2018 13:36:54 -0700 (PDT) Received: from [192.168.1.10] (ip70-171-116-89.no.no.cox.net. [70.171.116.89]) by smtp.googlemail.com with ESMTPSA id z196-v6sm42075280oig.12.2018.07.11.13.36.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jul 2018 13:36:53 -0700 (PDT) Subject: Re: Open Source tool to deploy/promote PostgreSQL DDL To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: Date: Wed, 11 Jul 2018 15:36:53 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/11/2018 03:21 PM, Christopher Browne wrote: > I have built one that I call Mahout > (https://github.com/cbbrowne/mahout) which has the merit of involving > just two shell scripts, one of which is an auditing tool (pgcmp). > > It implements a "little language" to indicate dependencies between the > SQL scripts that implement the DDL changes. > > The notable thing that I have seen "downthread" that it does not > attempt to implement is "rollback scripts." I find that "necessity" > to be a ruby-on-rails dogma that does not seem to fit what I see > people doing. Where I work, the requirement to have rollback scripts is part of the ITIL requirement for Changes to have a backout procedure. -- Angular momentum makes the world go 'round.