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

supabase / pg_net / 39748967387
94%

Build:
DEFAULT BRANCH: master
Ran 22 Oct 2026 08:40AM UTC
Jobs 1
Files 6
Run time 1min
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 Oct 2026 08:36AM UTC coverage: 93.96% (-0.01%) from 93.97%
39748967387

push

github

imor
fix: a race condition in which a backend might segfault

In the old code SetLatch was called on the shared_latch only after checking that
it was not NULL. But there was a narrow race condition in which the shared_latch
variable might be assigned to NULL after the if condition succeeded but before
the SetLatch was called if the worker exited in that narrow window and
net_on_exit function set the shared_latch to NULL. The fix is to make the
shared_latch pointer volatile and then to load it once before checking it for
NULL and calling SetLatch.

This commit also removes the pg_write_barrier calls because these are redundant:
SetLatch and ConditionVariableBroadcast functions already have a
pg_write_barrier call inside them.

9 of 9 new or added lines in 1 file covered. (100.0%)

560 of 596 relevant lines covered (93.96%)

480.55 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39748967387.1 22 Oct 2026 08:40AM UTC 6
93.96
GitHub Action Run
Source Files on build 39748967387
  • Tree
  • List 6
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39748967387
  • e08ff502 on github
  • Prev Build on master (#38368563453)
  • Next Build on master (#39750719602)
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