[GENERAL] Does a view not define a composite type?

Поиск
Список
Период
Сортировка
От Guyren Howe
Тема [GENERAL] Does a view not define a composite type?
Дата
Msg-id 02E5459C-DCF1-4C88-A57B-E9CD182BE0DD@gmail.com
обсуждение исходный текст
Ответы Re: [GENERAL] Does a view not define a composite type?
Список pgsql-general
I have a view: “reporting_helpers.customers_by_state_ranked"

I try to define a function with this signature:

CREATE OR REPLACE FUNCTION reporting.formatted_cust_by_state_bold(c "reporting_helpers.customers_by_state_ranked")
    RETURNS "reporting_helpers.customers_by_state_ranked"

I am told “ERROR: type reporting_helpers.customers_by_state_ranked does not exist

I am confused.

В списке pgsql-general по дате отправления: