Have a personal or library account? Click to login
PostgreSQL Server Programming - Second Edition Cover

PostgreSQL Server Programming - Second Edition

Extend PostgreSQL using PostgreSQL server programming to create, test, debug, and optimize a range of user-defined functions in your favorite programming language

Paid access
|Mar 2015
Product purchase options

Key Features

    Book Description

    This book is for moderate to advanced PostgreSQL database professionals who wish to extend PostgreSQL, utilizing the most updated features of PostgreSQL 9.4. For a better understanding of this book, familiarity with writing SQL, a basic idea of query tuning, and some coding experience in your preferred language is expected.

    What you will learn

    • Write functions in the builtin PL/pgSQL language or your language of choice
    • Define and use userdefined functions (UDF)
    • Scale your data with PL/Proxy
    • Extend PostgreSQL to overcome the limitations of classical SQL servers
    • Debug using NOTIFY and using PL/pgSQL debugging extensions
    • Discover the new features in PostgreSQL 9.4 such as event triggers and other improvements relevant to serverside programming
    • Fully integrate the database layer into your development

    Who this book is for

    This book is for moderate to advanced PostgreSQL database professionals who wish to extend PostgreSQL, utilizing the most updated features of PostgreSQL 9.4. For a better understanding of this book, familiarity with writing SQL, a basic idea of query tuning, and some coding experience in your preferred language is expected.

    Table of Contents

    1. Why 'program in the server'?
    2. Introduction to PostgreSQL server programming fundamentals
    3. Writing Your First PL/PgSQL Function
    4. Advanced PL/PgSQL - Creating Set Returning and Table Functions, Using Cursors
    5. Defining and Using PL/PgSQL TRIGGER functions
    6. Writing PostgreSQL Event Trigger Functions
    7. Debugging PL/PgSQL
    8. Using unrestricted language - PL/pythonu
    9. Writing Z Functions in C
    10. Scaling Your Database with pl/proxy
    11. PL/Perl - Perl Procedural Language
    12. PL/Tcl - Tcl Procedural Language
    13. Publishing Your Code as Extensions
    14. Learning More About PostgreSQL as Extensible RDBMS
    PDF ISBN: 978-1-78398-059-8
    Publisher: Packt Publishing Limited
    Copyright owner: © 2015 Packt Publishing Limited
    Publication date: 2015
    Language: English
    Pages: 320