Alecaddd / sequeler

SQL Client built in Vala
GNU General Public License v3.0
801 stars 66 forks source link

Common table expressions (CTE, WITH queries) fail to execute for postgresql #386

Open mildred opened 7 months ago

mildred commented 7 months ago

I'm getting errors processing a simple CTE query for postgresql

WITH a AS MATERIALIZED (SELECT 1) SELECT 2;

The MATERIALIZED is a postgresql extensions but even without it fails. In any case it should not matter.

The error is "Unable to process Query!" in the status bar and an error in red in the results pane that reads "Statement is a selection statement".

2023-11-08_11-19

I'm running the flatpak version com.github.alecaddd.sequeler 0.8.2