David Cao

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

How to Switch Users in psql: A Comprehensive Guide

psql (PostgreSQL’s command-line interface) is the primary tool for interacting with PostgreSQL databases, and switching between database users is a common task for administrators and developers—whether for testing permissions, performing administrative tasks, or isolating workloads. This guide covers all methods…

How to Create Schemas and Tables in PostgreSQL

This guide walks you through the complete process of creating schemas and tables in PostgreSQL, including basic creation, associated usage, and permission configuration. We’ll follow industry best practices to help you avoid common pitfalls and manage database objects efficiently. First:…