Skip Menu |
 

This queue is for tickets about the Database-Migrator-Pg CPAN distribution.

Report information
The Basics
Id: 120488
Status: resolved
Priority: 0/
Queue: Database-Migrator-Pg

People
Owner: Nobody in particular
Requestors: OSCHWALD [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.06



Subject: Should set ON_ERROR_STOP
Download (untitled) / with headers
text/plain 211b
Currently, psql continues processing the script if there is an error. Setting ON_ERROR_STOP seems like a better default that is less likely to cause an unintended state if part of a migration script fails. Greg
Download (untitled) / with headers
text/plain 397b
On 2017-03-03 09:44:31, OSCHWALD wrote: Show quoted text
> Currently, psql continues processing the script if there is an error. > Setting ON_ERROR_STOP seems like a better default that is less likely > to cause an unintended state if part of a migration script fails.
I agree. Patches are welcome, or I can give you comaint on this. I don't know that I'll be using this at work any time soon, and I know you are.
CC: OSCHWALD [...] cpan.org
Subject: Re: [rt.cpan.org #120488] Should set ON_ERROR_STOP
Date: Tue, 7 Mar 2017 20:11:37 -0800
To: Dave Rolsky via RT <bug-Database-Migrator-Pg [...] rt.cpan.org>
From: "Gregory J. Oschwald" <oschwald [...] gmail.com>
Download (untitled) / with headers
text/plain 301b
Show quoted text
> I agree. Patches are welcome, or I can give you comaint on this. I don't > know that I'll be using this at work any time soon, and I know you are.
I did this in: https://github.com/houseabsolute/Database-Migrator-Pg/pull/1 I can also take comaint if you prefer doing it that way. Thanks, Greg


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.