Skip to content

Commit 199802a

Browse files
authored
Update README.md
1 parent d2e6063 commit 199802a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2206,8 +2206,8 @@ order by ti.table_page_read desc, ii.idx_page_read desc
22062206

22072207
Одной командой, несколько таблиц с целостностью данных. Только схема `public`, без таблиц, которые начинаются со знака подчёркивания.
22082208
```bash
2209-
pg_dump -U postgres -h 127.0.0.1 --exclude-table=_* --dbname={database_src} --schema=public --verbose \
2210-
| psql -U postgres -h 127.0.0.1 --dbname={database_dst} --single-transaction --set ON_ERROR_ROLLBACK=on 2> errors.txt
2209+
pg_dump -U postgres -h 127.0.0.1 --exclude-table=_* --dbname=my_database_src --schema=public --verbose \
2210+
| psql -U postgres -h 127.0.0.1 --dbname=my_database_dst --single-transaction --set=ON_ERROR_ROLLBACK=on 2> errors.txt
22112211
```
22122212

22132213
Двумя командами, только одну таблицу, через промежуточный сжатый файл.

0 commit comments

Comments
 (0)