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 1jWPAp-00006I-Ge for pgsql-hackers@arkaria.postgresql.org; Wed, 06 May 2020 18:53:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jWPAn-0001L6-7I for pgsql-hackers@arkaria.postgresql.org; Wed, 06 May 2020 18:53: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 1jWPAn-0001Ky-05 for pgsql-hackers@lists.postgresql.org; Wed, 06 May 2020 18:53:37 +0000 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jWPAe-0007FH-Pb for pgsql-hackers@postgresql.org; Wed, 06 May 2020 18:53:35 +0000 Received: by mail-qv1-xf42.google.com with SMTP id ck5so1332726qvb.11 for ; Wed, 06 May 2020 11:53:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Uwh+1DlOIzRFbPwUrcXEBIeIFmAXnXMSdGLXw6ArrO8=; b=M7nfxWWUZ4zkERp8V01d2xnnFeqImJLuqB82ytWt2u1nTdhztVqFBUPqtTV2fxoaYk 6u8pnfePbWB7LlNyynyJvVNQ4cYEZ3rSelQB2G0uqF6IDfmVJEEwaglSZu4zXNy5HeIO 9psH5TaIyC0Le4GsjI+1hP4u1OIJqRiVvMlDNji2HZ7ogjfIrYItqeamcj+ejbwXaL0b 6/ehk98/HK422RBVffyfUQlyy32T6e9Vhcjvv/z/GMAErWJr7wLjnY0nXjORUNvcjNpJ UyAfN5hQEFa6DThjk9Xjkvb2+jzP1+4RhD1LaD1J/ROoua8qQ2Ke+yDQasisLXc7t2yk JSGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=Uwh+1DlOIzRFbPwUrcXEBIeIFmAXnXMSdGLXw6ArrO8=; b=X46Rtl/Py52586dNE0TIX1XLjLKdkXkeBa22MeD3D/3Zgba/LEdMBIlZl9pb5FC7TN EAzrlgEhZIJQxeO7xzAdWPhCdrlfcRcJ/9SpQxKTDn3lWoQ58QsFHXbSEaysYSwWvwLn K0dpaQuZ/v0vLjgaDrgO0zpkdvU5kcAkjVIzZZdCR0pnffu/5XGJr8JOLB7TRVNG3J8b hXkF1DyTMKSTF/wY5j6l9lv41dCaxqJe9uDlU1XLXRXpM/2UVabGxlZvkE9dTdwqziyh CHrOuyaLF6SnGfaqrNJUJkHDnQevtwR+n/uP8N8eMZXiFwaA6Hf6lc3wlRNSCkNMfSqx afgg== X-Gm-Message-State: AGi0PuYRkI3LYSojLcjHpys9tAr003oUKq/su6iedppP4ZrV+1C17I1N ge7YLwV09IuXzX8nH+Nedvwl3w== X-Google-Smtp-Source: APiQypJ0YphrbkyBhQ+ScGvCUzom1c7NZlY9UxkAhHyCqrB0ebMg+tu9XSugAO5hM0baY1dv/5iquA== X-Received: by 2002:a0c:becb:: with SMTP id f11mr6096372qvj.213.1588791206649; Wed, 06 May 2020 11:53:26 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([190.95.18.252]) by smtp.gmail.com with ESMTPSA id n18sm438815qtb.74.2020.05.06.11.53.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 May 2020 11:53:25 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id D905E301FCF; Wed, 6 May 2020 14:53:23 -0400 (-04) Date: Wed, 6 May 2020 14:53:23 -0400 From: Alvaro Herrera To: Andrew Gierth Cc: Surafel Temesgen , Tomas Vondra , PostgreSQL Hackers Subject: Re: FETCH FIRST clause WITH TIES option Message-ID: <20200506185323.GA20848@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875zeamwj6.fsf@news-spur.riddles.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Apr-08, Andrew Gierth wrote: > >>>>> "Alvaro" == Alvaro Herrera writes: > > >> This needs to be fixed in ruleutils, IMO, not by changing what the > >> grammar accepts. > > Alvaro> Fair. I didn't change what the grammar accepts. I ended up only > Alvaro> throwing an error in parse analysis when a bare NULL const is > Alvaro> seen. > > This seems far too arbitrary to me. Oops, I saw this comment only now. We're still on time to fix this, if there's something that needs fixing. Let's discuss what changes are needed. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services