bdr: Fix typo in dbcache leading to cache invalidation not working.
authorAndres Freund <andres@anarazel.de>
Mon, 9 Feb 2015 02:28:08 +0000 (03:28 +0100)
committerAndres Freund <andres@anarazel.de>
Thu, 12 Feb 2015 09:16:59 +0000 (10:16 +0100)
bdr_label.c

index c698238a179089e001ce614ab56e1ad9f8e8da0d..8558d7c422a4957e6312a74d4499da204868f430 100644 (file)
@@ -62,7 +62,7 @@ bdr_object_relabel(const ObjectAddress *object, const char *seclabel)
                                               get_database_name(object->objectId));
 
            /* ensure bdr_dbcache.c is coherent */
-           CacheInvalidateCatalog(DATABASEOID);
+           CacheInvalidateCatalog(DatabaseRelationId);
 
            bdr_parse_database_options(seclabel, NULL);
            break;