Install an extension in the current database.
Section: Views, Functions, Triggers, and Extensions
Enable extension
sql
sql
CREATE EXTENSION IF NOT EXISTS pgcrypto;Explanation
See summary for usage details.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Views, Functions, Triggers, and Extensions
Create database with owner
Create a database with explicit owner and template.
Create identity column
Use a SQL-standard identity column instead of serial.