You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tables need to be represented within the application for further analysis and eventually change SQL entries
Feature
The table class is to be filled from Postgres system tables.
NB!
Function to return Option of the table class, in case the table does not exist (then None is returned)
Hint
This is for functions, but query or table won't be that different.
SELECTn.nspname,
A.rolname,
T.typnameAS returntype,
p.*FROMpg_catalog.pg_namespace n JOINpg_catalog.pg_proc p ONp.pronamespace=n.oidJOINpg_catalog.pg_authid A ONp.proowner=A.oidJOINpg_catalog.pg_type T ONp.prorettype=T.oidWHEREn.nspname NOT IN ('public', 'pg_catalog', 'pg_toast', 'information_schema') ANDp.prokind='f'ORDER BYn.nspname, p.proname
* #13: Creating table class from Postgres system files
* added the ability to extract table info from postgres system tables
* update of .gitignore
* headers fix
Background
Tables need to be represented within the application for further analysis and eventually change SQL entries
Feature
The table class is to be filled from Postgres system tables.
NB!
Function to return
Option
of the table class, in case the table does not exist (thenNone
is returned)Hint
This is for functions, but query or table won't be that different.
Depends on AbsaOSS/fa-db#8`2
The text was updated successfully, but these errors were encountered: