Actually it's only the views that have this problem. The funcitons have kept the original table name which is now the name of the view.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных