Modernize and optimize pg_buffercache_pages() Refactor pg_buffercache_pages() to use SFRM_Materialize mode and construct a tuplestore directly. That's simpler and more efficient than collecting all the data to a custom array first. Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Author: Palak Chaturvedi <chaturvedipalak1911@gmail.com> Discussion: https://www.postgresql.org/message-id/CAExHW5sMsaz1j+hrdhyo-DJp7JCgJx87=q2iJfOc_9mwYWyvmw@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/257c8231bf97a77378f6fedb826b1243f0a41612 Modified Files -------------- contrib/pg_buffercache/pg_buffercache_pages.c | 244 ++++++++------------------ 1 file changed, 77 insertions(+), 167 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных