Re: [HACKERS] pgrowlocks relkind check - Mailing list pgsql-hackers

From Amit Langote
Subject Re: [HACKERS] pgrowlocks relkind check
Date
Msg-id 5e80b776-28dc-9458-b5f3-8ccc47799134@lab.ntt.co.jp
Whole thread Raw
In response to Re: [HACKERS] pgrowlocks relkind check  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On 2017/06/22 12:26, Peter Eisentraut wrote:
> On 6/14/17 01:34, Amit Langote wrote:
>> How about the attached patch that teaches pgrowlocks() to error out unless
>> a meaningful result can be returned?  With the patch, it will issue a "%s
>> is not a table" message if it is not a RELKIND_RELATION, except a
>> different message will be issued for partitioned tables (for they are
>> tables).
> 
> committed

Thanks.

Regards,
Amit




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] outfuncs.c utility statement support
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Autovacuum launcher occurs error when cancelled by SIGINT