Re: Why SyncRepWakeQueue is not static?

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: michael(dot)paquier(at)gmail(dot)com
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Why SyncRepWakeQueue is not static?
Date: 2015-03-26 02:07:56
Message-ID: 20150326.110756.935298527128812362.t-ishii@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> Fix committed/pushed from master to 9.2. 9.1 declares it as a static
>> function.
>
> Er, is that a good idea to back-patch that? Normally routine specs are
> maintained stable on back-branches, and this is just a cosmetic
> change.

I'm not sure if it's a cosmetic change or not. I thought declaring
to-be-static function as extern is against our coding
standard. Moreover, if someone wants to change near the place in the
source code in the future, changes made to head may not be easily back
patched or cherry-picked to older branches if I do not back patch it.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-03-26 02:16:49 Re: Re: [COMMITTERS] pgsql: btree_gin: properly call DirectFunctionCall1()
Previous Message Michael Paquier 2015-03-26 01:52:31 Re: Why SyncRepWakeQueue is not static?