Browsing Tag
postgresql
91 posts
How to Use the CREATE VIEW Command in PostgreSQL
If you’ve ever found yourself copying and pasting the same complicated SQL query over and over again, views…
How to Use the DROP TRIGGER Command in PostgreSQL
Triggers are powerful, but they can also become a source of confusion and unexpected behavior if they’re left…
How to Use the CREATE TRIGGER Command in PostgreSQL
Triggers let your database react automatically to changes, without needing your application code to remember to do it…
How to Use the DROP FUNCTION Command in PostgreSQL
Functions in PostgreSQL are incredibly useful for encapsulating logic you want to reuse across queries, triggers, and applications.…
How to Use the CREATE FUNCTION Command in PostgreSQL
One of the things that makes PostgreSQL feel more like a full application platform than just a data…
How to Use the DROP SCHEMA Command in PostgreSQL
Schemas in PostgreSQL are a great way to organize database objects into logical namespaces, but there comes a…
How to Use the CREATE SCHEMA Command in PostgreSQL
As your PostgreSQL database grows, keeping everything in one giant flat namespace becomes hard to manage. This is…
How to Use the DROP EXTENSION Command in PostgreSQL
PostgreSQL extensions are one of the platform’s best features, letting you add powerful functionality like UUID generation, full-text…
How to Use the CREATE EXTENSION Command in PostgreSQL
If you’ve spent any real time working with PostgreSQL, you’ve probably noticed that it doesn’t try to do…
How to Use the SHOW Command in PostgreSQL
Every PostgreSQL installation is running with a huge number of configuration settings under the hood — things like…