You can always write:CREATE VIEW cte_view ASWITH cte AS (...)SELECT * FROM cte;And then incorporate that into any queries that require the results of said CTE.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных