eelke
38fc939860
cleanup DatabaseWindow.cpp
2021-07-04 20:24:05 +02:00
eelke
f88bb005cc
cleanup ConnectionController
2021-07-04 20:07:20 +02:00
eelke
87cfb84997
Make saving of the entered password work to.toStdString
...
Also when testing a preexisting connection config it will now decode a potential stored password.
2021-07-04 19:33:06 +02:00
eelke
c00a0452d1
Added ability to test the connection in the dialog where the connection details are entered.
2021-07-04 16:45:50 +02:00
eelke
45795333f2
Generate COMMENT IS statements for columns
2021-07-02 20:42:32 +02:00
eelke
5777a9c834
additonal SQL on the columns page
...
After the "all in one" ALTER TABLE ADD COLUMN statement ALTER TABLE ALTER COLUMN statements are listed for
setting the default and the NOT NULL constraint.
2021-07-02 20:06:08 +02:00
eelke
53997f94da
Enable sorting for CRUD
2021-07-02 20:04:34 +02:00
eelke
6d08b40309
When files are dropped on a database window open them as sql files.
2021-06-16 19:20:03 +02:00
eelke
b04b947633
Merge branch 'master' of ssh://gitlab.com:/eelke/pgLab
2021-06-12 07:36:39 +02:00
eelke
ddc163a0ee
Give the tables default sorting
2021-06-12 07:36:24 +02:00
eelke
0da493f1e4
Remove unfinished namespace tab from UI.
2021-06-08 20:37:44 +02:00
Eelke Klein
2ce524276f
use cache for pip
2021-06-04 16:42:51 +00:00
Eelke Klein
6e01010b47
Updated the URL's to match actual location of the pages.
2021-06-04 16:37:33 +00:00
Eelke Klein
19d92c5236
Manual start
2021-06-04 16:35:08 +00:00
eelke
97b24a8bf3
fix must explicitly specify table with oid for older pg versions
2021-04-15 16:27:48 +02:00
eelke
5a70749308
leave out database sizes for databases the user cannot connect to
...
this prevents permissions errors.
2021-04-14 19:40:07 +02:00
eelke
fd5ad9bbf0
On the list of indexes of a table show which were created as part of the creation of a constraint
...
The explicit column is true when the index was manually created
In SQL only a comment is given that the index was implicitly created
2021-04-11 07:56:37 +02:00
eelke
60bbb4c445
Cleanup old seperate server window.
2021-04-10 14:44:10 +02:00
eelke
f0e5488ce0
List of databases and roles moved to a "Server tab" within the database window.
...
Opened by selecting "Inspect Server" from the menu.
2021-04-10 14:27:04 +02:00
eelke
50cd865b1a
Add unsaved changes indication to SQL tabs
2021-04-10 09:49:54 +02:00
eelke
d12fb60af8
When exporting data add a header row
2021-04-10 09:48:48 +02:00
eelke
4c175d8c2c
Added page with the types (no details yet)
2021-04-01 14:58:42 +02:00
eelke
bdef76ed8a
Fix errors on PG 9.5 en 9.6 (maybe other versions to)
...
Closes #68
2021-04-01 14:55:20 +02:00
eelke
9c9e78c54b
Improvement to the ServerWindow
...
- sorting of Roles
- resizeColumns voor zowel databases als roles
- boolean columns now display check mark and cross
2021-03-31 16:06:45 +02:00
eelke
a3ba4d7c98
editCopy in connection manager
...
Allows to edit an existing connection as a new one.
2021-03-31 16:03:34 +02:00
eelke
f21a59e030
Display comments in the list of databases
2021-03-11 06:59:31 +01:00
eelke
2724586f4e
Server window database tab tweaks
...
- Encoding as string instead of id
- Tablespace name instead of id
- Database list sorting enabled
- Database size
2021-03-10 20:49:03 +01:00
eelke
11459e1e12
Show sizes
...
table, index, toast and total size per Table
size of each index
2021-03-10 19:06:40 +01:00
eelke
d6aeef492d
comments on columns
...
Show the comments in the list of columns of a table.
Generate SQL to set them.
2021-03-08 17:23:34 +01:00
eelke
9d58af8cd2
comments on tables
...
Show them in the list of tables.
Genereate SQL to set the comment.
2021-03-08 16:59:13 +01:00
eelke
7fbc828326
misc stuff
2021-03-06 13:15:17 +01:00
eelke
423043d431
Qt6 migration
2021-03-06 13:13:31 +01:00
eelke
87553b2554
fix missing typmod in generated sql
...
ie the max length of a varchar or the scale and precision of a numeric
closes #66
2020-10-15 19:21:44 +02:00
eelke
2faedca137
fix missing when condition
...
closes #65
Most likely didn't work with postgresql 11 and higher
2020-10-15 19:14:03 +02:00
eelke
7e3e9775a4
.gitignore
2020-10-15 19:13:16 +02:00
eelke
7734661d26
missing includes
...
technically it was wrong all the time but it only showed up with newer visual c++ compiler.
2020-10-15 19:12:11 +02:00
eelke
dea76e17c5
ft: Closing windows asks to save queries before closing the window.
...
fix: closetab did incorrectly close when cancel was choosen.
2020-04-04 13:23:43 +02:00
eelke
adb44fc157
THe QueryTool now reconnects when the connection is lost.
2020-04-04 07:49:44 +02:00
eelke
b87f587a40
ASyncDBConnectionThread now reports back when it looses the connection
2020-04-04 07:34:31 +02:00
eelke
d6709a1dea
hash(QString) is now defined by Qt
2020-04-04 07:34:06 +02:00
eelke
23165d77c8
Better handling of empty query's.
2019-12-18 19:35:17 +01:00
eelke
47b3ea83e9
Fix show filename in tab after opening file and make F5 execute shortcut
...
work.
2019-12-03 19:08:13 +01:00
eelke
e53b85bd86
Improved formatting of generated table sql
...
- Removed empty line before first column
- The follow up lines of fkey's are indented
- The closing parentheses is now on a new line
2019-12-01 07:09:18 +01:00
eelke
2c2253f75e
Use (BIG)SERIAL in generated SQL when this was used when column
...
originally defined.
This is recognized by the fact that the column has a dependency on a
sequence. For columns that happen to have a default which uses a pre
exising sequence the dependency is the other way around.
2019-12-01 06:40:11 +01:00
eelke
817a371220
Removed rangechecked_cast was not working as I hoped.
2019-11-30 16:11:12 +01:00
eelke
404d4c856a
range check not working as expected, temporarily disabled
2019-11-25 20:08:19 +01:00
eelke
ec8cec105f
Fix crash when query in query tab returns error
2019-11-20 19:18:51 +01:00
eelke
1df8455af5
Add tab with namespaces (schema's)
2019-11-20 19:09:22 +01:00
eelke
8dd13d103e
Added dependants tab to table page
...
Retrieves all foreignkeys pointing to the current table
and shows the tables they are foreignkeys of.
2019-11-17 10:27:11 +01:00
eelke
b90df1cd77
Correctly handle stop request during async connect.
2019-11-09 12:56:02 +01:00