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 1kg9lg-0004Ya-7q for pgsql-sql@arkaria.postgresql.org; Fri, 20 Nov 2020 17:00:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kg9le-0001gN-Sv for pgsql-sql@arkaria.postgresql.org; Fri, 20 Nov 2020 17:00:14 +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 1kg9le-0001gF-ML for pgsql-sql@lists.postgresql.org; Fri, 20 Nov 2020 17:00:14 +0000 Received: from mail150.strasbourg.4js.com ([77.159.205.150]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kg9lc-0006c9-5o for pgsql-sql@lists.postgresql.org; Fri, 20 Nov 2020 17:00:13 +0000 Received: from [10.6.0.191] ([10.6.0.191]) (authenticated bits=0) by mail150.strasbourg.4js.com (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id 0AKH0AfM022200 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 20 Nov 2020 18:00:11 +0100 From: Sebastien FLAESCH Subject: perform setval() fails? To: pgsql-sql@lists.postgresql.org Organization: Four Js Development Tools Message-ID: <7f3fc08f-b65d-402c-bc29-9bdb19c2526c@4js.com> Date: Fri, 20 Nov 2020 18:00:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.99.4 at mail150 X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail150.strasbourg.4js.com [10.10.0.1]); Fri, 20 Nov 2020 18:00:11 +0100 (CET) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello! What I am missing here? test1=> perform setval('mytab1_pkey_seq',5000,false); ERROR: syntax error at or near "perform" LINE 1: perform setval('mytab1_pkey_seq',5000,false); ^ test1=> select setval('mytab1_pkey_seq',5000,false); setval -------- 5000 (1 row) Seb