cli
cli copied to clipboard
fix(pg-v5):improve confirmation message of pg:copy
In cases where the source and target are different, but the DB names are the same, the information displayed is not enough to avoid confusion and cause a possible loss of data.
This PR takes care of only that case, displaying the input from the cli.
should solve #687 #1545
Would love to see this or something similar merged - pg:copy commands currently give very scary messages that infer you are destroying data in the source database.