removing unnecessary get_att*() lsyscache functions

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: removing unnecessary get_att*() lsyscache functions
Date: 2018-10-18 19:57:00
Message-ID: 6637b352-da49-a01e-7f0d-58f573853043@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I noticed that get_attidentity() isn't really necessary because the
information can be obtained from an existing tuple descriptor in each case.

Also, get_atttypmod() hasn't been used since 2004.

I propose the attached patches to remove these two functions.

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

Attachment Content-Type Size
0001-Remove-get_attidentity.patch text/plain 3.9 KB
0002-Remove-get_atttypmod.patch text/plain 2.3 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2018-10-18 20:17:55 Re: Large writable variables
Previous Message Peter Geoghegan 2018-10-18 19:54:27 Re: Making all nbtree entries unique by having heap TIDs participate in comparisons