Skip to content

Build on sql-traits main's table privileges and Rust 1.89 - #265

Merged
LucaCappelletti94 merged 1 commit into
mainfrom
msrv-1-89
Nov 6, 2026
Merged

LucaCappelletti94 merged 1 commit into
mainfrom
msrv-1-89

Conversation

@LucaCappelletti94

Copy link
Copy Markdown
Collaborator

Main stopped building after sql-traits #307 replaced can_select and can_write with TableLike::privileges, which answers per command and per column. The removed methods counted only table-wide grants, so table_access reads select.on_table() for reading and insert.on_table(), update.on_table() or delete for writing, and a grant on some columns only still leaves a table unread or unwritten.

rusqlite 0.41 requires Rust 1.89, so rust-version and the MSRV job move from 1.88 to 1.89. sql-traits #296 records user-defined types, so ALTER TYPE on a type nothing declared is now refused as PostgreSQL refuses it, and the no-silent-drop case declares the type first.

@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@LucaCappelletti94
LucaCappelletti94 merged commit c5bde27 into main Nov 6, 2026
19 of 20 checks passed
@LucaCappelletti94
LucaCappelletti94 deleted the msrv-1-89 branch November 6, 2026 16:56
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.

1 participant