Fix check on test function's arguments The function won't cope with nkinds == 0, it leads to division by zero. It's just a test function though, so this is harmless and there's no need to backport. Author: Yuriy Grigoryev <ju.grigorev@ftdata.ru> Reviewed-by: Sho Ito <i.sho.0628@gmail.com> Discussion: https://www.postgresql.org/message-id/1905e9d709554733b418d06a4806436f@localhost.localdomain Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5f36942fd3196259ad5ad691f5ecbe4ce555ab7c Modified Files -------------- src/test/modules/test_resowner/test_resowner_many.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
pgsql-committers by date:
Соглашаюсь с условиями обработки персональных данных