Tag Archives: database

Conversion Chronicles – Invisible Indexes in Oracle to PostgreSQL Migration.

Introduction – Invisible or Hidden Index. Any database conversion offers valuable insights into how things work across platforms or how to achieve similar functionality in the target database. Invisible indexes are one such feature that is often requested in PostgreSQL … Continue reading

Rate this:

Posted in Oracle to, Oracle to PG migration, postgresql | Tagged , , , , , , , , , | Leave a comment

Conversion Chronicles – Mapping Oracle Number Data types using AWS SCT and Ora2pg.

Mapping Oracle Number Data types is crucial during migration, and AWS Schema Conversion Tool (SCT) and Ora2pg play vital roles. SCT offers precise mapping with custom transformations and constraint-based data type mapping. Ora2pg defaults to bigint for unassigned precision or scale and provides comprehensive configuration options, including custom script integration for automation. Continue reading

Rate this:

Posted in Oracle to PG migration, postgresql | Tagged , , , , , , , , , , , , , , , | Leave a comment

Conversion Gotchas: Implicit Conversion in Oracle to PostgreSQL Migration

Introduction – Implicit Conversion Oracle to PostgreSQL migration is a playground that uncovers and touches upon many database concepts, which are always intriguing and fun to explore. Implicit Conversion, i.e., imposing automatic conversion on data types to make them comparable … Continue reading

Rate this:

Posted in Oracle to PG migration, postgresql | Tagged , , , , , , , , , | Leave a comment

PL\pgSQL Conversion Gotchas : Functions with Out parameter and return type.

If you’re fascinated by the internals of PL/pgSQL processing and want to handle it efficiently, especially if you’re migrating procedural logic from another database, be sure to check out the previous posts in the series on PL/pgSQL Conversion Gotchas – … Continue reading

Rate this:

Posted in postgresql | Tagged , , , , , , | Leave a comment

PL/pgSQL Conversion Gotchas: Cursors and Last Fetch.

Databases Cursors are one of the key components of development. We have been using them for traversing query results for processing based on business logic or functionality. In Code Conversion, Cursor code always needs to be ported either from PL\SQL … Continue reading

Rate this:

Posted in Oracle to PG migration, postgresql | Tagged , , , , , , , , , | 1 Comment

PL/pgSQL Conversion Gotchas: How to Handle Conflicting Variables.

Whether during conversions or new development, it’s essential to avoid variable names that could create ambiguity within functions or procedures.In the blog, we will walk through how to resolve variables conflicts within functions or procedures. Continue reading

Rate this:

Posted in Oracle to PG migration, postgresql | Tagged , , , , , , , , , | 4 Comments

Why I Love psql – PostgreSQL Terminal.

At PGConf India 2024, I presented a well-received lightning talk on my love of using the psql terminal for PostgreSQL interaction, sharing valuable tips and tricks. The presentation slides, GIF animations, and additional references are available for those interested in delving deeper into psql. Visit the provided links for more details. Continue reading

Rate this:

Posted in postgresql | Tagged , , , , , | 4 Comments

Uncovering and Exploring ROW Constructors in PostgreSQL.

A ROW expression allows you to construct ROW values, which can represent anonymous records, specific table row types, or custom composite types. Its uses include processing records within multiple expressions (using operators like =, <>, <, <=, >, or >=), … Continue reading

Rate this:

Posted in postgresql | Tagged , , , , , | 1 Comment

Key PostgreSQL Extensions Every Developer Must Know When Migrating from Oracle.

I would like to start the blog with an interesting fact: the language PL/pgSQL, which is used to build procedural code logic in PostgreSQL, is also an extension that is installed by default when you create a database. PostgreSQL is … Continue reading

Rate this:

Posted in Oracle to, Oracle to PG migration, postgresql | Tagged , , , , , , , , , , , , , , | 1 Comment