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

Procedural Languages in Postgres

Procedural languages enable us to add flow control to functions and procedures, facilitating effective transaction management within these procedures. Keep in mind that PostgreSQL functions cannot control transactions; they run entirely within the transaction of the statement that invoked them. Only procedures can define transactions, initiate rollbacks, or define subtransactions. Refer to the Transactions and Subtransactions section for details on transaction management using PL/pgSQL.PostgreSQL supports a multitude of procedural languages. Some of the procedural languages are included with most PostgreSQL distributions and can easily be added through the ADD EXTENSION command:

  • PL/pgSQL – the original procedural language for PostgreSQL
  • PL/Tcl – a powerful string processing language
  • PL/Perl – uses the Perl programming language to write stored procedures and functions
  • PL/Python3u – gives developers access to Python 3 to write...
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