Re: Create function prototype as part of PG_FUNCTION_INFO_V1

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:46:32
Message-ID: 52FF8BD8.7060301@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2/15/14, 10:22 AM, Tom Lane wrote:
> 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).

The manual externs and the automatically provided ones are exactly the
same. Why would that fail?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-02-15 15:59:17 Re: narwhal and PGDLLIMPORT
Previous Message Andres Freund 2014-02-15 15:44:21 Re: Performance Improvement by reducing WAL for Update Operation