Enroll in PostgreSQL Courses
Get Started
Use Code 'DBGRP30' for 30% OffCategory
-
Join 154 other subscribers
Top Posts & Pages
Archives
-
Recent Posts
- Same SQL, Different Results: A Subtle Oracle vs PostgreSQL Migration Bug January 30, 2026
- PostgreSQL Table Rename and Views – An OID Story January 5, 2026
- PostgreSQL Partition Pruning: The Role of Function Volatility November 4, 2025
- Exploring PostgreSQL 18: A Developer’s Guide to New Features – Part 1: The COPY Command Gets More User-Friendly September 28, 2025
- PostgreSQL Case-Insensitive Search: Handling LIKE with Nondeterministic Collations September 6, 2025
- PostgreSQL 18 Beta Preview – Export or Amend Statistics with Ease May 10, 2025
- Understanding Volatility in PL/pgSQL Functions: A Real-World Lesson November 10, 2024
- PL/pgSQL Secrets: How Conditional Expressions Are Parsed and Evaluated Under the Hood. November 2, 2024
- How to Connect to PostgreSQL Database Through AWS SSM Using pgAdmin or DBeaver. September 26, 2024
- Exploring PostgreSQL 17: A Developer’s Guide to New Features – Part 7: pg_maintain Predefined Role for Maintenance. September 23, 2024
- Exploring PostgreSQL 17: A Developer’s Guide to New Features – Part 6: Login Event Trigger August 31, 2024
- Exploring PostgreSQL 17: A Developer’s Guide to New Features – Part 5 : Correlated IN Clause Transformation August 27, 2024
-
Enhance your PostgreSQL skills! Master Database Development and Migration with my course. Click here to start!
Tag Archives: function
Understanding Volatility in PL/pgSQL Functions: A Real-World Lesson
The PL/pgSQL language in PostgreSQL allows developers to create complex database functions with prescribed volatility categories: IMMUTABLE, STABLE, and VOLATILE. Selecting the right volatility is crucial for maintaining performance and data consistency, especially during migrations from other databases. Careful consideration prevents unexpected results and enhances application reliability. Continue reading
Posted in postgresql
Tagged database, function, immutable, performance, PL/pgSQL, plpgsql, postgres, postgresql, SQL, stable
2 Comments
Migration of Function with Out Params to Postgres from Oracle.
Function play a pivotal roles for building business logic in Postgres, till Postgres 11 all the business logic need to compiled into Function only, though with Procedure in Postgres has it own use-case. Today’s we will cover scenario of a … Continue reading
Migrate Function in the WITH clause in Oracle to PostgreSQL.
With Oracle to PostgreSQL migration to tends to learn so many interesting facts about both RDBMS database. With Oracle we have enhancement related to SQL-PLSQL and as part of these blog series will like to publish how to achieve same … Continue reading
Posted in Oracle Internal, Oracle to, Oracle to PG migration
Tagged function, oracle, Oracle 12c, postgresql, with clause
Leave a comment
Streamline Your PostgreSQL Migration from Oracle with Automated Procedural Code Conversion Sanity Testing.
One of the key difference, we need to consider while migrating Oracle to PostgreSQL is compilation of Procedural code.Its behavior with regards to Exceptions during compile time varies between both the databases. PostgreSQL has its own behavior while creating Function … Continue reading
Posted in Helper SQL, Oracle to PG migration
Tagged aws, code conversion, compilation, function, migration, oracle, postgresql, proceduralcode, procedure, sanity
Leave a comment
Date Generator in SQL Server using Recursive With Clause.
During one of performance analysis, identified lofty insert statements populating static tables with Date information. As part of one of functionality, we were generating dates and applying necessary function on it within date range specified. As part of performance improvement, … Continue reading
Posted in Helper SQL, SQL Server Learning
Tagged date, date generation, function, sql server
Leave a comment