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

citusdata / pg_shard / 341
96%
develop: 36%

Build:
Build:
LAST BUILD BRANCH: develop_candidate
DEFAULT BRANCH: develop
Ran 25 May 2015 10:41PM UTC
Jobs 3
Files 18
Run time 5min
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

pending completion
341

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.

2060 of 2155 relevant lines covered (95.59%)

747.5 hits per line

Jobs
ID Job ID Ran Files Coverage
1 341.1 (PGVERSION=9.3) 25 May 2015 10:44PM UTC 0
95.27
Travis Job 341.1
2 341.2 (PGVERSION=9.4) 25 May 2015 10:41PM UTC 0
95.27
Travis Job 341.2
3 341.3 (PGVERSION=40.0) 25 May 2015 10:46PM UTC 0
94.17
Travis Job 341.3
Source Files on build 341
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #341
  • a1d5161d on github
  • Prev Build on feature-reject_zero_shard_insert (#281)
  • Next Build on feature-reject_zero_shard_insert (#389)
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