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

citusdata / pg_shard / 281
96%
develop: 36%

Build:
Build:
LAST BUILD BRANCH: develop_candidate
DEFAULT BRANCH: develop
Ran 29 Apr 2015 08:05AM UTC
Jobs 2
Files 0
Run time –
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
281

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.
Jobs
ID Job ID Ran Files Coverage
1 281.1 (PGVERSION=9.3) 29 Apr 2015 08:05AM UTC 0
Travis Job 281.1
2 281.2 (PGVERSION=9.4) 29 Apr 2015 08:07AM UTC 0
Travis Job 281.2
Source Files on build 281
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #281
  • de385e7d on github
  • Next 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