Re: remove pg_class.relhaspkey

Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Michael Paquier <michael@paquier.xyz>, Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-03-14T19:36:28Z
Lists: pgsql-hackers
On 3/14/18 01:47, Michael Paquier wrote:
>> For the other flags we would probably need to test what impact would it
>> have (e.g. table with no indexes, many indexes on other tables, and
>> something calling get_relation_info a lot). But this patch proposes to
>> remove only relhaspkey.
> 
> Yes, you are right here.  Peter, would you do that within this commit
> fest or not?

Not terribly interested in those other ones.

> As we are half-way through the commit fest, we could also
> cut the apple in half and just remove relhaspkey for now as that's a
> no-brainer.  So I would suggest to just do the latter and consider this
> patch as done.

done

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


Commits

  1. Remove pg_class.relhaspkey