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

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: [GENERAL] Does a view not define a composite type?
Дата
Msg-id CAKFQuwZ=Pr-Y89A6EJVTxTV5xfymJ4XV1_vwp4HaxkPCR0NxOg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Does a view not define a composite type?  (Guyren Howe <guyren@gmail.com>)
Список pgsql-general
On Sunday, April 23, 2017, Guyren Howe <guyren@gmail.com> wrote:

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.

nm; it appears that the quotes were mucking things up.

For the audience - you don't quote the period separating the schema and object. If you do you just get a single object named that and the search path is used to find it.

David J. 

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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] pg_basebackup issue
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [GENERAL] Protocol 2 and query parameters support