postgresql/src/backend/access/common
Andres Freund 88ebd62fcc Deduplicate code between slot_getallattrs() and slot_getsomeattrs().
Code in slot_getallattrs() is the same as if slot_getsomeattrs() is
called with number of attributes specified in the tuple
descriptor. Implement it that way instead of duplicating the code
between those two functions.

This is part of a patchseries abstracting TupleTableSlots so they can
store arbitrary forms of tuples, but is a nice enough cleanup on its
own.

Author: Ashutosh Bapat
Reviewed-By: Andres Freund
Discussion: https://postgr.es/m/20180220224318.gw4oe5jadhpmcdnm@alap3.anarazel.de
2018-08-23 16:58:53 -07:00
..
Makefile Add support for coordinating record typmods among parallel workers. 2017-09-14 19:59:21 -07:00
bufmask.c Fix more wrong paths in header comments 2018-07-11 17:57:04 +03:00
heaptuple.c Deduplicate code between slot_getallattrs() and slot_getsomeattrs(). 2018-08-23 16:58:53 -07:00
indextuple.c Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
printsimple.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
printtup.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
reloptions.c Fix upper limit for vacuum_cleanup_index_scale_factor 2018-06-26 21:55:59 +03:00
scankey.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
session.c Fix a boatload of typos in C comments. 2018-04-01 15:01:28 -04:00
tupconvert.c Improve performance of tuple conversion map generation 2018-07-13 19:54:05 +03:00
tupdesc.c Cosmetic improvements for faster column addition. 2018-06-27 08:16:13 +05:30