Book description
Learn the fundamentals of PL/PGSQL, the programming language of PostgreSQL which is most robust Open Source Relational Database. This book provides practical insights into developing database code objects such as functions and procedures, with a focus on effectively handling strings, numbers, and arrays to achieve desired outcomes, and transaction management.
The unique approach to handling Triggers in PostgreSQL ensures that both functionality and performance are maintained without compromise. You'll gain proficiency in writing inline/anonymous server-side code within the limitations, along with learning essential debugging and profiling techniques. Additionally, the book delves into statistical analysis of PL/PGSQL code and offers valuable knowledge on managing exceptions while writing code blocks.
Finally, you'll explore the installation and configuration of extensions to enhance the performance of stored procedures and functions.What You'll Learn
- Understand the PL/PGSQL concepts
- Learn to debug, profile, and optimize PL/PGSQL code
- Study linting PL/PGSQL code
- Review transaction management within PL/PGSQL code
- Work with developer friendly features like operators, casts, and aggregators
Who Is This Book For
App developers, database migration consultants, and database administrators.
Table of contents
- Cover
- Front Matter
- 1. Introduction to PL/pgSQL
- 2. PL/pgSQL Variables
- 3. PL/pgSQL Data Types
- 4. Dealing with Strings, Numbers, and Arrays
- 5. Control Statements
- 6. Handling Arrays
- 7. Handling JSON
- 8. Cursors
- 9. Custom Operators
- 10. Custom Casting
- 11. Dynamic SQL
- 12. Building Functions and Procedures
- 13. Return Values and Parameters
- 14. Handling Exceptions
- 15. Triggers
- 16. Transaction Management
- 17. Aggregates
- 18. Listen and Notify
- 19. PL/pgSQL Essential Extensions
- Back Matter
Product information
- Title: Procedural Programming with PostgreSQL PL/pgSQL: Design Complex Database-Centric Applications with PL/pgSQL
- Author(s):
- Release date: October 2023
- Publisher(s): Apress
- ISBN: 9781484298404
You might also like
book
PostgreSQL: Up and Running, 3rd Edition
Thinking of migrating to PostgreSQL? This clear, fast-paced introduction helps you understand and use this open …
book
Learn PostgreSQL
A comprehensive guide to building, managing, and securing scalable and reliable database and data warehousing applications …
book
Learn PostgreSQL - Second Edition
This new edition will help you learn PostgreSQL from scratch with the latest version, providing a …
book
PostgreSQL Query Optimization: The Ultimate Guide to Building Efficient Queries
Write optimized queries. This book helps you write queries that perform fast and deliver results on …