From 94679ee83a9d93f4d592d4da9635bf197962c960 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Mon, 24 Apr 2017 13:26:28 +0300 Subject: [PATCH] add a comment regarding AccessShareLocks in repack_get_table_and_inheritors() --- lib/repack.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/repack.c b/lib/repack.c index 073969c..6ba7535 100644 --- a/lib/repack.c +++ b/lib/repack.c @@ -1298,6 +1298,7 @@ repack_index_swap(PG_FUNCTION_ARGS) /** * @fn Datum get_table_and_inheritors(PG_FUNCTION_ARGS) * @brief Return array containing Oids of parent table and its children. + * Note that this function does not release relation locks. * * get_table_and_inheritors(table) *