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.
Соглашаюсь с условиями обработки персональных данных