sudo bash -c 'pv -petab /full/path/to.iso | dd of=/dev/sdX bs=16M conv=fsync status=none'This will show progress, eta and wiil not need long sync after it's finished.
sudo bash -c 'pv -petab /full/path/to.iso | dd of=/dev/sdX bs=16M conv=fsync status=none'This will show progress, eta and wiil not need long sync after it's finished.
| CREATE OR REPLACE FUNCTION | |
| copyTableIndexes(fromSchema varchar, fromTable varchar, toSchema varchar, toTable varchar) | |
| RETURNS void AS $$ | |
| DECLARE | |
| oneIndex record; | |
| q text; | |
| BEGIN | |
| IF | |
| NOT EXISTS( | |
| SELECT * |