pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Petr Fedorov <petr.fedorov@phystech.edu>
Cc: pgsql-bugs@postgresql.org
Subject: Re: 'update returning *' returns 0 columns instead of empty row with 2 columns when (i) no rows updated and (ii) when applied to a partitioned table with sub-partition
Date: Fri, 22 Feb 2019 12:25:58 -0500
Message-ID: <16105.1550856358@sss.pgh.pa.us> (raw)
In-Reply-To: <c3b4762b-ccb4-8e6d-7012-e2c7ea76bc01@lab.ntt.co.jp>
References: <5da6f0f0-1364-1876-6978-907678f89a3e@phystech.edu>
	<907bb879-872e-8395-80af-1b98efc10b06@lab.ntt.co.jp>
	<13543.1550787490@sss.pgh.pa.us>
	<6a08a294-6a16-e384-db25-8f4d3cc026d1@lab.ntt.co.jp>
	<3381.1550810593@sss.pgh.pa.us>
	<c3b4762b-ccb4-8e6d-7012-e2c7ea76bc01@lab.ntt.co.jp>

Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> writes:
> On 2019/02/22 13:43, Tom Lane wrote:
>> I'm too tired to work on that anymore today, do you want to run
>> with it?

> Sure, see attached a patch.

OK, I prettified this a bit and pushed it.

			regards, tom lane




view thread (9+ messages)  latest in thread

Message-ID: <16105.1550856358@sss.pgh.pa.us>
Permalink:  ../16105.1550856358@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16105.1550856358@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Langote_Amit_f8@lab.ntt.co.jp, petr.fedorov@phystech.edu
  Subject: Re: 'update returning *' returns 0 columns instead of empty row with 2 columns when (i) no rows updated and (ii) when applied to a partitioned table with sub-partition
  In-Reply-To: <16105.1550856358@sss.pgh.pa.us>
  References: <5da6f0f0-1364-1876-6978-907678f89a3e@phystech.edu> <907bb879-872e-8395-80af-1b98efc10b06@lab.ntt.co.jp> <13543.1550787490@sss.pgh.pa.us> <6a08a294-6a16-e384-db25-8f4d3cc026d1@lab.ntt.co.jp> <3381.1550810593@sss.pgh.pa.us> <c3b4762b-ccb4-8e6d-7012-e2c7ea76bc01@lab.ntt.co.jp> <16105.1550856358@sss.pgh.pa.us>

* 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