Re: Why is pq_begintypsend so slow?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Why is pq_begintypsend so slow?
Дата
Msg-id 2879.1589825333@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Why is pq_begintypsend so slow?  (Ranier Vilela <ranier.vf@gmail.com>)
Список pgsql-hackers
Ranier Vilela <ranier.vf@gmail.com> writes:
> Again, I see problems with the types declared in Postgres.
> 1. pq_sendint32 (StringInfo buf, uint32 i)
> 2. extern void pq_sendbytes (StringInfo buf, const char * data, int
> datalen);

We could spend the next ten years cleaning up minor discrepancies
like that, and have nothing much to show for the work.

> To avoid converting from (int) to (uint32), even if afterwards there is a
> conversion from (uint32) to (int)?

You do realize that that conversion costs nothing?

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: fill_extraUpdatedCols is done in completely the wrong place
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Two fsync related performance issues?