Alessandro Pasotti
3a2b8f889a
Optimize column information
2020-12-21 11:36:47 +01:00
Matthias Kuhn
bcbf71ea2f
Merge pull request #39947 from m-kuhn/db_mgr_error
...
[db manager] Show error messages directly in place
2020-11-29 20:33:43 +01:00
Matthias Kuhn
2a30091f2c
Remove unused import
2020-11-25 20:44:16 +01:00
Matthias Kuhn
2b6eb652a4
Use Scintilla for word wrap
2020-11-25 20:42:30 +01:00
Alessandro Pasotti
6cbbf5ebd1
DB manager: PG read enum value for sslmode
...
Fixes #38245
2020-11-16 13:13:21 +10:00
Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10:00
Matthias Kuhn
0a0d27c980
[db manager] Show error messages directly in place
...
The old behavior was to open up a new modal dialog. Each time way to small to read anything
2020-11-10 23:02:37 +01:00
Nyall Dawson
8c623b268e
Revert "DB manager: PG read enum value for sslmode"
...
This reverts commit 26e9ec98e76591286576d2dde098578877bef9c0.
It results in unfixable crashes on many platforms, likely due to some
issue in sip itself
Fixes #38393 , reopens #38245
The original bug (being asked twice for credentials) is preferable
over a hard crash
2020-10-23 08:22:15 +10:00
Alessandro Pasotti
eb3c78d12d
DB manager fix add comment while creating table
...
Fixes #38394
2020-09-25 10:56:13 +02:00
Alessandro Pasotti
3b6178ad3b
Merge pull request #38981 from elpaso/bugfix-gh38975-and-other-db-manager-issues
...
Bugfix gh38975 and other db manager issues
2020-09-24 18:42:56 +02:00
Alessandro Pasotti
871f534ef9
Fix PG db-manager rename schema
...
Fixes #38998
2020-09-24 14:23:26 +02:00
Alessandro Pasotti
9880a751a9
DB manager Fix SHOW in PG queries
...
Fixes #8975
2020-09-23 15:14:04 +02:00
Alessandro Pasotti
063b8daab3
Merge pull request #38940 from elpaso/bugfix-gh38092-executesql-feedback-followup
...
Be smart when adding limit: followup #8092
2020-09-22 11:32:27 +02:00
Alessandro Pasotti
ef02c54252
Be smart when adding limit: followup #8092
2020-09-22 09:26:13 +02:00
Juergen E. Fischer
a15fff158a
Translation string fix
2020-09-22 09:12:15 +02:00
Alessandro Pasotti
6d866e3341
Address PR comments
2020-09-21 14:02:24 +02:00
Alessandro Pasotti
2dfc072fe7
Spellchecker, how picky you are
2020-09-19 11:30:55 +02:00
Alessandro Pasotti
d54c3101ae
Add feedback to executeSql
...
Fixes #38092 by adding an optional QgsFeedback argument to
the executeSql method and by implementing the PQCancel
method in the PG provider internals.
While the cancellation works well for all supported provider while
fetching results in the loop, the cancellation of a running query is now
implemented for the postgres provider connection only because the GPKG
and GDAL both rely on GDALDatasetExecuteSQL which cannot be interrupted.
This PR also introduce a few optimizations in the PG DB-Manager
code that should probably fix also other "slowness" issues that
were reported after 3.x during PG query execution.
A small UX change in th SQL dialog makes it evident to the user that
a cancellation request has been sent to the backend: the button text
is changed to "Cancellation requested, please wait..." so that for
provider connections that are not able to interrupt the running query
and must wait for the fetching loop to exit from the exeuteSql call
the user knows that something is happening and that a cancellation
request has been successfully sent.
2020-09-19 11:15:41 +02:00
Matthias Kuhn
e4a767a39a
Remove "Update options" button
...
It's hard to guess for a user what the button does.
And easy to achieve the same by changing the layer in the dropdown
2020-09-02 08:43:26 +10:00
Alessandro Pasotti
26e9ec98e7
DB manager: PG read enum value for sslmode
...
Fixes #38245
2020-08-13 12:48:02 +02:00
Ludovic
6247cde584
svg file reduced with svgcleaner
2020-07-07 13:32:51 +02:00
Alessandro Pasotti
21f6f576b9
Fix DB manager date time display in SQL window
...
Fixes #35140
2020-06-09 08:35:31 +10:00
nirvn
291ba7f2dc
{Qgis,QGis} -> QGIS
2020-06-06 17:45:43 +07:00
nirvn
341b3d8c20
[dbmanager] Qgis -> QGIS
2020-06-06 17:45:43 +07:00
Matthias Kuhn
9729a43df7
Merge pull request #36828 from m-kuhn/followup_36823
...
Address review comment from #36823
2020-05-30 11:25:20 +02:00
Matthias Kuhn
ffc5033976
Merge pull request #36827 from m-kuhn/win_newlines
...
Fix windows newlines replacement in db manager query layer
2020-05-30 11:24:40 +02:00
Matthias Kuhn
b1307d241c
Address review comment from #36823
2020-05-29 16:29:46 +02:00
Matthias Kuhn
d8fa7e2df4
Fix windows newlines replacement in db manager query layer
...
Fixes #36825
2020-05-29 15:50:09 +02:00
Alessandro Pasotti
dc2ff12c2b
DB Manager: remove semicolon from SQL window queries
...
Partial fix for #36205
2020-05-29 12:38:45 +02:00
Juergen E. Fischer
b1edb5e70c
test_defwindowtitle.sh: also check Dialog
2020-05-16 20:55:59 +02:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10:00
Alexander Bruy
8e2a9d5797
Merge pull request #36232 from alexbruy/close-prompt
...
prompt before closing SQL editor tabs with unsaved changes (fix #14636 )
2020-05-06 19:17:10 +03:00
Alexander Bruy
bba874cd42
prompt before closing SQL editor tabs with unsaved changes ( fix #14636 )
2020-05-06 12:49:18 +03:00
Matthias Kuhn
0afe134076
Noqa
2020-05-05 23:43:27 +02:00
Matthias Kuhn
9eae0caa09
Add missing imports
2020-05-05 22:39:16 +02:00
Matthias Kuhn
a7e0831dcf
Code style
2020-05-05 22:38:37 +02:00
José de Paula Rodrigues Neto Assis
304a3d9509
Comment clarifying query against pg_catalog
2020-04-26 15:02:43 -03:00
José de Paula Rodrigues Neto Assis
689bcc6020
Handle CONSTRAINT TRIGGER on DB Manager/PostgreSQL.
...
Fixes #35967
2020-04-24 11:27:43 -03:00
Long Huan
f3c8a27743
Update CMakeLists.txt
2020-04-24 14:46:06 +10:00
Long Huan
70eccf30ac
SET CMAKE_AUTORCC ON
2020-04-24 14:46:06 +10:00
Alexander Bruy
88a9bea48a
add missed comma
2020-04-20 09:34:26 +03:00
Alexander Bruy
9a6b0f58f5
[dbmanager] syntax highlighting for PostGIS raster fucntions ( fix #16010 )
2020-04-20 09:28:17 +10:00
Martin Dobias
53075848ce
Merge pull request #35341 from wonder-sk/vector-tile-layer
...
[FEATURE] Vector tile layer - part 1
2020-04-02 16:06:30 +02:00
Juergen E. Fischer
fd036d6d5e
transifex issue: exclude keywords from db manager query builder translation
2020-03-31 14:49:44 +02:00
Martin Dobias
5ec1890643
Moved to proper QgsMapLayer subclass + icon + optional tile borders
2020-03-27 12:08:40 +01:00
Alexander Bruy
c5841c34fd
Merge pull request #33910 from alexbruy/dbmanager-import-clear
...
[dbmanager] clear create table dialog on succes (fix #25535 )
2020-03-26 15:26:35 +02:00
Sandro Santilli
b2af13bdcc
[DBManager] Use ST_EstimatedExtent with newer PostGIS
...
Avoids errors with PostGIS 3.0+ ("st_estimated_extent" does not exist
anymore with that version).
2020-03-17 20:36:13 +01:00
Alexander Bruy
bedc2d9378
[dbmanager] clear create table dialog on succes ( fix #25535 )
2020-03-13 08:56:51 +02:00
Even Rouault
ab1755c6a2
Merge pull request #34795 from jgrocha/fix-db-manager-extent-to-string
...
Fix TypeError when displaying Postgis layers extent
2020-03-11 19:45:02 +01:00
Raul Bezerra Barbosa
7fe174266d
fixes #34774 - python 2to3 related bug
2020-03-11 18:09:38 +01:00