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

From Peter Eisentraut
Subject Re: [HACKERS] pgrowlocks relkind check
Date
Msg-id a84f4fc1-ce8e-a538-445e-2ec8aa584bef@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] pgrowlocks relkind check  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: [HACKERS] pgrowlocks relkind check
List pgsql-hackers
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

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] pg_terminate_backend can terminate background workersand autovacuum launchers
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] outfuncs.c utility statement support