Skip to content

Conversation

@LHolten
Copy link

@LHolten LHolten commented Feb 27, 2025

No description provided.

JamesGuthrie and others added 30 commits November 7, 2023 22:09
…mn_id

Add table_oid and column_id to column structure of prepared statements
Adds a Default impl for `Json<T> where T: Default` allowing for other
structs to use the wrapper and implement Default.
…-json

feat(types): add default derive to json wrapper
Updates the requirements on [env_logger](https://github.com/rust-cli/env_logger) to permit the latest version.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](rust-cli/env_logger@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…env_logger-0.11

Update env_logger requirement from 0.10 to 0.11
This small quality-of-life improvement changes these errors:

thread '<unnamed>' panicked at /../.cargo/registry/src/index.crates.io-6f17d22bba15001f/tokio-postgres-0.7.10/src/row.rs:151:25:
error retrieving column 0: error deserializing column 0: a Postgres value was `NULL`

to:

thread '<unnamed>' panicked at my-program.rs:100:25:
error retrieving column 0: error deserializing column 0: a Postgres value was `NULL`
add #[track_caller] to the Row::get() functions
…ad_only_session_attr

Add `ReadOnly` in `TargetSessionAttrs`
Updates the requirements on [base64](https://github.com/marshallpierce/rust-base64) to permit the latest version.
- [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md)
- [Commits](marshallpierce/rust-base64@v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: base64
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…base64-0.22

Update base64 requirement from 0.21 to 0.22
[`str::split`](https://doc.rust-lang.org/std/primitive.str.html#method.split)
allocates a vector and generates considerably more instructions when compiled
than [`str::split_once`](https://doc.rust-lang.org/std/primitive.str.html#method.split_once).

[`u64::from_str_radix(split_lo, 16)`](https://doc.rust-lang.org/std/primitive.u64.html#method.from_str_radix)
will error if the `lsn_str` contains more than one `/` so this change should
result in the same behavior as the current implementation despite not explicitly
checking this.
…_from_str

use `split_once` instead of `split` to parse lsn strings
Shrink query_opt/query_one codegen size very slightly
---
updated-dependencies:
- dependency-name: heck
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…heck-0.5

Update heck requirement from 0.4 to 0.5
Using `impl Into<String>` instead of `&str` in a fn arg allows both `&str` and `String` as parameters - thus if the caller already has a String object that it doesn't need, it can pass it in without extra cloning.

The same might be done with the password, but may require closer look.
@rudolphfroger rudolphfroger merged commit f69abed into master Mar 4, 2025
4 checks passed
@rudolphfroger rudolphfroger deleted the prepare-upstream branch March 19, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.