Search Results

Showing results for "postgresql"

Latest Articles

Cover Image for PostgreSQL naming conventions
naming-conventions

PostgreSQL naming conventions

Published on September 2, 2023

# PostgreSQL Naming Conventions: A Guide to Naming Your Database Objects šŸ‘©ā€šŸ’»šŸ”  Do you ever find yourself puzzled about the best way to name your PostgreSQL database objects? šŸ¤” Whether it's table names, column names, sequences, or primary keys, naming c

Cover Image for PostgreSQL delete with inner join

PostgreSQL delete with inner join

Published on September 2, 2023

# šŸš€ PostgreSQL Delete with Inner Join: Easy Solutions for Common Issues Are you tired of struggling with the syntax error when trying to delete records using inner join in PostgreSQL? Don't worry, you're not alone! Many users encounter a similar problem

Cover Image for How to change owner of PostgreSql database?

How to change owner of PostgreSql database?

Published on September 2, 2023

# How to Change the Owner of a PostgreSql Database? šŸ”‘ Have you ever found yourself in a situation where you needed to change the owner of a PostgreSql database? Perhaps you're facing issues with permissions or want to transfer ownership to a different us

Cover Image for Postgresql - unable to drop database because of some auto connections to DB

Postgresql - unable to drop database because of some auto connections to DB

Published on September 2, 2023

**Title: Understanding and Resolving Auto Connections in PostgreSQL** **Introduction** PostgreSQL is a powerful and widely used open source relational database management system. However, like any software, it can sometimes present unexpected challenges.

Cover Image for PostgreSQL DISTINCT ON with different ORDER BY

PostgreSQL DISTINCT ON with different ORDER BY

Published on September 2, 2023

# šŸ’” PostgreSQL DISTINCT ON with different ORDER BY Are you trying to use the `DISTINCT ON` clause in your PostgreSQL query but receiving an error? Specifically, are you encountering the error message "PG::Error: ERROR: SELECT DISTINCT ON expressions must

Cover Image for How can I add a column that doesn"t allow nulls in a Postgresql database?

How can I add a column that doesn"t allow nulls in a Postgresql database?

Published on September 2, 2023

# Adding a Non-Nullable Column in PostgreSQL: Troubleshooting Guide šŸ’” Are you trying to add a column to your PostgreSQL database, but encountering a pesky error message that says "column contains null values"? šŸ› Don't worry, we've got your back! In this

Cover Image for In Postgresql, force unique on combination of two columns
unique

In Postgresql, force unique on combination of two columns

Published on September 2, 2023

# How to Force Unique Combination of Two Columns in PostgreSQL Are you facing the challenge of ensuring that two columns in your PostgreSQL database must have a unique combination of values? Don't worry, we've got you covered! In this blog post, we will w

Cover Image for Connecting to Postgresql in a docker container from outside

Connecting to Postgresql in a docker container from outside

Published on September 2, 2023

## šŸ‹ Connecting to Postgresql in a Docker Container: Unleash the Power of Port Forwarding! šŸš€ So, you've set up Postgresql in a docker container, but now you're scratching your head trying to figure out how to connect to it from your local computer šŸ¤” Do

Cover Image for How to make "case-insensitive" query in Postgresql?

How to make "case-insensitive" query in Postgresql?

Published on September 2, 2023

## How to Make Your Queries Case-Insensitive in PostgreSQL Are you tired of writing multiple queries just to account for case differences? In PostgreSQL, you can make your queries case-insensitive without any hassle. šŸŽ‰ No more duplicating code or wasting

Cover Image for "use database_name" command in PostgreSQL

"use database_name" command in PostgreSQL

Published on September 2, 2023

# Connecting to a Different Database in PostgreSQL: The "use database_name" Command šŸ”Œ Are you a beginner to PostgreSQL? šŸ¤” Are you struggling to find the equivalent of the "USE" command in MySQL or MS SQL Server? 😟 Don't worry, you're not alone! Many Po