pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: movead.li@highgo.ca <movead.li@highgo.ca>
To: Michael Paquier <michael@paquier.xyz>
Cc: ibrar.ahmad <ibrar.ahmad@gmail.com>
Cc: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: Re: Email to hackers for test coverage
Date: Wed, 28 Aug 2019 14:48:39 +0800
Message-ID: <2019082814483652735952@highgo.ca> (raw)
References: <20190822174636998766188@highgo.ca>
	<CALtqXTfnXR5EnxNdg4eCSQwD36PVHfKeNFNZ=N_MqNNyKyZEQw@mail.gmail.com>
	<201908242323292669324@highgo.ca>
	<20190826044840.GD7005@paquier.xyz>
	<2019082617105744807310@highgo.ca>
	<20190827060748.GE7422@paquier.xyz>
	<2019082715571842080624@highgo.ca>
	<20190828033023.GE1965@paquier.xyz>


On Wed, 28 Aug 2019 11:30:23 +0800 michael@paquier.xyz wrote
>- numeric is not a test suite designed for sorting, and hijacking it
>to do so it not a good approach.
Absolutely agreement. We can wait for repling from
Robert and Peter G.

>- it would be good to get coverage for the two extra code paths while
>we are on it with NULL datums.
The remained untested line in ApplySortComparator() can be never
reached I think, and I have explained it on last mail. 
Or I don't fully understand what you mean?
 
>- There is no need for two INSERT queries, I am getting the same
>coverage with only one.
Yes It is my mistake,  the key point is 'ORDER BY n1 DESC' not the 
'INSERT'. Infact it can run the code line without any of the two INSERT.

--
Movead


view thread (15+ messages)  latest in thread

Message-ID: <2019082814483652735952@highgo.ca>
Permalink:  ../2019082814483652735952@highgo.ca/
Also on:    postgresql.org/message-id/2019082814483652735952@highgo.ca

 · 

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: movead.li@highgo.ca, michael@paquier.xyz, ibrar.ahmad@gmail.com, pg@bowt.ie, robertmhaas@gmail.com
  Subject: Re: Email to hackers for test coverage
  In-Reply-To: <2019082814483652735952@highgo.ca>
  References: <20190822174636998766188@highgo.ca> <CALtqXTfnXR5EnxNdg4eCSQwD36PVHfKeNFNZ=N_MqNNyKyZEQw@mail.gmail.com> <201908242323292669324@highgo.ca> <20190826044840.GD7005@paquier.xyz> <2019082617105744807310@highgo.ca> <20190827060748.GE7422@paquier.xyz> <2019082715571842080624@highgo.ca> <20190828033023.GE1965@paquier.xyz> <2019082814483652735952@highgo.ca>

* 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