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 1h33vs-0004eD-L1 for pgsql-bugs@arkaria.postgresql.org; Sun, 10 Mar 2019 19:16:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1h33vq-00024Y-Bw for pgsql-bugs@arkaria.postgresql.org; Sun, 10 Mar 2019 19:16:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h33vp-00024R-WC for pgsql-bugs@lists.postgresql.org; Sun, 10 Mar 2019 19:16:22 +0000 Received: from mail-lj1-x242.google.com ([2a00:1450:4864:20::242]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h33vj-00018x-2U for pgsql-bugs@lists.postgresql.org; Sun, 10 Mar 2019 19:16:20 +0000 Received: by mail-lj1-x242.google.com with SMTP id z20so2138249ljj.10 for ; Sun, 10 Mar 2019 12:16:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=gzbSqeP+laQk5bU3v/kmNS6QhZdOwqAeprXNfEjnp1Y=; b=AAwM6Xdnpv3P72C5YEA6QQ5owyRbAqZ5Ac6L326ffWUVDDFT5r6fiCc+Ig03b+AaAr AenO+eU/DLJJM3t57ureyUubdGU1D0jr6jeh58CLFvTaAx80/EcO6hE4dTG7Sv5jc5lD BBglj7oBX40rPzb/+t9IIqsbI5Q0FjJh3mwu/TvkDVnuqrlRjs64E9vKK3rQfLZ+wAuG OoNxuRPLb5ltFreHy32wnI6qesmy2CG0yYrMImX0LCCr0XJ4Ek3BZ8U2VYKGIM0UaB6O sW9x/xxCdpRUDVIRMWmNh28pXQT531OI2FybTxi+inhhXmapDV5hu1Vdx9AwnvMa80S8 G0iA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=gzbSqeP+laQk5bU3v/kmNS6QhZdOwqAeprXNfEjnp1Y=; b=diZwzpvi7HxBGQji/TVQNV9ZYBb7MJod4b+PYB9zN1oIUvUWoAQtCargm1ZXUp+4bR khJWPVUnhhYw8k6u4hd+F53jTtzavPyEqc0ifzSFjZb3wIGOlJZ2pWGW0G2W8eeb8NxM Y7hKPOPl8ffVVDXOnPFQZgvFSMkRhGrZINc1oJL2gWxpwsF4KMDMEfg7wMIquNnwYbqG y4qNTgTUjjjPsMZHmJ+6NV2kVHoSlfMFm6Bm4Zju2U/z2zru5IJfiScLHa/rs6Ikz8pV elevBUStGPdqaMjqXffvdWYBPfGdR/lJ6lED1n6FeS5z9Q2ja+hQ0Kgrv5eArXFvozMm 9j7g== X-Gm-Message-State: APjAAAUepDdJ+nkW4g9w9KGZMOVNR/HaQq2FgRnzyoPUooZwdFOmCEut 2CH/0/NdhWYdczevkLVOqo8= X-Google-Smtp-Source: APXvYqx+UVlMmXsO2EcwNCTDtasn6vDSNMvBt+SUlgISJ9IzeOmy64MqhkCBxj9y3mf9WUWmSBigYw== X-Received: by 2002:a2e:8eda:: with SMTP id e26mr14099943ljl.157.1552245372295; Sun, 10 Mar 2019 12:16:12 -0700 (PDT) Received: from [1.0.0.7] ([178.155.4.187]) by smtp.gmail.com with ESMTPSA id l14sm659999ljh.62.2019.03.10.12.16.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 Mar 2019 12:16:11 -0700 (PDT) Subject: Re: BUG #15684: Server crash on DROP partitioned table To: Julien Rouhaud , PostgreSQL mailing lists , Amit Langote References: <15684-4ef33de3271cf929@postgresql.org> From: Alexander Lakhin Message-ID: <19cd0291-67de-e7d6-9565-7878514b733b@gmail.com> Date: Sun, 10 Mar 2019 22:15:21 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: ru-RU List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Julien, 10.03.2019 22:04, Julien Rouhaud wrote: > Hi, > > On Sun, Mar 10, 2019 at 7:55 PM PG Bug reporting form > wrote: >> The following query: >> create table at_partitioned (a int, b text) partition by range (a); >> create table at_part_1 partition of at_partitioned for values from (0) to >> (1000); >> create table at_part_2 partition of at_partitioned for values from (1000) to >> (2000); >> create index on at_partitioned (b); >> alter table at_partitioned alter column b type numeric using b::numeric; >> alter table at_partitioned alter column b type numeric using b::numeric; >> drop table at_partitioned cascade; >> > It seems to be the same bug as described in bug #15672 > (https://www.postgresql.org/message-id/15672-b9fa7db32698269f@postgresql.org). > I'm Cc-ing Amit just in case. Yes, after applying the patch presented in that thread the crash is not reproduced. Thanks for the tip! Best regards, Alexander