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

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.

主站蜘蛛池模板: 大渡口区| 石城县| 化德县| 鄯善县| 土默特右旗| 玛多县| 石狮市| 浠水县| 四会市| 黎平县| 西畴县| 南部县| 鄯善县| 安龙县| 炉霍县| 南江县| 洛宁县| 江山市| 阜新市| 台南县| 绥德县| 临澧县| 绍兴县| 辛集市| 阳山县| 江都市| 行唐县| 营山县| 安徽省| 广南县| 兴安盟| 泸溪县| 朝阳县| 萍乡市| 吉首市| 礼泉县| 开鲁县| 泰来县| 古丈县| 英德市| 遂宁市|