Re: Large writable variables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Large writable variables
Дата
Msg-id 13249.1539733722@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Large writable variables  (Andres Freund <andres@anarazel.de>)
Ответы Re: Large writable variables
Список pgsql-hackers
BTW, I looked around for .o files with large BSS numbers, and came across

$ size src/interfaces/ecpg/ecpglib/prepare.o
   text    data     bss     dec     hex filename
   4023       4 1048576 1052603  100fbb src/interfaces/ecpg/ecpglib/prepare.o

That megabyte is from a statically allocated statement cache array.
Seems a bit unfriendly to users of ecpglib, given that many apps
would never use the statement cache (AFAICT you have to explicitly
ask for auto-prepare mode to get to that code).

Doesn't look hard to fix though.

            regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Add TAP tests for pg_verify_checksums
Следующее
От: Andres Freund
Дата:
Сообщение: Re: TupleTableSlot abstraction