GNOME Bugzilla – Bug 670859
MetaStore update doesn't work
Last modified: 2018-09-21 13:46:17 UTC
Update meta store for _schemata and _key_column_usages fails. Reproduce (using Python): from gi.repositoy import Gda c = Gda.Connection.open_from_string ("PostgreSQL", "DB_NAME=test", None, Gda.ConnectionOptions.NONE) ctx = Gda.MetaContext () ctx.set_table ("_schemata") c.update_meta_store (ctx)
(In reply to comment #0) > Update meta store for _schemata and _key_column_usages fails. > > Reproduce (using Python): > > from gi.repositoy import Gda > c = Gda.Connection.open_from_string ("PostgreSQL", "DB_NAME=test", None, > Gda.ConnectionOptions.NONE) > ctx = Gda.MetaContext () > ctx.set_table ("_schemata") > c.update_meta_store (ctx) The problem is for table _information_schema_catalog_name, the code will fail with it.
Is this what you see too: Bug #683162 ? If not, do you see some other warnings or GError messages?
I have different warning/errors: Testing using bug report's Python script I have these errors: SUGGEST META UPDATE Returned FALSE: Meta update error SUGGEST META UPDATE Returned FALSE: Meta update error SUGGEST META UPDATE Returned FALSE: Meta update error Traceback (most recent call last):
+ Trace 230792
c.update_meta_store (ctx)
return info.invoke(*args, **kwargs)
gda_meta_context_update_meta_store () prints these messages and return a 'Meta update error' GError message. SUGGEST META UPDATE Returned FALSE: Meta update error SUGGEST META UPDATE Returned FALSE: Meta update error SUGGEST META UPDATE Returned FALSE: Meta update error
Created attachment 223380 [details] Python test case Just use python TheScript.py to run it.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgda/issues/63.