Repository navigation
v0.3.9
rudbman 0.3.9 — schemas restored from a script, statement bodies kept whole in the editor and in runs, a run button beside each statement, and a choice of where the date goes in saved SQL file names.
- A schema can be restored from a script. Restore from script… on a schema or catalog takes a backup,
pg_dump --inserts, mysqldump, mariadb-dump, or an SSMS or SQL Developer script, plain or gzipped, UTF-8 or UTF-16. It checks the script through once and then runs it on a session of its own opened beside the connection's, with progress, cancel and Continue past failed statements. - A backup restores into the schema it is opened over. A backup names every object in full, so restoring it from another schema's menu created the objects in the schema it was taken of. The restore now reads which scope a script names and, when that is not the selected one, offers to move it: qualified names,
USEandCREATE SCHEMA, and the names passed tonextval,setval,OBJECT_ID,DBCC CHECKIDENT,sp_addextendedpropertyandCOMPILE_SCHEMAare rewritten into the selected scope, inside routine bodies and MySQL executable comments too, while other strings are left as written. Backups now start with a comment naming the scope they were taken of. - Scripts run the way each product's client reads them. Run all, and Run selection when the selection holds a client line, read a script as psql, mysql, sqlcmd, SQL*Plus, the Db2 CLP and sqlite3 do:
DELIMITER,GObatches, PL/SQL units ended by/,--#SET TERMINATOR,CREATE TRIGGER … END;, MySQL executable comments, and the client commands that are skipped, end the script or are refused before anything runs. - Statement bodies stay whole in the editor and in runs. The statement shaded under the caret, and the one Run statement sends, was the piece between two semicolons, so a
CREATE PROCEDURE … BEGIN …; END, a PL/SQL block or package, a SQLite trigger or a PostgreSQLBEGIN ATOMICbody was cut at its first inner semicolon. Run all cut MySQL routines typed withoutDELIMITER,BEGIN ATOMICbodies, SQLite triggers holding aCASEand Db2 routines the same way, and ran an Oracle unit typed without its slash together with everything after it. Both now count a body, and the editor takes its statements from the reader Run all uses, so the shading followsDELIMITER,GOand the SQL*Plus slash and Run statement sends the unit as Run all would. - A run button beside each statement. The SQL editor's gutter shows a ▶ to the right of the line number on the first line of each statement; pressing it runs that statement without moving the caret.
- Saved SQL file names put the date where you choose. Settings → Database → SQL file name date puts today's date after the tab's name, as before, before it, or leaves it out of the name the save dialog suggests for a query tab that has never been saved.
- A schema backup's suggested file name is dated. The save dialog suggests
<schema>_backup_<yyyyMMdd>.sql(.sql.gzwith gzip), so a second day's backup does not offer to replace the first's. - The comment toggle keeps the selection. The same lines stay selected, a backwards selection stays backwards, and the caret stays beside the character it was next to, instead of collapsing to a caret at the old offset.
- Shared libraries are updated to rugpui 0.1.17 and rudbkit 0.1.7, and russh to 0.65 for RUSTSEC-2026-0492 and RUSTSEC-2026-0495. UI dependencies, framework patches and the database toolkit are pinned to their published release commits.
Requirements
- Linux: glibc 2.35 or newer: Ubuntu 22.04, Debian 12 and later, or a distribution built on them, MX Linux 23 among them.
What's Changed
Full Changelog: v0.3.8...v0.3.9