Summary
In this chapter, we examined the basic concepts involved in working with triggers in PostgreSQL. We covered the six different characteristics that help define triggers, and we looked at how the characteristics affected trigger operation. We also discussed the differences involved in writing trigger functions compared to regular functions, and we showed a sample function and a trigger that put the function to use. While triggers are not directly interfaced, their functionality and usefulness can go a long way toward powering your applications and making your application code simpler and more effective.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 W. Jason Gilmore
About this chapter
Cite this chapter
(2006). PostgreSQL Triggers. In: Beginning PHP and PostgreSQL 8. Apress. https://doi.org/10.1007/978-1-4302-0136-6_34
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0136-6_34
Publisher Name: Apress
Print ISBN: 978-1-59059-547-3
Online ISBN: 978-1-4302-0136-6
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books