CodeGym
AI Academy
Promotion
CodeGym University
Learning
Courses
Tasks
Surveys & Quizzes
Games
Help
Schedule
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme

Lessons

  • Reviews
  • About us
Start
Start learning
Start learning now
  • My Progress
  • Courses
  • University
  • Quest Map
  • Lessons
  • Intro to PL/pgSQL Debugging

    SQL SELF
    Level 55, Lesson 0
    In this lecture, you'll learn how to effectively debug functions and procedures in PL/pgSQL: use RAISE NOTICE for logging, analyze input data, use third-party tools (like pgAdmin), and also optimize and improve your code. Practical examples and tips will help you find and fix bugs in PostgreSQL way faster.
    Available
  • Interaction Between Functions and Procedures

    SQL SELF
    Level 55, Lesson 1
    In this lecture, you'll learn how functions and procedures in PostgreSQL can call each other, pass parameters, return values, and work together to implement complex business logic. Examples, common mistakes, and why this matters for real-world projects.
    Available
  • Error Logging: Logging Levels and Message Formatting

    SQL SELF
    Level 55, Lesson 2
    In this lecture, you'll learn how to use logging levels in PostgreSQL and PL/pgSQL: NOTICE, WARNING, and EXCEPTION. You'll figure out how to properly format messages, log function execution steps, handle errors, and avoid common pitfalls when debugging and maintaining your code.
    Available
  • Function Execution Control: PERFORM

    SQL SELF
    Level 55, Lesson 3
    In this lecture, you'll learn how to use the PERFORM command in PostgreSQL to call functions and run SQL queries inside PL/pgSQL without handling any returned data. We'll break down practical examples, common mistakes, and tips for using PERFORM effectively for logging, updating data, and running helper operations.
    Available
  • Analyzing Current Queries and Transactions

    SQL SELF
    Level 55, Lesson 4
    In this lecture, you'll learn how to use PostgreSQL's built-in functions current_query() and pg_current_xact_id() to analyze running SQL queries and transactions, log operations, track down issues, and audit your database's activity. Real-world examples and tips will help you get a deeper understanding of PostgreSQL's inner workings.
    Available
Learn
  • Registration
  • Java Course
  • Help with Tasks
  • Pricing
  • Java Syntax
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success Stories
  • Activity
  • Affiliate Program
Company
  • About us
  • Contacts
  • Reviews
  • Press Room
  • CodeGym for EDU
  • FAQ
  • Support
CodeGym CodeGym is an online course for learning Java programming from scratch. This course is a perfect way to master Java for beginners. It contains 1200+ tasks with instant verification and an essential scope of Java fundamentals theory. To help you succeed in education, we’ve implemented a set of motivational features: quizzes, coding projects, content about efficient learning, and a Java developer’s career.
Follow us
Interface language
English
Deutsch Español हिन्दी Français Português Polski বাংলা 简体中文 मराठी தமிழ் Italiano Bahasa Indonesia 繁體中文 Nederlands 日本語 한국어 Bulgarian Danish Hungarian Basa Jawa Malay Norwegian Romanian Swedish Telugu Thai Українська Filipino Turkish Azərbaycan Русский Vietnamese
Programmers Are Made, Not Born © 2026 CodeGym
MastercardVisa
Programmers Are Made, Not Born © 2026 CodeGym