3 ms·
The Rails/ActiveRecord bug tracker? edit: the underlying connector might be a better idea to start with, as it'll need to expose the fields somehow before an O
by masklinn 14y ago
The Rails/ActiveRecord bug tracker?
edit: the underlying connector might be a better idea to start with, as it'll need to expose the fields somehow before an ORM can take advantage of them.
- judofyr 14y agohttps://bitbucket.org/ged/ruby-pg https://bitbucket.org/ged/ruby-pg
- jeltz 14y agoI think it can use either pg (wrapper around libpq) or postgres-pr (pure ruby), though I always use pg. EDIT: Seems like they have dropped support for postgres. EDIT2: Yes, I did mean postgres-pr.
- masklinn 14y agoDo you mean postgres-pr? (postgres is marked as a deprecated gem to replace with pg)
- netghost 14y agoThis is where you'd want to be looking in the source: https://github.com/rails/rails/tree/master/activerecord/lib/active_record/connection_adapters/postgresql https://github.com/rails/rails/tree/master/activerecord/lib/... Specifically at any error handling, which I think would likely be here: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb https://github.com/rails/rails/blob/master/activerecord/lib/...
- joevandyk 14y agoLooks like work has started on the underlying connector: https://bitbucket.org/ged/ruby-pg/issue/161/add-support-for-pg_diag_-_name-error https://bitbucket.org/ged/ruby-pg/issue/161/add-support-for-...
- masklinn 14y agoI wouldn't say "work has started" when the bug has just been reported.