Commit graph

20 commits

Author SHA1 Message Date
eelke
60d8f36328 poc Add support for reloading the catalog
Reload works and the column page reacts correctly. Others to be checked
and fixed.
2019-10-06 13:52:45 +02:00
eelke
f0c1035378 Reorganize files in pglablib
The enitities and containers of the catalog now go into catalog subfolder
Models go into model
2018-12-16 11:31:33 +01:00
eelke
57217974f4 New column page
Shows SQL for columns ALTER TABLE ... [ADD|DROP] COLUMN combines a selection
of multiple columns into a single alter table.
Show collation in list of columns.

(order of columns isn't what is should be but that should maybe be fixed
by a generic column selection and ordering mechanism that knows what the
default sort should be)
2018-11-29 20:21:36 +01:00
eelke
73c4cf4790 Rework of catalog objects. Several of them are now inheriting from common
base classes that implement common functionality.
2018-11-25 19:45:06 +01:00
eelke
52011a9842 Updating of detail tabs besides list of tables works correctly again.
Had stopped working because the catalog now behaves a little different,
returning nullptr instead of an invalid element.
2018-11-18 20:24:27 +01:00
eelke
fcb191f2cc Overview of triggers extended with function name and arguments.
Did a lot of refactoring on the catalog to keep things clean.
2018-11-18 19:30:45 +01:00
eelke
634345b38f In the column list show foreign key constraint 2018-11-10 13:36:36 +01:00
eelke
8f4845d4d2 Lot of code for generating code. Working on unit tests. 2018-09-09 21:04:23 +02:00
eelke
f5e9c4b74e Added column number to list of columns of table. 2018-08-05 09:05:56 +02:00
eelke
a99f059b70 Added list of constraints to the tables page.
Last column shows the full textual definition until I have decided on
a better way to visualize the details.
2017-12-30 13:02:40 +01:00
eelke
190a6c04dc Made a start with showing foreignkeys in column list.
Not finished, need to decide what to do with multiple and multi column fkeys.
2017-12-25 10:31:58 +01:00
eelke
8a27a1166f Show name of index in hint of column header for the index of the column tableview. 2017-12-20 20:05:54 +01:00
eelke
23840ce7c5 Cosmetic improvements. 2017-12-19 19:55:12 +01:00
eelke
c324daa75b The global function for getting a typename from an oid now supports passing the typmod of a column.
This is used by the list of columns for a table. Works for char, varchar, text and numeric.
2017-12-19 19:33:22 +01:00
eelke
a69aa401b2 Th default values of columns are now joined with the other column data and displayed in the default column of the column tableview. 2017-12-19 18:57:05 +01:00
eelke
dd0e21afb5 Improved titles of index columns in the list of columns. 2017-12-19 18:16:05 +01:00
eelke
7051ef2efc The oid column is now shown for tables that are "with oids". 2017-12-17 19:54:23 +01:00
eelke
172e2bcd1d In the list of columns displayed for a table a set of columns is appended describing the indexes on the table. 2017-12-17 19:34:28 +01:00
eelke
0b088a2723 Fixed several warnings. 2017-12-16 21:41:46 +01:00
eelke
e9d72d391d PgAttribute loading + ColummnTableModel
Required enchancement to PgContainer to make multifield key work.
2017-12-12 20:13:53 +01:00