pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nikolay Shaplov <dhyan@nataraj.su>
To: Greg Stark <stark@mit.edu>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: [PATCH] minor reloption regression tests improvement
Date: Mon, 07 Mar 2022 20:50:53 +0300
Message-ID: <10293663.yiiO4rj43x@thinkpad-pgpro> (raw)
In-Reply-To: <CAM-w4HODaFSVjz0R4XMYeN+bbEhcq0=H-hwq3TLSL-OriiUHpA@mail.gmail.com>
References: <4563991.km65PDbjlG@thinkpad-pgpro>
	<CAM-w4HODaFSVjz0R4XMYeN+bbEhcq0=H-hwq3TLSL-OriiUHpA@mail.gmail.com>

В письме от понедельник, 7 марта 2022 г. 20:04:49 MSK пользователь Greg Stark 
написал:
> I don't think this is worth spending time adding tests for. I get what
> you're saying that this is at least semi-intentional behaviour and
> desirable behaviour so it should have tests ensuring that it continues
> to work. But it's not documented behaviour and the test is basically
> testing that the implementation is this specific implementation.
> 
> I don't think the test is really a bad idea but neither is it really
> very useful and I think it's not worth having people spend time
> reviewing and discussing. I'm leaning to saying this patch is
> rejected.

This is a regression test. To test if behaviour brocken or not.

Actually I came to the idea of the test when I wrote my big reloption patch. 
I've broken this behaviour by mistake and  did not notice it as it have not 
been properly tested. So I decided it would be goo to add test to it before 
adding and big patches.

-- 
Nikolay Shaplov aka Nataraj
Fuzzing Engineer at Postgres Professional
Matrix IM: @dhyan:nataraj.su








view thread (9+ messages)  latest in thread

Message-ID: <10293663.yiiO4rj43x@thinkpad-pgpro>
Permalink:  ../10293663.yiiO4rj43x@thinkpad-pgpro/
Also on:    postgresql.org/message-id/10293663.yiiO4rj43x@thinkpad-pgpro

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: dhyan@nataraj.su, stark@mit.edu
  Subject: Re: [PATCH] minor reloption regression tests improvement
  In-Reply-To: <10293663.yiiO4rj43x@thinkpad-pgpro>
  References: <4563991.km65PDbjlG@thinkpad-pgpro> <CAM-w4HODaFSVjz0R4XMYeN+bbEhcq0=H-hwq3TLSL-OriiUHpA@mail.gmail.com> <10293663.yiiO4rj43x@thinkpad-pgpro>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox