Thread: pgAdmin III commit: Fix lots of bugs in foreign table support
Fix lots of bugs in foreign table support The load of existing foreign tables didn't work well. The contents of ftoptions in pg_foreign_table strangely isn't compatible with the CREATE FOREIGN TABLE syntax, so I had to add a function to parse the contents of this field. Contents of the types widgets weren't set to blank once a type was added. And the use of the edit grid window started with a big crash: segmentation fault. Per a report from Thom Brown. Branch ------ master Details ------- http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=dee63a2176031dd451c7f58f70d36ae052c9ea6b Modified Files -------------- pgadmin/dlg/dlgForeignTable.cpp | 46 +++++++-------- pgadmin/frm/frmEditGrid.cpp | 8 +++ pgadmin/include/schema/pgForeignTable.h | 10 ++- pgadmin/include/utils/misc.h | 1 + pgadmin/schema/pgForeignTable.cpp | 92 +++++++++++++++++++++++++++++- 5 files changed, 125 insertions(+), 32 deletions(-)