Skip to content

DailyTechIdeas

IT technologies, promoting open source tools

Menu

  • Services
  • About

Database

SQL left join ON clause/filter

I always considered myself SQL advanced however when I came to the following sql code, I couldn’t figure out the correct answer: The below table has 5 rows(from on the first sql ), what will be the result of the

Jason 07/10/202307/10/2023 Database, Programming No Comments Read more

Google Cloud SQL(Postgresql) to enable private IP

Due to security requirement, most companies don’t allow Google Cloud SQL (Postgresql) to be accessible via public IP. This article shows how to configure private IP for the db so that a web service built on App engine can communicate

Jason 09/04/202209/04/2022 Cloud, Database No Comments Read more

Postgresql identity column “no owned sequence”

Postgresql 10 introduced identity column which offers better manageability than the old fashioned serial. Refer to this post for more detail I followed the post above and converted most of serial columns into identity, worked all good until one day

Jason 07/04/202007/04/2020 Database 1 Comment Read more

PostgreSQL logical replication

Logical replication was introduced in PostgreSQL 10. It offers better flexibility than stream replication in a number of ways: Publisher and subscriber can be on different major versions Replication can be done at table level, sharing a subset of the

Jason 05/08/202005/08/2020 Database No Comments Read more

Building a PostgreSQL docker container with debugger (pldebugger)

Further to my previous post, I wanted to enable debugging in PostgreSQL Docker container so that it can be used together with PGAdmin4. The challenge is it is not enabled by default in any of available Docker images; I also

Jason 12/04/201812/04/2018 Database, virtualisation 5 Comments Read more

Deploy pgAdmin as a web service under venv environment

pgAdmin can be deployed as a web server therefore user doesn’t need to install any client to access DB. This also provides a securer way of accessing your database:  suppose your web server is on the same network as your

Jason 11/01/201711/23/2017 Database No Comments Read more

Postgresql upgrade from 9.6 to 10.0

The lasted Postgresql 10 brings in a number of exciting new features: parallel queries, partitions, new sequence and logical replication. Below are steps to upgrade v9.6 to v10. It has similar steps as described in my previous post “Postgresql upgrade

Jason 10/26/201710/26/2017 Database No Comments Read more

Enable debug in PostgreSQL

PgAdmin comes with built-in support for debugging your Pl/PgSQL programs. However in order to enable this, you’ll have to compile and install extra plug-in to PostgreSQL. I Googled a lot but didn’t find one single post with all steps so

Jason 06/15/201712/02/2019 Database 3 Comments Read more

Postgresql upgrade from 9.3 to 9.6

Have been using Postgresql 9.3 for a while until recently after upgrading to PgAdmin4 1.3, I cannot import my backup due to compatibility issue, so I decided to upgrade Postgresql to the current version 9.6. Below are my notes on steps:

Jason 03/22/201705/21/2019 Database 1 Comment Read more

Postgresql debugger

It took me a while to figure out how to enable debugger for Postgresql server on Ubuntu. Initially I thought it was pre-packaged by Ubuntu therefore apt-get installed a few packages such as pgadmin3, pgadmin3-dev, postgresql-version.dbg. Here is a post

Jason 04/21/201512/02/2019 Database, Programming No Comments Read more
  • « Previous

Recent Posts

  • Bar chart race
  • SQL left join ON clause/filter
  • Hummingbot – Liquidity Mining (Part 2)
  • Free VPN server setup
  • Free VPS for WordPress

Recent Comments

  • Jason on Hummingbot – Liquidity Mining (Part 2)
  • Pacs on Hummingbot – Liquidity Mining (Part 2)
  • Jason on Building a PostgreSQL docker container with debugger (pldebugger)
  • Ivan on Building a PostgreSQL docker container with debugger (pldebugger)
  • Ivan on Building a PostgreSQL docker container with debugger (pldebugger)

Archives

  • March 2024
  • July 2023
  • February 2023
  • December 2022
  • November 2022
  • September 2022
  • August 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • June 2021
  • April 2021
  • July 2020
  • May 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • June 2019
  • February 2019
  • December 2018
  • June 2018
  • May 2018
  • December 2017
  • November 2017
  • October 2017
  • June 2017
  • May 2017
  • March 2017
  • July 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • October 2015
  • September 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • September 2014
  • August 2014
  • May 2014
  • July 2013
  • April 2013
  • March 2013

Categories

  • Cloud
  • crypto
  • Database
  • others
  • Programming
  • Reporting
  • Reviews
  • SAP
  • Telco billing
  • Uncategorized
  • virtualisation

Copyright © 2025 DailyTechIdeas. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.