ruby-pg icon indicating copy to clipboard operation
ruby-pg copied to clipboard

A PostgreSQL client library for Ruby

Results 44 ruby-pg issues
Sort by recently updated
recently updated
newest added

Hello there. I'm getting an error like this, do you have a solution for this? I am using asdf. Ruby version: ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20] ``` ------------------------------------------------------------------------------------------------------------ /Library/Ruby/Gems/2.6.0/gems/bootsnap-1.4.9/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in...

I'm trying to run my app on MacBook Air m1 and see following issue: ``` /Library/Ruby/Gems/2.6.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `require': dlopen(/Library/Ruby/Gems/2.6.0/gems/pg-1.2.3/lib/pg_ext.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/pg-1.2.3/lib/pg_ext.bundle - /Library/Ruby/Gems/2.6.0/gems/pg-1.2.3/lib/pg_ext.bundle (LoadError) from /Library/Ruby/Gems/2.6.0/gems/activesupport-6.1.0/lib/active_support/dependencies.rb:332:in `block...

Our scheduler tests sometimes crash with a segfault in `vm_search_cc`. There is no appearance of `pg_ext` in the stack trace, so that it looks like a ruby bug rather than...

I thought I should open a pr to get the ball rolling. This still needs some work, there are currently 9 failures that I need to fix. Feedback is welcome,...

I can't get pg installed using the preferred method using `homebrew`. I'm using the `postgres.app` which is the only way I found to get `postgres` installed on this brand new...

I haven't devised a test for this yet because I'm not sure what to test exactly, but we monitor our SQL execution times. Specifically, with [prometheus_exporter](https://github.com/discourse/prometheus_exporter) we collect durations of...

While we are still able to see the CI results at https://app.travis-ci.com/github/larskanis/ruby-pg, we cannot see if the (Travis) CI pipeline fails in the pull requests. We should move Travis CI...

I noticed this in our CI on Github Actions. If the `libpq` shared object is used from a non system location like in our CI: https://github.com/larskanis/ruby-pg/runs/3784028158?check_suite_focus=true#step:8:8000 ... then it's explicit...

ruby-pg is currently not marked as Ractor-safe. That means that it isn't usable in Ractors other than the main Ractor. The requirements for Ractor-safety are defined in https://github.com/ruby/ruby/blob/f51a6ace06cecd193bf00747a63809849e254050/doc/extension.rdoc#appendix-f-ractor-support- Ractor-safety should...

When I run 'rake about' or 'rails s', I receive the following error: LoadError: Error loading the 'postgresql' Active Record adapter. Missing a gem it depends on? dlopen(/Users/mp/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/pg-1.2.3/lib/pg_ext.bundle, 9): Library...