Re: type bug?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "ml(at)ft-c(dot)de" <ml(at)ft-c(dot)de>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: type bug?
Date: 2021-10-06 06:14:38
Message-ID: CAKFQuwaUbdeXtiQJk9ay9qRb_ij5uf1qQ_se4wVE=xsBNOnNeg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tuesday, October 5, 2021, <ml(at)ft-c(dot)de> wrote:

>
> create function test_xyz3() returns table ( b xyz) as
> $$
> declare
> bb xyz;
> cc xyz;
> begin
> select b, c into bb, cc from test_xyz ;
> return bb ;
> end;
> $$ language plpgsql ;
> -- ------
>
> select * from test_xyz3() ; -- compiling error
>
>
Help others help you by writing out exact error messages (many of us can
answer from just reading code and error messages without needing be able to
execute said code ourselves). I suspect “table test_xyz not found” due to
the typo.

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2021-10-06 06:42:57 Re: type bug?
Previous Message David G. Johnston 2021-10-06 06:10:34 Re: type bug?