PostgreSQL – Programming in PL/pgSQL and Advanced Development Techniques (PGSQL2)
Databases, PostgreSQL
This intensive hands-on course covers modern server-side development with PostgreSQL. Through practical workshops you will master PL/pgSQL, develop stored procedures, use dynamic SQL safely and implement triggers and set-returning functions for real projects.
The course emphasizes transaction control, security against SQL injection and safe dynamic SQL, plus performance tuning with indexes, partitioning and plan analysis. Participants practice debugging, error handling and deployment best practices for production.
THIS TRAINING COURSE WILL HELP YOU:
- Master PL/pgSQL idioms and proper procedure structure
- Control transactions, savepoints and autonomous transactions
- Use dynamic SQL safely and prevent SQL injection
- Design and optimize triggers and set-returning functions
- Tune performance using indexes, partitioning and plan analysis
WHO SHOULD ATTEND?
- Backend developers working with PostgreSQL
- Database administrators focused on performance
- Software engineers using stored procedures
- DevOps specialists implementing database automation
COURSE LOCATION AND AVAILABLE DATES
Praha + online (optional)
24–25 Aug 2026
576 €
CZECH
16–17 Nov 2026
576 €
CZECH
Private training
Unlock your employees' potential. We can adapt every course in our portfolio to your objectives and participants.
Need training at your premises or want to tailor the content and duration? We will prepare the right solution, in Czech or English.
Request customised training
Course content:
Hide details
-
Introduction to server-side programming
-
Basic architecture, benefits and limitations of server-side programming
-
Options and languages for server-side - functions and procedures
-
Procedures in SQL
-
Inlining SQL procedures
-
Array processing and loops
-
Using CTEs instead of procedures
-
Introduction to PL/pgSQL
-
PL/pgSQL basics - block syntax and scoping
-
Variables, parameters and types
-
Control structures
-
Error handling and debugging
-
Exceptions and catching them
-
Raising exceptions, assertions
-
Debuggers for PL/pgSQL
-
Transactions
-
Isolation levels in PostgreSQL and transaction control in procedures
-
Savepoints, subtransactions and autonomous transactions
-
Preventing errors and locking
-
Dynamic SQL
-
Reasons and methods for using dynamic SQL
-
Security and SQL Injection
-
Cursors and working with them
-
SRF functions
-
Table-returning functions and their use
-
Performance limitations of table functions
-
Triggers
-
Types and capabilities of triggers in PostgreSQL
-
Parameterized, recursive and other advanced techniques
-
Good and bad uses of triggers and performance aspects
-
Views
-
Overview and use of views
-
Processing modes — advantages and disadvantages
-
Materialized views
-
Temporary tables
-
Use and properties of temporary tables
-
Using temporary tables in PL/pgSQL
-
Indexes and basics of optimization
-
Viewing execution plans
-
Basic index types and their usage
-
Table partitioning
-
Overview of partitioning types and options
-
Benefits, limitations and comparison with indexes
-
Tips for PL/pgSQL development
-
Performance best practices
-
Security best practices
-
Prerequisites:
-
Basic knowledge of SQL and databases and experience using PostgreSQL.
-
Recommended previous course:
-
PostgreSQL – SQL Basics (PGSQL1)
-
Recommended follow-up course:
-
PostgreSQL – Administration and System Implementation (PSTGR1)
-
Schedule:
-
2 days (9:00-17:00)
-
Price per person:
-
576.00 € ( 696.96 € incl. 21% VAT)
Training and learning environment
What does the environment for in-person IT courses look like?We hold training courses in our own classrooms equipped with modern computer equipment for each participant and a large projection screen. Each workstation is fitted with a powerful computer for seamless practical exercises, and the environment supports a calm, friendly atmosphere during training.
Do I need to bring my own laptop to the classroom IT course?Our training rooms are fully equipped, so you do not need to bring your own laptop. A modern computer with all necessary hardware and software is ready for you at your workstation.
Will you receive an official certificate after completing an IT course?Yes, upon successful completion of the training course, you will receive an official ICT Pro certificate confirming your participation and acquired technical skills. You can use it to verify your qualifications or add it to your professional profile.
Where can you find our training center in Brno?The premises of the ICT Pro training center are located on the 1st floor of the COMGUARD building at Sochorova 38 in Brno. Positioned on the border of Žabovřesky and Komín, the location is easily accessible by both car and public transport.
Where can you find our training center in Prague?The premises of the ICT Pro training center are located on the 1st floor of the Opatov Park building at Líbalova 1, Prague 11 – Chodov. The location provides a comfortable environment for your education with convenient access.
What facilities and refreshments are available to you during training breaks?Our training centers feature a fully equipped kitchenette for a comfortable break during your courses. The facilities include a coffee machine, microwave, kettle, and a wide selection of drinks and snacks.
What beverage refreshments are available during your course?A beverage station with a coffee machine, teas, syrups, and water is at your disposal throughout the entire training session. You can enjoy a coffee or another drink of your choice anytime during breaks.
What light refreshments are provided for you during the courses?During course breaks, participants can enjoy light sweet snacks, pastries, and fruit syrups to mix their own drinks. Fresh water dispenser and plates are also available for your convenience.
Should I bring my own snacks to ICT Pro training?There is no need to. A wide selection of savory snacks, sweet biscuits, and snack bars is available for you during breaks. Boost your energy for all-day focus right inside the training center premises.
Can you spend training breaks in the fresh air?Yes, an outdoor terrace is available at our training center. During breaks between learning sessions, you can relax in the fresh air in a pleasant green environment.
Where can you relax during course breaks?Our training center features a spacious outdoor terrace with seating options. During breaks between learning sessions, you can step outside to relax and recharge in the fresh air.