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

From David G. Johnston
Subject Re: BUG #16702: inline code and function : when use dynamic name for rowtype, there is some bug!
Date
Msg-id CAKFQuwb66ajp6rTk8hJc+jiaQM08321+RkEkwnuc8o290CAtjA@mail.gmail.com
Whole thread Raw
In response to BUG #16702: inline code and function : when use dynamic name for rowtype, there is some bug!  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re:Re: BUG #16702: inline code and function : when use dynamic name for rowtype, there is some bug!
List pgsql-bugs
On Wednesday, November 4, 2020, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      16702
Logged by:          Zhou Digoal
Email address:      digoal@126.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.
 

pgsql-bugs by date:

Previous
From: Wolfgang Walther
Date:
Subject: Re: Wrong result for comparing ROW(...) with IS NOT NULL
Next
From: Tom Lane
Date:
Subject: Re: BUG #16703: pg-dump fails to process recursive view definition