Re: Use %u to print user mapping's umid and userid

Поиск
Список
Период
Сортировка
От Etsuro Fujita
Тема Re: Use %u to print user mapping's umid and userid
Дата
Msg-id e5bd055c-4735-7ed9-fa82-d4db5ea64156@lab.ntt.co.jp
обсуждение исходный текст
Ответ на Re: Use %u to print user mapping's umid and userid  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Ответы Re: Use %u to print user mapping's umid and userid  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Список pgsql-hackers
On 2016/05/11 16:49, Ashutosh Bapat wrote:
> The patch is calculating user mapping when it's readily available
> through RelOptInfo::fdw_private. That incurs a catalog lookup
> unnecessarily. Instead, can we add new function makeOid, oidVal on the
> lines of makeInteger and intVal to store and retrieve an OID resp. and
> also corresponding print function? It might be helpful in future.

That might be an idea, but is the overhead in that re-calculation so large?

Best regards,
Etsuro Fujita





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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Use %u to print user mapping's umid and userid
Следующее
От: Ashutosh Bapat
Дата:
Сообщение: Re: Use %u to print user mapping's umid and userid