Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDkZf-0008CP-6U for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jun 2016 03:36:03 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bDkZe-00041s-Pr for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Jun 2016 03:36:02 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bDkYJ-0002U2-JQ for pgsql-hackers@postgresql.org; Fri, 17 Jun 2016 03:34:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bDkYH-0003Ct-6b for pgsql-hackers@postgresql.org; Fri, 17 Jun 2016 03:34:38 +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 u5H3YXpu024717; Thu, 16 Jun 2016 23:34:33 -0400 From: Tom Lane To: Amit Kapila cc: Amit Kapila , Robert Haas , David Rowley , Thomas Munro , Pg Hackers Subject: Re: ERROR: ORDER/GROUP BY expression not found in targetlist In-reply-to: References: <15695.1465827695@sss.pgh.pa.us> <17170.1465830165@sss.pgh.pa.us> <25521.1465837597@sss.pgh.pa.us> <23016.1466101184@sss.pgh.pa.us> Comments: In-reply-to Amit Kapila message dated "Fri, 17 Jun 2016 08:53:03 +0530" Date: Thu, 16 Jun 2016 23:34:33 -0400 Message-ID: <24716.1466134473@sss.pgh.pa.us> X-Pg-Spam-Score: -3.3 (---) 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 Amit Kapila writes: > On Thu, Jun 16, 2016 at 11:49 PM, Tom Lane wrote: >> But you need to include to use INT_MAX ... > I wonder why it has not given me any compilation error/warning. I have > tried it on both Windows and CentOS, before sending the patch. Some platforms seem to make it available from other headers too. But AFAIK, POSIX only requires to provide it. 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