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

citusdata / pg_shard / 341 / 3
96%
develop: 36%

Build:
Build:
LAST BUILD BRANCH: develop_candidate
DEFAULT BRANCH: develop
Ran 25 May 2015 10:46PM UTC
Files 18
Run time 1s
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

25 May 2015 10:38PM UTC coverage: 94.169%. First build
PGVERSION=40.0

push

travis-ci

jasonmp85
Throw error for zero-shard INSERTs

Found this when doing CitusDB integration. If CitusDB has created an
e.g. range partition table I found it "just works" with pg_shard save
one caveat: if no shard exists to receive an incoming row, our zero-
shard SELECT logic kicked in and pg_shard would happily put the row
into the local relation.

UPDATE and DELETE are safe to run locally as the local table should be
empty to begin with, but INSERT is not: we should raise an error rather
than continue with a zero-shard INSERT.

1615 of 1715 relevant lines covered (94.17%)

269.88 hits per line

Source Files on job 341.3 (PGVERSION=40.0)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 341
  • Travis Job 341.3
  • a1d5161d on github
  • Next Job for PGVERSION=40.0 on feature-reject_zero_shard_insert (#389.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc