schema-evolution-manager icon indicating copy to clipboard operation
schema-evolution-manager copied to clipboard

Remove need for tmp file when applying scripts

Open mbryzek opened this issue 11 years ago • 0 comments

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.

mbryzek avatar Oct 27 '14 01:10 mbryzek