Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bp1Ap-0004EF-TY for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Sep 2016 22:48:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bp1Ao-0006oE-Qo for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Sep 2016 22:48:26 +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_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bp1An-0006mb-CH; Tue, 27 Sep 2016 22:48:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bp1Ak-00038r-PS; Tue, 27 Sep 2016 22:48:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u8RMmJwM010247; Tue, 27 Sep 2016 18:48:19 -0400 From: Tom Lane To: Tom van Tilburg cc: pgsql-general@postgresql.org, pgsql-hackers@postgresql.org Subject: Re: Re: [GENERAL] inconsistent behaviour of set-returning functions in sub-query with random() In-reply-to: References: <1359.1474918683@sss.pgh.pa.us> Comments: In-reply-to Tom van Tilburg message dated "Tue, 27 Sep 2016 09:19:17 -0000" Date: Tue, 27 Sep 2016 18:48:19 -0400 Message-ID: <10246.1475016499@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Tom van Tilburg writes: > Good to know and I agree that it is not an urgent case. > I think this practice might be more common in the POSTGIS community where > there are plenty of set-returning-functions used in this way. My use was > taking a random sample of a pointcloud distrubution. Fix pushed to HEAD only. Thanks for the report! regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers