PostgreSQL Development and Advanced Features

For developers who need PostgreSQL to do more than store rows. Three days covering PL/pgSQL functions and procedures, triggers, JSONB, arrays, ranges and custom types, full text search, advanced querying with LATERAL and window functions, transaction isolation, and the extension ecosystem including PostGIS and pgvector. Delivered on PostgreSQL 18 with labs written against a realistic application schema.

postgresql-development-advanced-features

Intermediate

Databases

3 Days

Databases

databases

Online
On-site
Hybrid

PostgreSQL Development and Advanced Features

For developers who need PostgreSQL to do more than store rows. Three days covering PL/pgSQL functions and procedures, triggers, JSONB, arrays, ranges and custom types, full text search, advanced querying with LATERAL and window functions, transaction isolation, and the extension ecosystem including PostGIS and pgvector. Delivered on PostgreSQL 18 with labs written against a realistic application schema.

Duration:
3 Days
Rating:
4.8/5.0
Level:
Intermediate
1500+ users onboarded

Who will Benefit from this Training?

Training Objectives

Build a high-performing, job-ready tech team.

Personalise your team’s upskilling roadmap and design a befitting, hands-on training program with Uptut

Key training modules

Comprehensive, hands-on modules designed to take you from basics to advanced concepts
Download Curriculum
  • Data Types Beyond the Basics
    1. Numeric, text and identifier types and the cost of choosing badly
    2. Timestamps, time zones and interval arithmetic
    3. Enumerations, domains and constrained value sets
    4. UUID generation options including uuidv7 and its index behaviour
    5. Generated and identity columns, including virtual generated columns
    6. Hands-on: refactor a schema to use appropriate types and measure the storage change
  • Functions and Procedures in PL/pgSQL
    1. Function structure, parameter modes and return types
    2. Procedures and transaction control inside the database
    3. Volatility categories and their effect on planning and indexing
    4. Security definer versus invoker and safe search_path handling
    5. Returning sets, tables and refcursors
    6. Hands-on: build and unit test a set of business logic functions
  • Control Flow, Cursors and Dynamic SQL
    1. Conditional logic, loops and exception blocks
    2. Explicit cursors and when row-by-row processing is justified
    3. EXECUTE and dynamic statement construction
    4. format, quote_ident and quote_literal for injection-safe dynamic SQL
    5. RAISE, logging and debugging techniques inside functions
    6. Hands-on: write a safe dynamic query builder and prove it resists injection
  • Triggers and Event-Driven Logic
    1. Row and statement level triggers, BEFORE, AFTER and INSTEAD OF
    2. Trigger functions, OLD and NEW records and conditional WHEN clauses
    3. Audit trails, denormalised counters and derived column maintenance
    4. LISTEN and NOTIFY for application event notification
    5. When trigger logic belongs in the application instead
    6. Hands-on: implement an audit trail and an event notification path
  • JSON and JSONB
    1. json versus jsonb storage, operators and trade-offs
    2. Path expressions, containment and existence operators
    3. SQL/JSON functions and the JSON_TABLE construct
    4. GIN indexing strategies and jsonb_path_ops
    5. Deciding what belongs in a column and what belongs in a document
    6. Hands-on: model a variable-attribute entity in JSONB and index it for real queries
  • Arrays, Ranges and Composite Types
    1. Array construction, unnesting and array operators
    2. Range and multirange types for periods, prices and reservations
    3. Exclusion constraints to prevent overlapping bookings
    4. Composite types and returning structured results
    5. Creating custom types and operators
    6. Hands-on: build a booking model that makes double booking impossible
  • Full Text Search
    1. tsvector, tsquery and text search configurations
    2. Dictionaries, stemming and stop words across languages
    3. Ranking, weighting and result highlighting
    4. GIN and GiST indexes for search workloads
    5. Trigram similarity and fuzzy matching with pg_trgm
    6. Hands-on: build a ranked search feature with typo tolerance
  • Advanced Query Techniques
    1. LATERAL joins for per-row subqueries
    2. Window functions for ranking, running totals and period comparison
    3. Recursive CTEs for hierarchies and graph traversal
    4. DISTINCT ON and other PostgreSQL specific shortcuts
    5. GROUPING SETS, ROLLUP and CUBE for subtotals
    6. Hands-on: replace application-side loops with single set-based queries
  • Transactions and Concurrency for Developers
    1. Isolation levels and the anomalies each one permits
    2. Serialisation failures and writing retry logic that works
    3. SELECT FOR UPDATE, SKIP LOCKED and building a job queue
    4. Advisory locks for application level coordination
    5. Upserts with ON CONFLICT and their concurrency behaviour
    6. Hands-on: build a concurrent-safe job queue and test it under load
  • Extensions and Specialised Workloads
    1. Installing, versioning and trusting extensions
    2. pgvector for embeddings, similarity search and index choices
    3. PostGIS fundamentals for spatial data and queries
    4. Foreign data wrappers for querying external systems
    5. Useful additions: pg_trgm, hstore, pgcrypto, pg_partman
    6. Hands-on: build a semantic search endpoint using pgvector
  • Integration, Migrations and Testing
    1. Connection pooling and prepared statements from application code
    2. Migration tooling and expand-contract schema change patterns
    3. Testing database logic and seeding reproducible fixtures
    4. Reading EXPLAIN output well enough to catch regressions in review
    5. Coding standards and review checklist for database changes
    6. Hands-on: capstone feature delivered with migrations, tests and a plan review

