supabase / postgres

Unmodified Postgres with some useful plugins

Home Page:https://supabase.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pg_prewarm is lacking the correct privileges or is no longer included

johnphamvan opened this issue · comments

commented

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

The Supabase documentation lists pg_prewarm as one of the supported extensions https://supabase.com/docs/guides/database/extensions and even suggests using it here. However, it does not show in the Database Dashboard and trying to install it via SQL results in a a permission denied error.

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. Use Supabase SQL editor or psql
  2. Run create extension if not exists pg_prewarm; as role postgres (superuser).
  3. See error permission denied to create extension "pg_prewarm"

Expected behavior

pg_prewarm extension is created.

Additional context

Was told by a Supabase team member to submit here: https://discord.com/channels/839993398554656828/1210152449248067644/1210619297496563752