GeezerVison is showing github.com — Foreign Table Module new functionality for PG 11 and above (RM #1759) · Issue #640 · pgadmin-org/pgadmin4
Foreign Table Module new functionality for PG 11 and above (RM #1759) #640DescriptionIssue migrated from Redmine: https://redmine.postgresql.org/issues/1759
Originally created by Karen Blatchley at 2016-09-27 11:55:51 UTC.
New functionality added in PG 11 for this module as below:
- ALTER [ COLUMN ] col_name SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN }
- DISABLE TRIGGER [ trigger_name | ALL | USER ]
- ENABLE TRIGGER [ trigger_name | ALL | USER ]
- ENABLE REPLICA TRIGGER trigger_name
- ENABLE ALWAYS TRIGGER trigger_name
- SET WITH OIDS
- SET WITHOUT OIDS
To add this functionality we need to add Columns, Triggers and Constraints as separate Nodes under the Foreign Table Node. Activitydpage commented on Apr 13, 2018 ContributorAuthor More actions changed the title [-]Foreign Table Module new functionality for PG 9.5 and above (RM #1759)[/-] [+]Foreign Table Module new functionality for PG 11 and above (RM #1759)[/+] on Aug 11, 2023pravesh-sharma commented on Oct 10, 2023 Found below issues after testing:-
- Create a foreign table with a column set column constraint GENERATED with the expression check SQL tab no SQL visible for constraint.
- Column constraint SQL is not correct in the table SQL tab, but it is correct in the column SQL tab. (Create a foreign table with one generated column, check the SQL tab. The default keyword is added)
- If we change column storage, its SQL is not visible in the table SQL tab.
- Select a foreign table node and go to Object -> Triggers no option is enabled. The same is working on a normal table (the context menu option for triggers is also not available in the foreign table).
- Can not delete a column from an already created foreign table.
pravesh-sharma commented on Oct 11, 2023 Tested on the latest source code feature is working as expected and all the issues reported have been fixed.
Env-
OS - macOS Ventura 13.6
Mode - Desktop
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|