# When to change default in functions specifying rows = 1000

**URL:** <https://forums.percona.com/t/when-to-change-default-in-functions-specifying-rows-1000/12644>\
**Category:** PostgreSQL\
**Tags:** closed-no-reply\
**Created:** [October 20, 2021, 12:37am UTC](https://forums.percona.com/t/when-to-change-default-in-functions-specifying-rows-1000/12644 "2021-10-20T00:37:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![larryh77](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@larryh77](https://forums.percona.com/u/larryh77)\
**Post date:** [October 20, 2021, 12:37am UTC](https://forums.percona.com/t/when-to-change-default-in-functions-specifying-rows-1000/12644/1 "2021-10-20T00:37:41Z")

</div>

What are the ramifications of never changing the “rows = 1000” default in your functions?

What if the function usually returns 50K rows?

What if it usually returns 1 row?
