cli icon indicating copy to clipboard operation
cli copied to clipboard

fix(pg-v5):improve confirmation message of pg:copy

Open estani opened this issue 4 years ago • 1 comments

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

estani avatar Aug 07 '20 16:08 estani

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.

jeanmw avatar Nov 30 '21 20:11 jeanmw