官术网_书友最值得收藏!

What this book covers

This book aims to teach the reader how powerful server-side programming can be in PostgreSQL. At the same time, we are going to learn how fun can it be to implement even complex tasks directly in the database engine. This book is structured as follows:

Chapter 1, PostgreSQL Server-side Programming, presents the idea behind server-side programming and the relationship with PostgreSQL.

Chapter 2, Statement Tricks: UPSERTs, RETURNING, and CTEs, explains some of the powerful features of handling SQL statements that are supported by PostgreSQL, such as obtaining automatically computed data, resolving insert conflicts, and performing looping and joins.

Chapter 3, The PL/pgSQL Language, discusses the default language that can be used to implement code in PostgreSQL. This is an imperative, SQL-like language.

Chapter 4, Stored Procedures, teaches you how to store pieces of code in the server in order to execute them and re-use them later.

Chapter 5, PL/Perl and PL/Java, provides insights into how to use Perl and Java within the PostgreSQL server to implement stored procedures and run code.

Chapter 6, Triggers, explains how to run code that can react to data change events and data definition change events.

Chapter 7, Rules and the Query Rewriting System, explains how PostgreSQL can be used to transform statements into other forms.

Chapter 8, Extensions, teaches you how to organize your code in a way that PostgreSQL can handle and manage, as well as how to deal with updates.

Chapter 9, Intra-Process Communication and Background Workers, looks at how to interact with processes (database connections) and how to plug your own processes into the server.

Chapter 10, Custom Data Types, shows how it is possible to extend the already rich PostgreSQL data type to implement your own type with specific business logic.

主站蜘蛛池模板: 集安市| 宿迁市| 美姑县| 青浦区| 瑞昌市| 沁阳市| 城市| 花莲县| 鸡西市| 阿拉善左旗| 双桥区| 无棣县| 黑河市| 桃园县| 滁州市| 中西区| 钟山县| 兴山县| 陈巴尔虎旗| 乌兰县| 溆浦县| 江源县| 台江县| 宁阳县| 特克斯县| 宁远县| 五家渠市| 隆昌县| 永年县| 申扎县| 建昌县| 永城市| 和田县| 佳木斯市| 龙门县| 林周县| 南溪县| 吴堡县| 扎兰屯市| 荥阳市| 无棣县|