Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCmtk-0008BD-3U for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2019 15:38:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iCmti-0001dw-MN for pgsql-hackers@arkaria.postgresql.org; Tue, 24 Sep 2019 15:38:38 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCmti-0001dW-Du for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2019 15:38:38 +0000 Received: from mail-qt1-x842.google.com ([2607:f8b0:4864:20::842]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iCmtf-0000s3-4T for pgsql-hackers@lists.postgresql.org; Tue, 24 Sep 2019 15:38:37 +0000 Received: by mail-qt1-x842.google.com with SMTP id u40so2650034qth.11 for ; Tue, 24 Sep 2019 08:38:34 -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=dASeszhZ5DRCWkAiiVLAfqrMBCTzqx4H5B2bAgCqZyU=; b=dG1gXgrSAVBtMNsLkZYieHiTNXPAH7S8Ce8SZ5B1Hl/JdmZJjjjyWQv7UwZPmMlMjg I2owxD+WZU372I2QN6Cuq4yPz1tHWPe7WxOkX3qBOGsBzlpecsqxvbytZs2QBdEayIoV H2GeiJNSZ0WNFfsFDbGNp4mK8rlVOELeQVn3lrGTRxPbvDNmPceKwAYdQAqJFaVgptjh TrTRLEHbENp4bU3P3o/Jj0euA7EFqZAVsLct6eoGOMNvPu5WjztQzgwB9rxubuezML9x dzOz3XfOoallVPadE7EZeLjzyFvEHs3Mx3mHAr0Dl+UwTzCqkUxiCx1FVLDU1D2jx4yh wqFw== 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=dASeszhZ5DRCWkAiiVLAfqrMBCTzqx4H5B2bAgCqZyU=; b=X/LF+U7HWKYXmhgFCINvsALknoEcK2wbPo7QwM/HRaDAXMJ1oVAhAY4VgNJB4koJzh P/vsCYDmIZ2vc6Cs8Fhhux3z8/Li9Rztl40bp7YXQKXVWTEgrwK6mOvpy7xc0mXcH3up 9QfqF89Knsy6KlJFbbcMb/aixO3+ufrqfPLwpbln1/dJUWMwdA4gKnwRkRIAxGIJYOKk by97SGCQn2TRnvPg9+zM5tUQRs0EiBgkOsd7YTJWdF0nn+mLQ/hkpdZX1WO4OHuCuEnb AAVUWXMCaOxmUjEh6I7e0YFLqAv3puUgnJ738/DJHba0rOVuOPnw4lDSnu1NhjBtaErI t5vw== X-Gm-Message-State: APjAAAX1GrxH9qJGQ2kN5QQ9Ch4t4TFaRXpJ0Zl5CKaVkMIJ0C1TZFHa txtIhk/sd3bVpfiqPnHsc/pJoA== X-Google-Smtp-Source: APXvYqxGoga2ZkCdfliu7c8PMOtgiheHn5/5dfgKvjBix79gplHquz2hc2WI/wN3zVY7T+BZ5hM9vg== X-Received: by 2002:ac8:724e:: with SMTP id l14mr3545511qtp.303.1569339513341; Tue, 24 Sep 2019 08:38:33 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([179.56.30.174]) by smtp.gmail.com with ESMTPSA id z38sm1418153qtj.83.2019.09.24.08.38.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 08:38:32 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id A9E8D12097C; Tue, 24 Sep 2019 12:38:30 -0300 (-03) Date: Tue, 24 Sep 2019 12:38:30 -0300 From: Alvaro Herrera To: Nikolay Shaplov Cc: pgsql-hackers@lists.postgresql.org, Michael Paquier , Thomas Munro , Dent John , Tom Lane , Robert Haas Subject: Re: [PATCH] src/test/modules/dummy_index -- way to test reloptions from inside of access method Message-ID: <20190924153830.GA26314@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9629467.uHNm3GW8oi@x200m> User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2019-Sep-24, Nikolay Shaplov wrote: > В письме от вторник, 24 сентября 2019 г. 9:25:54 MSK пользователь Alvaro > Herrera написал: > > > 0003 looks useful, thanks for completing it. I think it would be a good > > idea to test invalid values for each type of reloption too (passing > > floating point to integers, strings to floating point, and so on). > > We already do it in reloption regression tests. > > My idea was to test here only the things that can't be tested in regression > tests, on in real indexes like bloom. I suppose that makes sense. But of course when I push enum reloptions I will have to add such a test, since bloom does not have one. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services