eulerto / pgquarrel

pgquarrel compares PostgreSQL database schemas (DDL)
BSD 3-Clause "New" or "Revised" License
388 stars 42 forks source link

Allow sending output to stdout #50

Closed abrkn closed 6 years ago

abrkn commented 6 years ago

Debugging/summary/etc. should be sent to stderr. Can be made an option in ini

eulerto commented 6 years ago

@abrkn logXXX() and printSummary are sent to stderr. verbose defaults to false (check your ini file). You should also check -v option in command line because it enables debug messages. Errors are always printed. summary defaults to false (check your ini file). You should omit -s option in the command line to avoid summary.

eulerto commented 6 years ago

I added support to output to stdout by default (cf ee582636a57d4e19c93db3b0c7adfe12748c2dad and 95919f2de84bfa09403a82373e7a033e7bf8f90e). I also added a command line option (-f) for it.