Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHuGv-0006Kz-9N for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Jun 2016 14:45:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bHuGu-0001Fn-Qu for pgsql-hackers@arkaria.postgresql.org; Tue, 28 Jun 2016 14:45:52 +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 1bHuFX-00084U-UO for pgsql-hackers@postgresql.org; Tue, 28 Jun 2016 14:44:27 +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 1bHuFU-0006w1-Cc for pgsql-hackers@postgresql.org; Tue, 28 Jun 2016 14:44:27 +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 u5SEiLAq018788; Tue, 28 Jun 2016 10:44:21 -0400 From: Tom Lane To: Rushabh Lathia cc: PostgreSQL Hackers Subject: Re: ERROR: ORDER/GROUP BY expression not found in targetlist In-reply-to: References: Comments: In-reply-to Rushabh Lathia message dated "Tue, 28 Jun 2016 11:22:20 +0530" Date: Tue, 28 Jun 2016 10:44:21 -0400 Message-ID: <18787.1467125061@sss.pgh.pa.us> X-Pg-Spam-Score: -3.2 (---) 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 Rushabh Lathia writes: > SELECT setval('s', max(100)) from tab; > ERROR: ORDER/GROUP BY expression not found in targetlist Fixed, 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