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

citusdata / pg_shard / 389
96%
develop: 36%

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

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.

2061 of 2156 relevant lines covered (95.59%)

747.84 hits per line

Jobs
ID Job ID Ran Files Coverage
1 389.1 (PGVERSION=9.3) 29 May 2015 10:42PM UTC 0
95.27
Travis Job 389.1
2 389.2 (PGVERSION=9.4) 29 May 2015 10:49PM UTC 0
95.27
Travis Job 389.2
3 389.3 (PGVERSION=40.0) 29 May 2015 10:50PM UTC 0
94.17
Travis Job 389.3
Source Files on build 389
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #389
  • 8170838d on github
  • Prev Build on feature-reject_zero_shard_insert (#341)
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