Hands-on Experience with Tools

Training Delivery Format

Flexible, comprehensive training designed to fit your schedule and learning preferences
Opt-in Certifications
AWS, Scrum.org, DASA & more
100% Live
on-site/online training
Hands-on
Labs and capstone projects
Lifetime Access
to training material and sessions

How Does Personalised Training Work?

Skill-Gap Assessment

Analysing skill gap and assessing business requirements to craft a unique program

1

Personalisation

Customising curriculum and projects to prepare your team for challenges within your industry

2

Implementation

Supplementing training with consulting support to ensure implementation in real projects

3

Why this course

  • Uses what you already pay for: Teams stop bolting on separate search, queue and document stores for capabilities PostgreSQL already provides.
  • Server-side logic done safely: Functions, procedures and triggers taught with the maintainability and debugging practices that keep them from becoming a liability.
  • Covers the AI workload path: Includes pgvector and similarity search for teams building retrieval features on their existing database.
  • Written for application developers: Every module connects back to application code, migrations and testing rather than staying inside psql.

Training objectives

  • Select and apply PostgreSQL data types beyond the standard set
  • Write, debug and maintain PL/pgSQL functions and procedures
  • Implement triggers and event-driven logic without creating hidden side effects
  • Store, query and index JSONB documents effectively
  • Use arrays, ranges, composite types and enumerations appropriately
  • Build full text search with ranking, highlighting and language configurations
  • Apply LATERAL joins, window functions and recursive CTEs to complex queries
  • Choose transaction isolation levels and handle serialisation failures in application code
  • Extend PostgreSQL using PostGIS, pgvector and other common extensions
  • Integrate schema changes into migrations, tests and deployment pipelines

Who will benefit

  • Backend and full stack application developers
  • Data engineers building on PostgreSQL
  • Database developers moving from Oracle, SQL Server or MySQL
  • Technical leads defining data access standards
  • Engineers building search or retrieval features on PostgreSQL

Lead the Digital Landscape with Cutting-Edge Tech and In-House " Techsperts "

Discover the power of digital transformation with train-to-deliver programs from Uptut's experts. Backed by 70,000+ professionals across the world's leading tech innovators.

Frequently Asked Questions

1. What are the pre-requisites for this training?
Faq PlusFaq Minus

The training does not require you to have prior skills or experience. The curriculum covers basics and progresses towards advanced topics.

2. Will my team get any practical experience with this training?
Faq PlusFaq Minus

With our focus on experiential learning, we have made the training as hands-on as possible with assignments, quizzes and capstone projects, and a lab where trainees will learn by doing tasks live.

3. What is your mode of delivery - online or on-site?
Faq PlusFaq Minus

We conduct both online and on-site training sessions. You can choose any according to the convenience of your team.

4. Will trainees get certified?
Faq PlusFaq Minus

Yes, all trainees will get certificates issued by Uptut under the guidance of industry experts.

5. What do we do if we need further support after the training?
Faq PlusFaq Minus

We have an incredible team of mentors that are available for consultations in case your team needs further assistance. Our experienced team of mentors is ready to guide your team and resolve their queries to utilize the training in the best possible way. Just book a consultation to get support.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.