complete 'C' trigger example needs fmgr.h

Started by Nonameover 9 years ago3 messagesdocs
Jump to latest
#1Noname
mthrockmorton@hme.com

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

In reply to: Noname (#1)
Re: complete 'C' trigger example needs fmgr.h

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

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

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Euler Taveira de Oliveira (#2)
Re: complete 'C' trigger example needs fmgr.h

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

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