Does Creating Temporary table in a function and NOT dropping them affects the performance of the database?
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных