Skip to content

Commit a432974

Browse files
committed
fix(pgwire): drop the unused mapper re-export
types/mod.rs re-exported numeric_code_to_sqlstate, but the routed gateway calls it by its full path and internal_message uses the module directly, so the re-export was dead and Lint & Check failed on the unused import.
1 parent 7eb45a9 commit a432974

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • nodedb/src/control/server/pgwire/types

‎nodedb/src/control/server/pgwire/types/mod.rs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ pub mod internal_message;
1111
pub mod parse;
1212
pub mod privilege;
1313

14-
pub(crate) use error_map::numeric_code_to_sqlstate;
1514
pub use error_map::{
1615
error_to_sqlstate, notice_warning, response_status_to_sqlstate, shape_error_to_pg,
1716
sqlstate_error,

0 commit comments

Comments
 (0)