Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove need for tmp file when applying scripts #12

Open
mbryzek opened this issue Oct 27, 2014 · 0 comments
Open

Remove need for tmp file when applying scripts #12

mbryzek opened this issue Oct 27, 2014 · 0 comments

Comments

@mbryzek
Copy link
Owner

mbryzek commented Oct 27, 2014

another idea would be to remove the temp file all together. This one threw me away initially as I had issues in the sql and the line report didn't make any sense to me, until I read the code (and also doublechecked nothing else was added, by hacking the code to not delete the file and inspect the tmp afterward).

So the psql command can accept the flag via arguments with --set ON_ERROR_STOP=on which would avoid the need to copy/modify the file and just use the source directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant