Re: complete 'C' trigger example needs fmgr.h

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Euler Taveira <euler(at)timbira(dot)com(dot)br>, mthrockmorton(at)hme(dot)com, pgsql-docs(at)postgresql(dot)org
Subject: Re: complete 'C' trigger example needs fmgr.h
Date: 2017-02-02 21:51:12
Message-ID: 1a8d7e3c-d10a-af76-5915-ae1d8a635bd1@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 1/12/17 12:59 PM, Euler Taveira wrote:
> On 11-01-2017 22:05, mthrockmorton(at)hme(dot)com wrote:
>> The following documentation comment has been logged on the website:
>>
>> Page: https://www.postgresql.org/docs/9.6/static/trigger-example.html
>> Description:
>>
>> seems like the complete &#39;C&#39; trigger example is missing #include &lt;fmgr.h&gt;
>>
> No, it is not. utils/rel.h includes it.

Still better to do it explicitly, so I have committed a patch to add it.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message ap 2017-02-08 15:27:43 Double negation in parameter description
Previous Message Devrim Gündüz 2017-02-02 21:48:31 Re: CentOS 7 incorrect installation location