Skip to content

Add lint for PostgreSQL 17 deprecated extensions#164

Open
omwanere wants to merge 1 commit into
supabase:mainfrom
omwanere:agents/fix-deprecated-extensions-test
Open

Add lint for PostgreSQL 17 deprecated extensions#164
omwanere wants to merge 1 commit into
supabase:mainfrom
omwanere:agents/fix-deprecated-extensions-test

Conversation

@omwanere

@omwanere omwanere commented Jun 3, 2026

Copy link
Copy Markdown

Summary

Adds a new lint to detect extensions that are deprecated in PostgreSQL 17 images.

The lint warns when any of the following extensions are installed:

  • adminpack
  • plv8
  • timescaledb

These extensions are deprecated in PostgreSQL 17 images and may require removal or replacement before upgrading.

Changes

  • Added 0025_pg17_deprecated_extensions lint
  • Added regression test for deprecated extension detection
  • Added expected test output
  • Updated test runner to include the new lint

Example

When a deprecated extension is installed:

create extension adminpack;

The lint returns a warning indicating that the extension is deprecated in PostgreSQL 17 images and should be reviewed before upgrading.

Related Issue

Closes #105

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lint for extensions deprecated in pg17 image

1 participant