Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
PostgreSQL 18 for Developers

You're reading from   PostgreSQL 18 for Developers Crafting flexible and intelligent data-driven solutions for today's enterprise

Arrow left icon
Product type Paperback
Published in Apr 2026
Publisher Packt
ISBN-13 9781806028474
Length 379 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Marc Linster Marc Linster
Author Profile Icon Marc Linster
Marc Linster
Vibhor Kumar Vibhor Kumar
Author Profile Icon Vibhor Kumar
Vibhor Kumar
Arrow right icon
View More author details
Toc

PostgreSQL Constructs to Bring it All Together

We have seen how databases, schemas, APIs, FDWs, and logical replication help us build modular and scalable data services, as well as the role of each building block. This section explains how they all play together to create a complete working system.APIs and Interfaces define how the application instances connect with the database, and how different data services – defined as PostgreSQL databases – interface with each other.

  • Applications connect to the data services APIs via libpq or any other PostgreSQL access protocol. While application microservices connect to data microservices, there is no implied 1:1 relationship between them. Application instances can scale up and down rapidly, and several instances can share one data service via a connection pooler, such as PgBouncer (see Figure 4.5).
  • APIs are defined using PostgreSQL's schemas with views, functions, and procedures.
  • APIs can be versioned, and the PostgreSQL search...
lock icon The rest of the chapter is locked
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
PostgreSQL 18 for Developers
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Modal Close icon
Modal Close icon