pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation
Date: Sat, 5 Oct 2019 13:39:06 +0200
Message-ID: <6d643002-2127-12fc-8017-02a6815a8442@gmx.net> (raw)
In-Reply-To: <18482.1570210563@sss.pgh.pa.us>
References: <58edf560-f277-8993-abe3-22d57dc11c50@gmx.net>
	<9ad3c92eb92c39c1256f151ff553110f9928fadf.camel@cybertec.at>
	<ac33f189-2bcd-3be6-1dee-cb44c34ddb20@gmx.net>
	<11643.1570200758@sss.pgh.pa.us>
	<496d275e-3891-6537-406a-a1573af21ac4@gmx.net>
	<18482.1570210563@sss.pgh.pa.us>

Tom Lane schrieb am 04.10.2019 um 19:36:
> Hm.  This trace says that the crash happened somewhere down inside ICU
> itself, during the ucol_open() call in get_collation_actual_version().
> There isn't much we could have done to mess up the arguments to that
> function.  That would seem to mean that it's ICU's bug not ours.
> Maybe another reason not to be using such an old ICU version :-(.

I would like to test this with a newer ICU version.

So I managed to setup the build environment with Visual Studio, but I can't figure out how to enable ICU for the build.

I created a config.pl to specify the location of the downloaded ICU libraries with the following content

     # Configuration arguments for vcbuild.
     use strict;
     use warnings;

     our $config = {
       icu       => "d:\Projects\postgres\libs\icu\lib64\"    # --with-icu=<path>
     };

The build is successful, but when I run "install targetfolder" no ICU libraries are included and pg_config only shows:

    CONFIGURE = --enable-thread-safety --with-ldap --without-zlib

I have no idea what I am missing.

I also tried building with Msys2 but even when I run configure with the --with-icu option, no ICU DLLs are copied

Regards
Thomas






view thread (14+ messages)  latest in thread

Message-ID: <6d643002-2127-12fc-8017-02a6815a8442@gmx.net>
Permalink:  ../6d643002-2127-12fc-8017-02a6815a8442@gmx.net/
Also on:    postgresql.org/message-id/6d643002-2127-12fc-8017-02a6815a8442@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation
  In-Reply-To: <6d643002-2127-12fc-8017-02a6815a8442@gmx.net>
  References: <58edf560-f277-8993-abe3-22d57dc11c50@gmx.net> <9ad3c92eb92c39c1256f151ff553110f9928fadf.camel@cybertec.at> <ac33f189-2bcd-3be6-1dee-cb44c34ddb20@gmx.net> <11643.1570200758@sss.pgh.pa.us> <496d275e-3891-6537-406a-a1573af21ac4@gmx.net> <18482.1570210563@sss.pgh.pa.us> <6d643002-2127-12fc-8017-02a6815a8442@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox