/usr/pgsql-11/bin/pg_dumpall -p 5432 -U postgres -r | /usr/pgsql-11/bin/psql -p 5433
Related Posts

Datazo
- Don Diego Puramagia
- 2016/10/10
- 0
Recién tuve que hacer un insert masivo de registros borrados por error (desde Chaco) sobre una tabla de Prevencion PROD que tiene TRIGGGERS. Tomé los […]
DELETE con LIMIT en Postgres
- Don Diego Puramagia
- 2019/10/04
- 0
Sucio y desprolijo: WITH cte AS ( SELECT my_rowid /* your PK */ FROM batch WHERE bat_close_time_stamp <= 1507381943.93144 /* your condition */ /* ORDER […]
Paranoid SQL Execution on Postgres
- Don Diego Puramagia
- 2021/07/06
- 0
Suppose that you want to be completely over-the-top paranoid about making sure that when you execute some particular SQL statement on your Postgres database, you’re […]