Skip to content

Commit

Permalink
chore: update wrapper (#195)
Browse files Browse the repository at this point in the history
* chore: update wrapper

* chore: fix clippy
  • Loading branch information
kysshsy authored Jan 13, 2025
1 parent 995f699 commit 3d7e65a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ serde_json = "1.0.128"
signal-hook = "0.3.17"
sqlparser = "0.52.0"
strum = { version = "0.26.3", features = ["derive"] }
supabase-wrappers = { git = "https://github.com/paradedb/wrappers.git", default-features = false, rev = "8aef4a6" }
supabase-wrappers = { git = "https://github.com/paradedb/wrappers.git", default-features = false, rev = "31e5a1f" }
thiserror = "1.0.63"
uuid = "1.10.0"

Expand Down
1 change: 1 addition & 0 deletions src/bin/pgrx_embed.rs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#![allow(unexpected_cfgs)]
::pgrx::pgrx_embed!();
2 changes: 1 addition & 1 deletion src/fdw/trigger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ unsafe fn auto_create_schema_impl(fcinfo: pg_sys::FunctionCallInfo) -> Result<()
// Alter Postgres table to match DuckDB schema
let preserve_casing = table_options
.get("preserve_casing")
.map_or(false, |s| s.eq_ignore_ascii_case("true"));
.is_some_and(|s| s.eq_ignore_ascii_case("true"));
let alter_table_statement =
construct_alter_table_statement(schema_name, table_name, schema_rows, preserve_casing);
Spi::run(alter_table_statement.as_str())?;
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#![allow(unexpected_cfgs)]

mod api;
#[cfg(debug_assertions)]
Expand Down

0 comments on commit 3d7e65a

Please sign in to comment.