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 1iGOEC-0001Eu-0f for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 14:06:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGOEA-0003Ax-QI for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 14:06:38 +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 1iGOC4-0006u1-5s for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 14:04:28 +0000 Received: from mail-wm1-x343.google.com ([2a00:1450:4864:20::343]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1iGOBx-0002aY-BN for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 14:04:26 +0000 Received: by mail-wm1-x343.google.com with SMTP id r17so9700132wme.0 for ; Fri, 04 Oct 2019 07:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20150623.gappssmtp.com; s=20150623; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=kYoshiM4fRsCDqaQLcfyCwJNp6F7uyPcf8KToO9rh54=; b=h4i7ndGAc5jwm3YlO7Rxa+8f1+hUiQRierroIzRKOAC0vm8Tia5zghYuFEvV010Drf MPNX90Z2Lz/Gpzb3iEr5uw8hspvbwqqUQUueNrC0luFYJTgWOXWieTgqJAQLbbptmOrP yXplS+RXKD2KmS9K8kYjbx+pUYJ8Axa3KyuMJ0hGH5DQn9xaVeNB5F5X6V7BZALce/Z9 +STcAEQXYMylseUqVEmr/SvMNoKh89pTbY799Igd3bYav8s4HqEqtPti2qaqRQstftzJ sWW9CeafhLTeaGy5waJURXwWthyf/W6ibN82A+o0/gXIwHps5nsP7R265lXxdk0s4JJg 2rMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=kYoshiM4fRsCDqaQLcfyCwJNp6F7uyPcf8KToO9rh54=; b=oEZdeY/Af0JBnrYg0kiPzaaAAbQJF2NbncGg4YvwKAdrnqK5Z5k6uwU4iGvJ1RIqn4 zT/oEmhu8LWUvn+EXNni6W3OprLLSXmsuFd46cOmean2T3nUDD2hb1V59YEYcsen+5og EeqDqRlfbETwJBKGe5gdgmM7rCvqFoHMYZOh0KwF3iy3N9rgwyXkqAq1OnZtaXCqK2FR L+HPweph8Ftxz1k/woZ6yOu6Uj4EiK9iuu6ZBJ1Sxo7X8XMBEBvJFTxuQCIwgS3iTOCq x0Khw642vGU3cIwSmIh3OYTNZ5Fx+5Mrqdqxs5WUELgz1KRxb9P857PmInljMmmOqHBS M0xQ== X-Gm-Message-State: APjAAAWy8UZ5AmtrRk+MaT8z4hQQH5QrTkcjUIix5OZoTLMKMcMJnCcH 186PEzMOQ49026kONEzK+fxYrg== X-Google-Smtp-Source: APXvYqwcYDPoGEhBn+o3AC4eBR6cR0PBKSk3tuhWMBiXDyiBprN9xcbwew66pWuci5T0tLqUnQSTxA== X-Received: by 2002:a1c:4d4:: with SMTP id 203mr11814155wme.150.1570197858900; Fri, 04 Oct 2019 07:04:18 -0700 (PDT) Received: from localhost.localdomain (217-149-174-241.nat.highway.telekom.at. [217.149.174.241]) by smtp.gmail.com with ESMTPSA id 90sm8519380wrr.1.2019.10.04.07.04.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Oct 2019 07:04:18 -0700 (PDT) Message-ID: <9ad3c92eb92c39c1256f151ff553110f9928fadf.camel@cybertec.at> Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation From: Laurenz Albe To: Thomas Kellerer , pgsql-general@lists.postgresql.org Date: Fri, 04 Oct 2019 16:04:17 +0200 In-Reply-To: <58edf560-f277-8993-abe3-22d57dc11c50@gmx.net> References: <58edf560-f277-8993-abe3-22d57dc11c50@gmx.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Kellerer wrote: > I was trying to learn how the new non-deterministic collations in v12 > work, but the following makes the backend crash: > > CREATE COLLATION de_ci (provider = icu, locale = 'de-x-icu', > deterministic = false); > > Which leads to: > > 2019-10-04 11:54:23 CEST LOG: server process (PID 7540) was > terminated by exception 0xC0000005 > > I might have misunderstood how to use deterministic to create a case- > insensitive collation, but I don't think the backend should crash if > I do something wrong ;) Yes, there is a bug somewhere. FWIW, it works on my Linux system. To get a case insensitive collation you'd have to use something like LOCALE = 'de-DE-u-ks-level2' Yours, Laurenz Albe -- Cybertec | https://www.cybertec-postgresql.com