Comments (3)
Hi @tachoknight
I've been trying to export a database design with a user that has the
create table
role, but it seems pgModeler when doing its validation is trying to create a role with it, but that is utterly unnecessary and the user does not have that particular role,
In that case, disable the SQL code of the role (or any other object) that isn't necessary. You can achieve that by opening the role's editing form and checking "Disable SQL code", then applying.
so it doesn't work (and exporting directly to the database leads to the app crashing).
Are you on macOS? If so, recently, pgModeler started to crash on that OS. I already know the cause and I am already in the process of patching it. The crash happens when pgModeler raises an exception, and due to internal mechanisms of the Qt framework, the exception is leaking and never being caught. The solution is kind of simple but it'll take some time to get concluded. Unfortunately.
from pgmodeler.
In that case, disable the SQL code of the role (or any other object) that isn't necessary. You can achieve that by opening the role's editing form and checking "Disable SQL code", then applying.
Is that done in the "Model Objects" pane, to the right of the Design window?
Are you on macOS? If so, recently, pgModeler started to crash on that OS. I already know the cause and I am already in the process of patching it. The crash happens when pgModeler raises an exception, and due to internal mechanisms of the Qt framework, the exception is leaking and never being caught. The solution is kind of simple but it'll take some time to get concluded. Unfortunately.
Yep, this is 1.10 on macOS with QT 6.6.1
from pgmodeler.
In that case, disable the SQL code of the role (or any other object) that isn
Is that done in the "Model Objects" pane, to the right of the Design window?
Yes, if you double-click the role from there it'll open the window where that option I've mentioned can be found.
If you right click the role, go to Quick > Disable SQL
Yep, this is 1.10 on macOS with QT 6.6.1
Great. If the crashes bother you too much you can switch to Linux or Windows for now until I fix everything. :)
from pgmodeler.
Related Issues (20)
- Improve sorting in creation script HOT 2
- Include ON DELETE and ON UPDATE actions in data dictionary
- Change "Source" shortcode
- Adding Spellchecking to text fields
- table without primay key, sql generation
- Parametrized queries in management
- Export model - ERROR: CREATE DATABASE cannot run inside a transaction block
- pgModeler 1.2.0-alpha Syntax Highlighter XML error on start
- pgModeler 1.2.0-alpha table source missing dependencies HOT 1
- Removal of Included columns in index aren't removed
- [BUG]: 1.2.0 alpha, create function with `set` then save then edit to `table` then save, but the save is not working HOT 1
- pgModeler crashes on macOs after throwing exception on import
- pgmodeler compilation error for windows 10 (std_thread.h:330:26: error: no match for 'operator==' (operand types are 'std::thread::native_handle_type' and 'std::thread::native_handle_type'))
- [BUG] 1.2.0 alpha: diff not update, export not add new column HOT 4
- [BUG] 1.2.0-alpha: Markdown export issue when table has a comment HOT 1
- fatal error: ui_messagebox.h: No such file or directory on windows compilation HOT 3
- Make fails on Windows
- [BUG] Crash when creating a trigger to a many-to-many generated table HOT 2
- Constraint Trigger generates invalid SQL
- Installation / Resolving dependencies / Windows user
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgmodeler.