0PricingLogin
Supabase Backend as a Service · Lesson

Utilizing Postgres Extensions

Discover how to enable and use powerful PostgreSQL extensions to add new functionalities like UUID generation or full-text search.

What are Postgres Extensions?

PostgreSQL is super powerful, but did you know you can make it even better? That's where extensions come in!

Extensions are like plugins for your database. They add new functions, data types, or operators that aren't available by default.

Supabase, built on PostgreSQL, lets you easily enable many of these extensions to boost your app's capabilities.

Enabling Extensions in Supabase

Turning on an extension in Supabase is straightforward. You usually do it through the SQL Editor in your Supabase Dashboard.

  • Go to the SQL Editor.
  • Run the command: CREATE EXTENSION extension_name;
  • Make sure you have admin privileges for your database.

Once enabled, the new features become available for use across your database.

CREATE EXTENSION "uuid-ossp"; -- Example for UUIDs

All lessons in this course

  1. Utilizing Postgres Extensions
  2. Advanced Geospatial Data (PostGIS)
  3. Full-Text Search and Vector Embeddings with pgvector
← Back to Supabase Backend as a Service