Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ia6Cf-0004Jc-4e for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Nov 2019 22:54:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ia6Cc-0003nv-CA for pgsql-bugs@arkaria.postgresql.org; Wed, 27 Nov 2019 22:54:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ia6Cc-0003nk-3i for pgsql-bugs@lists.postgresql.org; Wed, 27 Nov 2019 22:54:30 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ia6CU-0000ND-S2 for pgsql-bugs@lists.postgresql.org; Wed, 27 Nov 2019 22:54:29 +0000 Received: by mail-wm1-x342.google.com with SMTP id b11so8910170wmj.4 for ; Wed, 27 Nov 2019 14:54:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=E42XvcsK5V0H1h0AaIxfBQjOLdi37OAKKfUlJsay+wE=; b=ljj4aY/Td/YOkWtDg4yqeAuF1yJCBpBwkAcapr3QuiRMla9y453gc08oFI5ppQCabL a40y38yyX6RFo6RNEkhWpsyOuAQ8HyWQZUF1SJ6ezQA71msvntq7cKVYiJBJvvgGZyMm Mp3qY3K+mgM+YuQKBYS+Exrpub16OxZ+ZdUEvRSaIwAtNX8N4qPcdVZqsHFKpa1Fv2ww EYis99YnvU+HIBRLPWQ1PL/XwPovxBg7bvG4HlCTgEfCgQ3TcnD0cgbpGiGtVz2mz/PW VXb63AOcouXxVDNa3c0i2yS7ykSK2tI5f2Co4OzfnYDVONnQuW8vpGP3CU9pMFbQRBPU VnxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=E42XvcsK5V0H1h0AaIxfBQjOLdi37OAKKfUlJsay+wE=; b=hLKmbJNALcC85d4/WO+rWxqF34SJy3ceQUkax8lRzUBV9uAwpLswuvT6WskOeOH4WE Ewpp0zd2YrEFUwPpJLBFoouD4GVr1KX2AMDF5IGPI6PIB6BtlLAGqvdzdwCaw/4lWGFT 2WeRGVWR7b/w/bUGHFo2pD3cQRcb6kDZTFzp+LmT7TdsgMUcGGls942MyLcAGwjV9fpp h/tuNPyshBOzojN5Vr8uwk4Jcv6O3dOba3EYjIK+RkBRq6iYI4q7y5Ky1PC2jx1RO7wO OdW35XDCsI39bZxzX8EU01HF3Aip2CwWMMT4CBMlxmGChmQLkD0z/I491NchOv8plhwc dFpw== X-Gm-Message-State: APjAAAWpS8dcHNRMX15BGVIq+Um3y0TuJvcSCeGfaZ07NPj1Kzm7nQzm OsjsiOFyoKwbGQI7OW3/k7WxnQ== X-Google-Smtp-Source: APXvYqxzN6kR3LvzVPX7jEeVkyUKr//Y+myGWO4tRPGrR6Z83lZPvLljwUl+VvvNyqzNFWqIy9TVDw== X-Received: by 2002:a7b:c5d9:: with SMTP id n25mr6721390wmk.8.1574895260991; Wed, 27 Nov 2019 14:54:20 -0800 (PST) Received: from localhost (ip-86-49-253-92.net.upcbroadband.cz. [86.49.253.92]) by smtp.gmail.com with ESMTPSA id f1sm2532923wrp.93.2019.11.27.14.54.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Nov 2019 14:54:19 -0800 (PST) Date: Wed, 27 Nov 2019 23:54:18 +0100 From: Tomas Vondra To: Alvaro Herrera Cc: Andres Freund , Andrey Salnikov , pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16125: Crash of PostgreSQL's wal sender during logical replication Message-ID: <20191127225418.uiqpho4zllx4j2po@development> References: <20191119232849.qhtuhq4udrqrz4he@alap3.anarazel.de> <20191127175935.GA20945@alvherre.pgsql> <20191127223933.ohe3wtdsssvgxdh5@development> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="syzoqdnzihh5qpxt" Content-Disposition: inline In-Reply-To: <20191127223933.ohe3wtdsssvgxdh5@development> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --syzoqdnzihh5qpxt Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline On Wed, Nov 27, 2019 at 11:39:33PM +0100, Tomas Vondra wrote: >On Wed, Nov 27, 2019 at 02:59:35PM -0300, Alvaro Herrera wrote: >>On 2019-Nov-19, Andres Freund wrote: >> > > ... > >FWIW attached is a SQL script creating tables with the same structure >(without the dropped columns, but I think those are irrelevant). > Meh, this time with the file actually attached ... regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --syzoqdnzihh5qpxt Content-Type: application/sql Content-Disposition: attachment; filename="bug.sql" Content-Transfer-Encoding: quoted-printable =0ACREATE TABLE table1 (=0A column1 jsonb,=0A column3 smallint not null,=0A= column4 integer not null,=0A column5 integer not null,=0A column6 intege= r not null,=0A column7 smallint not null=0A);=0A=0AALTER TABLE table1 ADD = PRIMARY KEY (column6, column7, column5, column4, column3) WITH (fillfactor= =3D'70');=0ACREATE INDEX table1_index1 ON table1 (column7, column5, column4= ) WHERE column7 =3D 1 OR column7 =3D 1 OR column7 =3D 1=0A=0AALTER TABLE ta= ble1 REPLICA IDENTITY FULL;=0A=0ACREATE TABLE table2=0A(=0A column1 int= eger primary key,=0A column2 jsonb,=0A column3 jsonb,=0A column5 = bigint,=0A column6 double precision,=0A column7 character varying= (32),=0A column8 bigint,=0A column10 smallint,=0A column11 bigint= ,=0A column12 bigint,=0A column13 integer,=0A column14 bigint=0A);= =0A=0ACREATE INDEX table2_index1 ON table2 (column1, column14, column12) WI= TH (fillfactor=3D'90');=0ACREATE INDEX table2_index2 ON table2 (column11, c= olumn14, column12, column8, column1) WITH (fillfactor=3D'50');=0A=0AALTER T= ABLE table2 REPLICA IDENTITY FULL;=0A --syzoqdnzihh5qpxt--