This is an automated email from the ASF dual-hosted git repository. mxmanghi pushed a commit to branch tdbc in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
The following commit(s) were added to refs/heads/tdbc by this push: new 9dab4d8 Establishing Postgresql as DIO name for the database even though tdbc uses Postgres 9dab4d8 is described below commit 9dab4d8e2eb523dfa31c25331023ff23b0cdac31 Author: Massimo Manghi <mxman...@apache.org> AuthorDate: Sun Sep 1 18:04:25 2024 +0200 Establishing Postgresql as DIO name for the database even though tdbc uses Postgres --- rivet/packages/dio/dio.tcl | 2 +- rivet/packages/dio/dio_Tdbc.tcl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/rivet/packages/dio/dio.tcl b/rivet/packages/dio/dio.tcl index f496853..d45cf33 100644 --- a/rivet/packages/dio/dio.tcl +++ b/rivet/packages/dio/dio.tcl @@ -23,7 +23,7 @@ package require dio::formatters namespace eval ::DIO { proc handle {interface args} { - set obj \#auto + set obj ::DIO::#auto set tdbc_driver "" if {($interface == "Tdbc") && ([llength $args] > 0)} { set tdbc_driver [lindex $args 0] diff --git a/rivet/packages/dio/dio_Tdbc.tcl b/rivet/packages/dio/dio_Tdbc.tcl index 68297ee..3736be0 100644 --- a/rivet/packages/dio/dio_Tdbc.tcl +++ b/rivet/packages/dio/dio_Tdbc.tcl @@ -42,6 +42,8 @@ namespace eval DIO { set connector_name [::string tolower $interface_name] if {$connector_name == "oracle"} { set connector_name "odbc" + } elseif {$connector_name == "postgresql"} { + set connector_name "postgres" } set tdbc_connector "tdbc::${connector_name}" --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@tcl.apache.org For additional commands, e-mail: commits-h...@tcl.apache.org