Re: Create function prototype as part of PG_FUNCTION_INFO_V1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Create function prototype as part of PG_FUNCTION_INFO_V1
Date: 2014-02-15 15:22:33
Message-ID: 21122.1392477753@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On 1/15/14, 12:41 AM, Tom Lane wrote:
>> Meh. I don't think that extension authors are really going to appreciate
>> changing from "thou shalt declare all thy functions" to "thou shalt
>> declare none of them".

> This patch does no such thing.

Yes it does; people who fail to remove their manual externs will get
Windows-only build failures (or at least warnings; it's not very clear
which declaration will win).

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-02-15 15:30:29 Re: narwhal and PGDLLIMPORT
Previous Message Andres Freund 2014-02-15 15:18:00 Re: Memory ordering issue in LWLockRelease, WakeupWaiters, WALInsertSlotRelease