pgsql: Make ExplainPropertyInteger accept 64bit input,remove *Long var

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Make ExplainPropertyInteger accept 64bit input,remove *Long var
Дата
Msg-id E1ex5PV-0002WA-1d@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make ExplainPropertyInteger accept 64bit input, remove *Long variant.

'long' is not useful type across platforms, as it's 32bit on 32 bit
platforms, and even on some 64bit platforms (e.g. windows) it's still
only 32bits wide.

As ExplainPropertyInteger should never be performance critical, change
it to accept a 64bit argument and remove ExplainPropertyLong.

Author: Andres Freund
Discussion: https://postgr.es/m/20180314164832.n56wt7zcbpzi6zxe@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f3e4b95edb6cbf0cd41dc9ff0c884bfdc425e6fb

Modified Files
--------------
contrib/file_fdw/file_fdw.c    |  4 +--
src/backend/commands/explain.c | 71 +++++++++++++++++++++---------------------
src/include/commands/explain.h |  4 +--
3 files changed, 39 insertions(+), 40 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix query-lifespan memory leakage in repeatedly executed hashjo
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Add ssl_passphrase_command setting