On 2018-08-28 23:18:25 -0400, Tom Lane wrote:
> Andres Freund <and...@anarazel.de> writes:
> > Tom, I think this could use your eyes.
> 
> I've had no luck reproducing it locally ... do you have a recipe
> for that?

It can reproduce reliably with the three scripts attached:

psql -c' drop table if exists t; create table t (a serial primary key, b int, c 
int);' && pgbench -n -c 4 -T300 -f /tmp/insert.sql
pgbench -n -c 4 -T300 -f /tmp/vacuum.sql
pgbench -n -c 4 -T300 -f /tmp/analyze.sql

Locally that triggers the problem within usually a few seconds.

Greetings,

Andres Freund

Attachment: insert.sql
Description: application/sql

Attachment: vacuum.sql
Description: application/sql

Attachment: analyze.sql
Description: application/sql

Reply via email to