From: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
---|---|
To: | Guyren Howe <guyren(at)gmail(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Does a view not define a composite type? |
Date: | 2017-04-24 00:16:22 |
Message-ID: | CAKFQuwZ=Pr-Y89A6EJVTxTV5xfymJ4XV1_vwp4HaxkPCR0NxOg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sunday, April 23, 2017, Guyren Howe <guyren(at)gmail(dot)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.
>
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2017-04-24 00:21:19 | Re: Protocol 2 and query parameters support |
Previous Message | David G. Johnston | 2017-04-24 00:13:22 | Re: pg_basebackup issue |