postgresql-simple-migration icon indicating copy to clipboard operation
postgresql-simple-migration copied to clipboard

Implement log redirection interface

Open unclechu opened this issue 5 years ago • 4 comments

Relates to #34 (satisfies second part).

  1. Adds alternative runMigrationA and runMigrationsA functions with additional argument of type Either Text Text -> IO () where Left is an error message and Right is an info message
  2. By default sends error messages to stderr instead of stdout
  3. Usage info in migrate executable is printed to stderr instead of stdout in case arguments are incorrect and executable exits with error exit code

This is the second attempt to implement the feature after #35

unclechu avatar Oct 01 '20 02:10 unclechu

What's the status of this PR? Does anyone need any help?

pjones avatar Oct 30 '20 18:10 pjones

@pjones We’re just waiting for maintainer’s feedback.

unclechu avatar Oct 31 '20 00:10 unclechu

If you ask me it’s ready to go.

unclechu avatar Oct 31 '20 00:10 unclechu

@ameingast Let’s ping the maintainer in case he missed or didn’t receive a notification.

unclechu avatar Nov 05 '20 04:11 unclechu