pg_upgrade: exit_hook_registered variable

From: Artur Zakirov <a(dot)zakirov(at)postgrespro(dot)ru>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_upgrade: exit_hook_registered variable
Date: 2016-07-28 08:23:42
Message-ID: d279e817-02b5-caa6-215f-cfb05dce109a@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello hackers,

I noticed that exit_hook_registered variable in start_postmaster() is
local variable. Shouldn't it be a static variable?

I attached a patch. Thank you!

--
Artur Zakirov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company

Attachment Content-Type Size
pg-upgrade-atexit.patch text/x-patch 581 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2016-07-28 09:52:28 Wrong defeinition of pq_putmessage_noblock since 9.5
Previous Message Michael Paquier 2016-07-28 07:59:15 Re: WAL logging problem in 9.4.3?