James Coleman

Results 15 issues of James Coleman

Looking at https://github.com/afair/postgresql_cursor/blob/master/lib/postgresql_cursor/cursor.rb#L298, the comment explains that the gem prefers to override PostgreSQL's default `cursor_tuple_fraction = 0.1` to `1.0`. However because the arg `frac=1.0` and there's an default on the...

Add a Dockerfile with a Postgres build environment as well as simple scripting to make it easy for contributors to quickly iterate on extension development without needing to configure a...

pending review

Regex matching solely against the word "insufficient" means that it's trivial to cause this to alert unnecessarily by merely including the string "insufficient" in one's real query. Instead verify that...

Currently avg_wait_time is calculated as the wait time accumulated by clients that were assigned a backend in the current stats_period and averaged over the time in that period. That means...

I've been improving our setup for using `PAUSE`/`RESUME` on transaction pooled databases to do hitless failovers and started digging into any possible concurrency concerns. To avoid causing issues with an...

3.4.0 is the latest gem version on RubyGems, but it still forcibly requires Bundler 1.x. That changed in 6db5dcd7238c6a0e8b1f61dc2fd6ec787d60543f; could you release an updated gem?

### Describe the problem Using the `TTY::Editor.open(text: "")` API throws away the text. Additionally that method is documented as `# @return [Object]`, but actually it returns a boolean. ### Steps...

bug

From discussion in #22: > ...it might well be the case that all of the unsafe variants (where it's relevant) should use the safe lock acquisition. I think that's mostly...