pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: btihen@gmail.com
Subject: BUG #16147: postgresql 12.1 (from homebrew) - pg_restore -h localhost --jobs=2 crashes
Date: Wed, 04 Dec 2019 11:46:35 +0000
Message-ID: <16147-34dfe783aba141b0@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16147
Logged by:          Bill Tihen
Email address:      btihen@gmail.com
PostgreSQL version: 12.1
Operating system:   MacOS 10.15.1
Description:        

The following command crashes with any database I've tried (both large and
small) DBs:
`pg_restore -U wti0405 -d stage3 -h localhost --jobs=8 -Fc
database_12_04-01-00.bak -x`

I get the error others have associated with a locking problem in earlier
versions:
`pg_restore: error: a worker process died unexpectedly`

Interesting both of the following commands work!
`pg_restore -U wti0405 -d stage3 --jobs=8 -Fc database_12_04-01-00.bak -x`
&
`pg_restore -U wti0405 -d stage3 -h localhost -Fc database_12_04-01-00.bak
-x`

So it appears this is only a problem when using parallelization with a TCP
and not a local socket.



view thread (8+ messages)  latest in thread

Message-ID: <16147-34dfe783aba141b0@postgresql.org>
Permalink:  ../16147-34dfe783aba141b0@postgresql.org/
Also on:    postgresql.org/message-id/16147-34dfe783aba141b0@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, btihen@gmail.com
  Subject: Re: BUG #16147: postgresql 12.1 (from homebrew) - pg_restore -h localhost --jobs=2 crashes
  In-Reply-To: <16147-34dfe783aba141b0@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox