pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Sergey Shinderuk <s.shinderuk@postgrespro.ru>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Cc: Alex Kozhemyakin <a.kozhemyakin@postgrespro.ru>
Subject: Re: Bug in DefineRange() with multiranges
Date: Wed, 13 Oct 2021 13:21:05 +0900
Message-ID: <YWZesfUmF5pnyd8X@paquier.xyz> (raw)
In-Reply-To: <f50a7e90-b166-b41d-3a7d-c0344974446e@postgrespro.ru>
References: <d5042d46-b9cd-6efb-219a-71ed0cf45bc8@postgrespro.ru>
	<2d3a3eb1-5a88-da6b-556f-0d7700af52e1@enterprisedb.com>
	<f50a7e90-b166-b41d-3a7d-c0344974446e@postgrespro.ru>

On Tue, Oct 12, 2021 at 08:52:29AM +0300, Sergey Shinderuk wrote:
> Thanks, here is a patch.

Looks fine seen from here, so I'll apply shortly.  I was initially
tempted to do pstrdup() on the object name returned by
QualifiedNameGetCreationNamespace(), but just removing the pfree() is
simpler.   

I got to wonder about similar mistakes from the other callers of
QualifiedNameGetCreationNamespace(), so I have double-checked but
nothing looks wrong.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (5+ messages)  latest in thread

Message-ID: <YWZesfUmF5pnyd8X@paquier.xyz>
Permalink:  ../YWZesfUmF5pnyd8X@paquier.xyz/
Also on:    postgresql.org/message-id/YWZesfUmF5pnyd8X@paquier.xyz

 · 

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: michael@paquier.xyz, s.shinderuk@postgrespro.ru, peter.eisentraut@enterprisedb.com, a.kozhemyakin@postgrespro.ru
  Subject: Re: Bug in DefineRange() with multiranges
  In-Reply-To: <YWZesfUmF5pnyd8X@paquier.xyz>
  References: <d5042d46-b9cd-6efb-219a-71ed0cf45bc8@postgrespro.ru> <2d3a3eb1-5a88-da6b-556f-0d7700af52e1@enterprisedb.com> <f50a7e90-b166-b41d-3a7d-c0344974446e@postgrespro.ru> <YWZesfUmF5pnyd8X@paquier.xyz>

* 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