• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / supautils / 29938831770 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 22 Jul 2026 04:38PM UTC
Files 10
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Jul 2026 04:37PM UTC coverage: 91.563% (+0.9%) from 90.709%
29938831770.1

push

github

web-flow
feat: gate version restriction behind supautils.restrict_extension_versions

Adds an enum GUC (default 'off', PGC_SUSET) controlling the CREATE/ALTER EXTENSION version restriction:

- off:   no restriction (default), existing deployments unaffected
- warn:  the specified version is ignored with a WARNING and the
         extension's default_version is used instead
- error: the statement is rejected

The warn mode allows a graceful rollout: statements keep working while
the warnings measure how many clients actually specify versions, before
switching the fleet to error.

Also reworks restrict_version_specification() per review:
- takes extension_stmt_kind (same discriminator as override_ext_options)
  instead of a stringly-typed stmt_type
- returns the options list, stripping every new_version DefElem in warn
  mode (all occurrences, so duplicate VERSION clauses can't slip through)

Tests cover all three modes on both the privileged and non-privileged
extension paths, plus GUC validation, and pass on PG 13-18.

1183 of 1292 relevant lines covered (91.56%)

55.84 hits per line

Source Files on job 29938831770.1
  • Tree
  • List 10
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 29938831770
  • 5650d790 on github
  • Prev Job for on master (#29598237239.1)
  • Next Job for on master (#29995099107.1)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc