Re: Patch: ResourceOwner optimization for tables with many partitions

Поиск
Список
Период
Сортировка
Искать
От
Aleksander Alekseev
Тема
Re: Patch: ResourceOwner optimization for tables with many partitions
Дата
Msg-id
20160127115730.6a020d11@fujitsu
Ответ на
Список
Дерево обсуждения
Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Robert Haas <robertmhaas@gmail.com>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Robert Haas <robertmhaas@gmail.com>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Robert Haas <robertmhaas@gmail.com>
Re: Patch: ResourceOwner optimization for tables with many partitions Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Robert Haas <robertmhaas@gmail.com>
Re: Patch: ResourceOwner optimization for tables with many partitions Stas Kelvich <s.kelvich@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Tom Lane <tgl@sss.pgh.pa.us>
Re: Patch: ResourceOwner optimization for tables with many partitions Robert Haas <robertmhaas@gmail.com>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Patch: ResourceOwner optimization for tables with many partitions Aleksander Alekseev <a.alekseev@postgrespro.ru>
Hello, Tom.

I'm a bit concerned regarding assumption that sizeof int never exceeds 4
bytes. While this could be true today for most C compilers, standard
[1][2] doesn't guarantee that. Perhaps we should add something like:

StaticAssertStmt(sizeof(int) <= sizeof(int32),   "int size exceeds int32 size");

It costs nothing but could save a lot of time (not mentioning data
loss) some unlucky user.

[1] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1124.pdf
[2] http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf


В списке pgsql-hackers по дате отправления
От: Fabien COELHO
Дата:
От: Fabien COELHO
Дата:
FAQ