Commit graph

9 commits

Author SHA1 Message Date
eelke
60fb4ce285 Improve support for declarative partitioning.
Generated SQL for a partition is now correct (atleast for simple cases)
Switched to C++ 20 so the ranges library can be used in this case
to filter unwanted items.
2023-01-18 19:43:12 +01:00
eelke
33319e3461 Fix reading from catalog so that information about declarative partitioning is read correctly
(View and SQL generation still need fixes)
2023-01-07 07:44:33 +01:00
eelke
14b5293dea refactor table sql generation 2022-01-21 18:53:47 +01:00
eelke
3158a4364b Show SQL for database
Also improvements to the SQL for tables and views.
2022-01-20 20:13:56 +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
ead3ce8a8a Show view definition 2019-10-26 13:13:58 +02:00
eelke
4ec4e02411 The SQL tab for a table now also shares the grant/revoke statements for that table (but not yet any column level grants). 2018-12-27 12:07:19 +01:00
eelke
3f337b2cca Added typeName function to PgObject as it might be useful for building generic functions. 2018-12-24 11:31:56 +01: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
Renamed from pglablib/PgClass.cpp (Browse further)