Re: Possibly a typo in expand_inherited_rtentry()

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Possibly a typo in expand_inherited_rtentry()
Date: 2015-04-03 07:07:03
Message-ID: 551E3C17.3090307@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 03-04-2015 PM 03:58, Amit Langote wrote:
> Index childRTindex;
> AppendRelInfo *appinfo;
>
> - /* Open rel if needed; we already have required locks */
> + /* Open rel if needed; we already have acquired locks */
> if (childOID != parentOID)
> newrelation = heap_open(childOID, NoLock);

Though, it may be that "required" is to imply "acquired".

Thanks,
Amit

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sawada Masahiko 2015-04-03 07:59:42 Re: Auditing extension for PostgreSQL (Take 2)
Previous Message Amit Langote 2015-04-03 06:58:18 Possibly a typo in expand_inherited_rtentry()