Comments (3)
I didn't test it but I suspect that the error is happening because you are using the escaped string E'...'
, see here:
https://www.postgresql.org/docs/16/sql-syntax-lexical.html
I think you have to replace the ''_''
by \'_\'
. The escaped string in comments is the default behavior but it can be toggled in general settings.
from pgmodeler.
No.
Escaping is the sole responsibility of the app. It did that correctly in this case - replacing original single quote with two single quotes.
The generated SQL form is gibberish (see "ON IS") - it left out the table name (which is mandated by the spec).
from pgmodeler.
The generated SQL form is gibberish (see "ON IS") - it left out the table name (which is mandated by the spec).
You're right. I didn't notice the absence of a table name after the ON keyword.
from pgmodeler.
Related Issues (20)
- Please add possibility to use custom data types HOT 2
- "Converting" a relationship shouldn't lose the relationships layer information.
- Diff breaks with error if custom collation exists at database side (~pg16). HOT 1
- Crash while trying to delete an table object
- After swapping IDs pgmodeler crashed while saving; .sdbm unrecoverable HOT 3
- Importing views with LOCAL CHECK option does not seem to retain the "LOCAL CHECK" syntax HOT 2
- "Import objects to the working model" should not reset table positions HOT 7
- 1.1.0 policy must have new line or parse will get error, after using space workaround, fix model cannot create file HOT 2
- Materialized View recreation during Fix Model adds extra semi-colon (Upgrading from 1.0.5 to 1.1.1) HOT 2
- When Exporting SQL, Allow User to Split by creating 1 SQL File for each Specific Database Object Types
- Multiple build errors in `src/sampleplugin.h`: `Undefined interface` & `expected class-name before ‘,’ token`
- FileDirectoryNotAccessed: pgmodeler is unable to locate/load any needed resource file
- How to use on Debian 12? HOT 17
- Table and attribute display bug HOT 2
- Web site installation page is down HOT 2
- pgmodeler 1.1.1 crashes after diff
- Automatic name disambiguation not working properly
- No Qt SVG while Building PgModeler on windows 11
- Add an action in model to move objects to a new layer
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.