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 1fdLwo-0002GX-Jp for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 20:42:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdLwm-0007N5-T8 for pgsql-general@arkaria.postgresql.org; Wed, 11 Jul 2018 20:42:48 +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 1fdLwm-0007Mw-GN for pgsql-general@lists.postgresql.org; Wed, 11 Jul 2018 20:42:48 +0000 Received: from mail-oi0-x242.google.com ([2607:f8b0:4003:c06::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fdLwj-0004RY-HW for pgsql-general@lists.postgresql.org; Wed, 11 Jul 2018 20:42:46 +0000 Received: by mail-oi0-x242.google.com with SMTP id b15-v6so51692326oib.10 for ; Wed, 11 Jul 2018 13:42:45 -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=iFDKae7mq+xCxvSMdXQntG2Jyymce6LA0EmuF9ng+uI=; b=ZrZVILGQtxOeVnySMyWtXelEX5eimKkDT2hNYsJXUTjf3Fy/wNR8I6y/MWQeemQOq1 eXJHLwk9Uh0TL0sS38mFamChTCCrEJTm97RcdmhADUzwPknDqt2dDX9elPE8nWCmhCL4 BiDvh6G9IUHnpt4f8M15foQwgJlLOO95weBHMfivhHBHDnnLLtfge4/v+WZ07d3pK59E /NAo8Ldgayzbah0z527ICkyZlnZQkzKk958/IYxwy00/EmZaJhJheBruZL0+tW49QfkH c1oLZG3fCJtcbNQWPBlj9xZLooRBlWhPQr1QEcGeYvrhVOg8hhW/maArkkjVE0xYRHyw qv2Q== 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=iFDKae7mq+xCxvSMdXQntG2Jyymce6LA0EmuF9ng+uI=; b=oqhVhc1+SkVqIhqAmqbBc+90VH/LkutPI9xqHCyvoxY6bJoEvcMdIGnYqmcHZvdzRh Oc0ba6z7IwwoJuv3auQ5br06MSH7Dl9ZMqYuoUtdcS6dkS781CnLqCGwT/kWluEL0MC2 gD2D3Urno6y+aHlQOB/qFlztNhD2BXR86/LzeLjqEAw4HuB2E134JpQw7vktnM1UOeIB F6PHKslaUxgoEcF3IXY55G2pa2FKy8SLnO0Hx2l9wMFJdhrV0FLwdEGYNdlBDl0Lf+U1 rZJfTg+n+S4Q2LZLtJXgvDVPQMdKkSJsT4BreglwWiWRGc1irx0kA9bUJ3XyBSIj7Dtg 3aaQ== X-Gm-Message-State: AOUpUlGgfuSSd9gX2+7uKXOLnv3pWsmL2pXwB4i1rV40ZD8VHaqQvHVt Kzd9+DfLDP1vI7cgUOG+y75/BQ== X-Google-Smtp-Source: AAOMgpcCFM4zPv+eX3cyl/mnXXcErU5DtoRYfdGcWrJi7Jg0lEVl6PvQp3s8SpLYi09vyyOMJb9/Xg== X-Received: by 2002:aca:fdd5:: with SMTP id b204-v6mr261291oii.30.1531341764607; Wed, 11 Jul 2018 13:42:44 -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 i204-v6sm11176737oia.41.2018.07.11.13.42.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jul 2018 13:42:43 -0700 (PDT) Subject: Re: Open Source tool to deploy/promote PostgreSQL DDL To: pgsql-general@lists.postgresql.org References: <30EDCBE5-8FEB-476A-BADD-E5511FD13DDC@gmail.com> From: Ron Message-ID: <3ddb7a3c-66a7-5063-ce5b-ebb549577f2a@gmail.com> Date: Wed, 11 Jul 2018 15:42:43 -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: <30EDCBE5-8FEB-476A-BADD-E5511FD13DDC@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/11/2018 03:39 PM, Ravi Krishna wrote: >> Where I work, the requirement to have rollback scripts is part of the ITIL requirement for Changes to have a backout procedure. >> > Liquibase provides that ability, but IMO rollback for RDBMS is always bit tricky. Certain DDL operations can take long time if it involves > a table rewrite. PG is actually better than others. Yeah, that's true.  Sometimes I just dump the whole table, and reload if a rollback is necessary. -- Angular momentum makes the world go 'round.