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
  • Error Handling: RAISE EXCEPTION

    SQL SELF
    Level 52, Lesson 0
    In this lecture, you'll learn how to generate and handle errors in PL/pgSQL using the RAISE statement. We'll check out message levels, syntax, usage examples, error handling in functions, and common mistakes when working with RAISE EXCEPTION. This will help make your procedures reliable and easy to debug.
    Available
  • Logging with RAISE NOTICE

    SQL SELF
    Level 52, Lesson 1
    In this lecture, you'll learn how to use the RAISE NOTICE statement for logging and debugging functions in PL/pgSQL. We'll check out examples of printing variables, tracking execution steps, and share some tips for using logs effectively in PostgreSQL.
    Available
  • Creating the error_log Table for Automatic Error Logging

    SQL SELF
    Level 52, Lesson 2
    Learn how to create an error_log table for storing errors in PostgreSQL, implement an error logging function, and automate error recording using exception handling. This will help you analyze failures, improve your code quality, and quickly react to issues in your database.
    Available
  • Automatic Logging with Functions

    SQL SELF
    Level 52, Lesson 3
    In this lecture, you'll learn how to set up automatic logging of errors and warnings in PostgreSQL using custom functions. We'll go over creating a log table, a universal function for recording errors, and some practical examples of using logging in real-world tasks and exception handling.
    Available
  • Analyzing Common Mistakes with Control Structures and Logging

    SQL SELF
    Level 52, Lesson 4
    In this lecture, we're gonna check out the most common mistakes when using control structures and logging in PL/pgSQL: from syntax slip-ups and forgotten blocks to bad error handling and logging fails. You'll learn how to spot and avoid these mistakes, so you can write reliable and clean code.
    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