From 7dca19d7e08a8c6b9ca69b0f59a0a31d00c31222 Mon Sep 17 00:00:00 2001 From: Dmitry Ivanov Date: Wed, 19 Apr 2017 14:09:30 +0300 Subject: [PATCH] add docs for repack_get_table_and_inheritors() --- lib/repack.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/repack.c b/lib/repack.c index a97b723..930fd56 100644 --- a/lib/repack.c +++ b/lib/repack.c @@ -1294,6 +1294,15 @@ repack_index_swap(PG_FUNCTION_ARGS) PG_RETURN_VOID(); } +/** + * @fn Datum get_table_and_inheritors(PG_FUNCTION_ARGS) + * @brief Return array containing Oids of parent table and its children. + * + * get_table_and_inheritors(table) + * + * @param table parent table. + * @retval regclass[] + */ Datum repack_get_table_and_inheritors(PG_FUNCTION_ARGS) {