Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYdFD-0004Tp-9Y for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Oct 2020 22:51:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kYdFB-0004Tp-VS for pgsql-bugs@arkaria.postgresql.org; Fri, 30 Oct 2020 22:51:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYdF9-0004Ti-VL for pgsql-bugs@lists.postgresql.org; Fri, 30 Oct 2020 22:51:37 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kYdF5-0005Xt-Br for pgsql-bugs@lists.postgresql.org; Fri, 30 Oct 2020 22:51:35 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id E7185BEC; Fri, 30 Oct 2020 18:51:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 30 Oct 2020 18:51:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=LFCfatlZw64+pC7IsecxgwfUWok w06k/32JkxmMS3b4=; b=bS7ztHiDjVNeIR7HCDGWgyBPnjUEx5zYcCHovlPSgo6 TgC+IW8hFh9dGgCCpulod7TrVmSVMD+H6ctKskCGANtwycRY/6v1NLLXQB2QWCvL 2OwTYD6kEyyoV/A31gDwag30a/28H7FaM7G2c2uI2oebsXOby+igOkcsfP294qhR S5Uiv6vd+NDcij0+PTdDzg4MZ+fLt+Z17JIWIHfCjmVM21+kc4wfcHXhsAvtOaeP IrNLR+MNFSATg9J2aTw3lYqDym0iI5tElGrGIndas9MW6/QsV+pHEGsbU2MB/6cf N+sy1eZisT3uXNd8qKI3eZ/nZwxDR/Xa44t8k1RUqvA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=LFCfat lZw64+pC7IsecxgwfUWokw06k/32JkxmMS3b4=; b=IgS+5AKlUUatRzabnoUS1Y 2FVRnKaHJXpmlw4kkEvi4kI+pFSAGhyjLdFZJufqz1Sis0l8bbYQef95tNkyTast +GEDqR+53HXyHxw1gl1s11oWjkG+oni7lMBDABWrcEF/vrP2e1XlR951plO5xKPj zrXN6OmFMknqiIQRqNjzCq4umPzU5BgP95WDidVEj4qh+bPlDMFJK4JkrBwB0y/9 9SD0w4eL2Vbte0nnEmiEuAVe73DAanQBCb/byrwYli7prcUS4Jjb6T6pcJ6pOQjK 8arkzkeiiKarkLFDVflDGfpWZydnbQoIZeSLURJOrsrekD28Mz9yNoK2vkrx2Xug == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrleeigddtudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdertd dttddvnecuhfhrohhmpeetnhgurhgvshcuhfhrvghunhguuceorghnughrvghssegrnhgr rhgriigvlhdruggvqeenucggtffrrghtthgvrhhnpedukefhkeelueegveetheelffffje egleeuudelfeefuedtleffueejfffhueffudenucfkphepieejrdduiedtrddvudejrddv hedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: from intern.anarazel.de (c-67-160-217-250.hsd1.ca.comcast.net [67.160.217.250]) by mail.messagingengine.com (Postfix) with ESMTPA id DB9E8306467E; Fri, 30 Oct 2020 18:51:26 -0400 (EDT) Date: Fri, 30 Oct 2020 15:51:25 -0700 From: Andres Freund To: vtap01@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16693: Weird behaviour of function uuid_generate_v5() when used in a trigger Message-ID: <20201030225125.y2ammaufgpyzf7ee@alap3.anarazel.de> References: <16693-5e7a7034d8eace85@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16693-5e7a7034d8eace85@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2020-10-30 21:48:34 +0000, PG Bug reporting form wrote: > I want to generate stable UUIDs only depending on the contents of a field. > Function uuid_generate_v5 from extension uuid-ossp looked perfect. I checked > that the function generates an identical UUID even on 2 different databases > : > > Did I miss something or is it a bug ? Hard to tell - this isn't a self contained example, so we can't easily try to reproduce and narrow down the issue. Greetings, Andres Freund