pgsql: Send paramHandle to subprocesses as 64-bit on Win64

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема pgsql: Send paramHandle to subprocesses as 64-bit on Win64
Дата
Msg-id E1PIJyK-0004Id-1J@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Send paramHandle to subprocesses as 64-bit on Win64

The handle to the shared memory segment containing startup
parameters was sent as 32-bit even on 64-bit systems. Since
HANDLEs appear to be allocated sequentially this shouldn't
be a problem until we reach 2^32 open handles in the postmaster,
but a 64-bit value should be sent across as 64-bit, and not
zero out the top 32 bits.

Noted by Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=4acf99b2f3bb665d2febef183ede5f08b8f7545d

Modified Files
--------------
src/backend/postmaster/postmaster.c |    8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: The GiST scan algorithm uses LSNs to detect concurrent pages spl
Следующее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Send paramHandle to subprocesses as 64-bit on Win64