Relative Content

Tag Archive for postgresqlpg-dump

Is it unsafe to run pg_dump on a cluster that has pg_basebackup currently running?

I have run pg_dump and pg_basebackup hundreds of times. However, maybe for the first time I ran them at the same time and it seems to have caused the server to crash! Specifically, pg_basebackup was in the middle of doing its thing when I then did a schema-only pull with pg_dump. pg_dump hung for a while and then the postgres service crashed/restarted. The error I identified in the logs was: