[HACKERS] Why does plpython delay composite type resolution?

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема [HACKERS] Why does plpython delay composite type resolution?
Дата
Msg-id 40a54474-4e21-9539-9f91-805ce72dfed9@BlueTreble.com
обсуждение исходный текст
Ответы Re: [HACKERS] Why does plpython delay composite type resolution?  (Andreas Karlsson <andreas@proxel.se>)
Список pgsql-hackers
Why do functions that accept composite types delay type resolution until 
execution? I have a naive patch that speeds up plpy.execute() by 8% by 
caching interred python strings for the dictionary key names (which are 
repeated over and over). The next step is to just pre-allocate those 
strings as appropriate for the calling context, but it's not clear how 
to handle that for input arguments.
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] Logical decoding on standby
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: [HACKERS] Logical decoding on standby