© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
B. Shaik, D. K. ChemuduruProcedural Programming with PostgreSQL PL/pgSQLhttps://doi.org/10.1007/978-1-4842-9840-4_3

3. PL/pgSQL Data Types

Baji Shaik1   and Dinesh Kumar Chemuduru2
(1)
Texas, TX, USA
(2)
Andhra Pradesh, India
 

In the previous chapter, we introduced variables that are used in the PL/pgSQL code. We talked about different types of variables and use cases on when to use them. We have shown the declaration and scope of the variables and different types of variables with some examples. In this chapter, we will introduce the supported data types to use in PL/pgSQL code. We will walk through each data type and use cases with some examples.

Data Types ...

Get Procedural Programming with PostgreSQL PL/pgSQL: Design Complex Database-Centric Applications with PL/pgSQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.