pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
complete 'C' trigger example needs fmgr.h
3+ messages / 3 participants
[nested] [flat]

* complete 'C' trigger example needs fmgr.h
@ 2017-01-12 01:05  mthrockmorton@hme.com
  0 siblings, 1 reply; 3+ messages in thread

From: mthrockmorton@hme.com @ 2017-01-12 01:05 UTC (permalink / raw)
  To: pgsql-docs

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 'C' trigger example is missing #include <fmgr.h>

-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: complete 'C' trigger example needs fmgr.h
@ 2017-01-12 17:59  Euler Taveira <euler@timbira.com.br>
  parent: mthrockmorton@hme.com
  0 siblings, 1 reply; 3+ messages in thread

From: Euler Taveira @ 2017-01-12 17:59 UTC (permalink / raw)
  To: mthrockmorton@hme.com; pgsql-docs

On 11-01-2017 22:05, mthrockmorton@hme.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.


-- 
   Euler Taveira                   Timbira - http://www.timbira.com.br/
   PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: complete 'C' trigger example needs fmgr.h
@ 2017-02-02 21:51  Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
  parent: Euler Taveira <euler@timbira.com.br>
  0 siblings, 0 replies; 3+ messages in thread

From: Peter Eisentraut @ 2017-02-02 21:51 UTC (permalink / raw)
  To: Euler Taveira <euler@timbira.com.br>; mthrockmorton@hme.com; pgsql-docs

On 1/12/17 12:59 PM, Euler Taveira wrote:
> On 11-01-2017 22:05, mthrockmorton@hme.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


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2017-02-02 21:51 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-01-12 01:05 complete 'C' trigger example needs fmgr.h mthrockmorton@hme.com
2017-01-12 17:59 ` Euler Taveira <euler@timbira.com.br>
2017-02-02 21:51   ` Peter Eisentraut <peter.eisentraut@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox