GNOME Bugzilla – Bug 589822
MetaStore: Table-only update fails after adding field to table with capital letters
Last modified: 2009-08-25 12:55:18 UTC
This test case shows that gda_connection_update_meta_store() fails, when specifying that only the meta data for a specific table should be updated, after adding a field to that table, if the table has a name such as "CapitalTest". These warnings are printed on the terminal: SUGGEST META UPDATE Returned FALSE: constraint failed SUGGEST META UPDATE Returned FALSE: constraint failed And a GdaServerOperationError GError is returned, with the message "constraint failed". This is with PostgreSQL. SQLite does not seem to have this problem.
Created attachment 139256 [details] gda_capital_fields_meta_update_fails.c
(In reply to comment #0) > And a GdaServerOperationError GError is returned, with the message "constraint > failed". I mean, a GdaServerProviderError.
Vivien, do you have any idea what might be causing this? I'd have to do a full (slow) metastore update in Glom to workaround this bug.
Have you checked with the latest master and/or LIBGDA_4.0 branches? It works for me here.
Yes, that test case seems to work now (tested with master). Thanks. I now have some other new meta store update problems in Glom instead, but I'll investigate that separately.