Re: BUG #16147: postgresql 12.1 (from homebrew) - pg_restore -h localhost --jobs=2 crashes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: btihen(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #16147: postgresql 12.1 (from homebrew) - pg_restore -h localhost --jobs=2 crashes
Date: 2019-12-04 14:03:26
Message-ID: 15364.1575468206@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> The following bug has been logged on the website:
> Bug reference: 16147
> Logged by: Bill Tihen
> Email address: btihen(at)gmail(dot)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 failed to reproduce this on my own 10.15.1 laptop, using manual
builds of either HEAD or the v12 branch. Plausible reasons for
the difference in results might include:

* There's something different about the homebrew build (could we
see the output of pg_config?)

* There's something unusual about your configuration (one thought
that comes to mind: do you have SSL turned on for localhost
connections?)

* There's something about the data in this specific database
(your report that it happens for multiple databases puts a crimp
in this idea, though maybe they all share a common feature)

Anyway, we need more info to investigate. You might try looking
into the server log to see what the failure looks like from that
side --- is there a query error, or just the worker disconnecting
unexpectedly?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2019-12-04 14:19:56 BUG #16148: Query on Large table hangs in ETL flows and gives out of memory when run in pgAdmin4
Previous Message Tomas Vondra 2019-12-04 13:55:36 Re: BUG #16145: Not able to terminate active session

Browse pgsql-hackers by date

  From Date Subject
Next Message Konstantin Knizhnik 2019-12-04 14:08:53 Re: Yet another vectorized engine
Previous Message Konstantin Knizhnik 2019-12-04 13:40:27 Re: Session WAL activity