Handle PGRES_COMMAND_OK in pgresult_stream_any. #447
Fixes usage when trying to stream the result of a procedure call that returns no results.
Enhancements:
Rename BasicTypeRegistry#define_default_types to #register_default_types to use a more consistent terminology.
Keeping define_default_types for compatibility.
BasicTypeRegistry: return self instead of objects by accident.
This allows call chaining.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pg from 1.2.3 to 1.3.5.
Changelog
Sourced from pg's changelog.
... (truncated)
Commits
9b7909d
Add release notes for pg-1.3.580acb95
Bump VERSION to 1.3.5f49d440
April is coming!f19b071
Rename BasicTypeRegistry#define_default_types to #register_default_types6298629
BasicTypeRegistry: return self instead of objects by accident3f1f7cc
Don't use deprecated method in documentationee4bf3d
Add a test case for stream_each with PGRES_COMMAND_OK22e1a10
Merge branch 'command-ok-streaming' of https://github.com/jeremyevans/ruby-pg...eb6aa71
Update documentation of conn.socket_ioc1e0887
Update documentation to connect_pollDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)