Re: BUG #16702: inline code and function : when use dynamic name for rowtype, there is some bug!

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "digoal(at)126(dot)com" <digoal(at)126(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #16702: inline code and function : when use dynamic name for rowtype, there is some bug!
Date: 2020-11-05 14:15:45
Message-ID: CAKFQuwb66ajp6rTk8hJc+jiaQM08321+RkEkwnuc8o290CAtjA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wednesday, November 4, 2020, PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 16702
> Logged by: Zhou Digoal
> Email address: digoal(at)126(dot)com
> PostgreSQL version: 12.4
> Operating system: CentOS 7.7 x64
> Description:
>
> postgresql 12, when i use dynamic name for rowtype, there is some bug!
>
> b y%rowtype;
>
>
Rowtype gets attached to an identifier, which must also be a relation. In
PostgreSQL, identifiers cannot be variable.

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2020-11-05 15:00:28 Re: BUG #16703: pg-dump fails to process recursive view definition
Previous Message Wolfgang Walther 2020-11-05 14:09:32 Re: Wrong result for comparing ROW(...) with IS NOT NULL