Re: Changes in Trigger Firing

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Sameer Kumar <sameer(dot)kumar(at)ashnik(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Changes in Trigger Firing
Date: 2013-12-04 14:16:07
Message-ID: 20131204141607.GN5158@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers pgsql-hackers

Sameer Kumar wrote:

>
> CreateTrigStmt is passed to CreateTrigger function as an arguement. I am
> struggling to understand how the values for various members of trigger are
> set and where [which file] calls CreateTrigStmt.
>
>
> Can someone provide some help on this?

I think you need better tools to guide you in exploring the source code.
For example, you can use cscope to tell you where is CreateTrigStmt
used, and you would find gram.y; and use it to tell you where
CreateTrigger is used, and you would find utility.c.

Any half-decent code editor should be able to generate a "database" of
symbols and let you frolic around the various files quickly. Without
that, anyone would be completely lost in developing new features of even
the lowest complexity.

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Sameer Kumar 2013-12-04 17:56:38 Re: Changes in Trigger Firing
Previous Message Timon 2013-12-04 11:03:56 [PATCH] enable OK button when change type name

Browse pgsql-hackers by date

  From Date Subject
Next Message Mitsumasa KONDO 2013-12-04 14:16:29 Re: Time-Delayed Standbys
Previous Message Mitsumasa KONDO 2013-12-04 14:02:03 Re: Time-Delayed Standbys