Blog

Page 63 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to list table foreign keys

How to list table foreign keys

Published on September 2, 2023

πŸ“ **Tech Tips: How to Easily List Table Foreign Keys in SQL** πŸ—οΈ Hey tech-savvy folks! πŸ‘‹ Are you trying to navigate the world of SQL and wondered how to list all foreign keys for a specific table? You've come to the right place! In this blog post, we'l

Cover Image for How to use RETURNING with ON CONFLICT in PostgreSQL?

How to use RETURNING with ON CONFLICT in PostgreSQL?

Published on September 2, 2023

# How to use RETURNING with ON CONFLICT in PostgreSQL? So you're trying to perform an UPSERT operation in PostgreSQL and you want to retrieve the new `id` values when there are no conflicts, or the existing `id` values when there are conflicts. Sounds lik

Cover Image for ERROR: permission denied for sequence cities_id_seq using Postgres

ERROR: permission denied for sequence cities_id_seq using Postgres

Published on September 2, 2023

# Fixing "ERROR: permission denied for sequence cities_id_seq using Postgres" πŸ› οΈ So you ran a script on your PostgreSQL database and encountered the dreaded "ERROR: permission denied for sequence cities_id_seq" message. Don't worry, we've all been there!

Cover Image for How to set auto increment primary key in PostgreSQL?

How to set auto increment primary key in PostgreSQL?

Published on September 2, 2023

# How to Set Auto Increment Primary Key in PostgreSQL? πŸ’‘ If you're working with PostgreSQL and looking to add an auto increment primary key to your table, you may have encountered the following error message in pgadmin: ``` ERROR: sequence must have same

Cover Image for Comparison of full text search engine - Lucene, Sphinx, Postgresql, MySQL?
mysql

Comparison of full text search engine - Lucene, Sphinx, Postgresql, MySQL?

Published on September 2, 2023

# πŸ‘€Comparison of Full Text Search Engines: Lucene, Sphinx, Postgresql, MySQL Are you building a Django site and need a search engine? πŸ€” Don't worry, I've got you covered! In this blog post, we'll compare four popular full-text search engines - Lucene, S

Cover Image for Cannot simply use PostgreSQL table name ("relation does not exist")

Cannot simply use PostgreSQL table name ("relation does not exist")

Published on September 2, 2023

## Title: 🚫 "Relation Does Not Exist" Error in PostgreSQL: Easy Solutions Are you facing a frustrating "relation does not exist" error while trying to query your PostgreSQL database? Don't worry, you're not alone! Many developers encounter similar issues

Cover Image for How to select a schema in postgres when using psql?

How to select a schema in postgres when using psql?

Published on September 2, 2023

πŸŽ‰πŸŒŸ How to Select a Schema in Postgres when using psql? πŸŒŸπŸŽ‰ Are you struggling with the default connection schema when using psql in your PostgreSQL database? Don't worry, I've got you covered! In this blog post, we will explore common issues and provid

Cover Image for Difference between timestamps with/without time zone in PostgreSQL
timestamptimezonetypes

Difference between timestamps with/without time zone in PostgreSQL

Published on September 2, 2023

# Understanding Timestamps with/without Time Zone in PostgreSQL πŸ“…β° Have you ever wondered about the differences between timestamps with and without time zone in PostgreSQL? πŸ€”πŸ“… This question often arises when storing and manipulating time-related data.

Cover Image for Postgresql GROUP_CONCAT equivalent?

Postgresql GROUP_CONCAT equivalent?

Published on September 2, 2023

## πŸ“ Postgresql GROUP_CONCAT equivalent? | Easy Solution for Concatenating Field Values So, you have encountered a problem with PostgreSQL where you need to concatenate field values and you're wondering if there is an equivalent of `GROUP_CONCAT` in MySQ

Blog | Matheus Mello