Re: PL/pgSQL: Incomplete item Allow handling of %TYPE arrays, e.g. tab.col%TYPE[]
Pavel Stehule <pavel.stehule@gmail.com>
From: Pavel Stehule <pavel.stehule@gmail.com>
To: Quan Zongliang <quanzongliang@yeah.net>
Cc: Daniel Gustafsson <daniel@yesql.se>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2023-10-17T18:04:34Z
Lists: pgsql-hackers
Hi > Isn't this code a little ugly? > > > > > I propose syntax xxx.yyy%ELEMENTTYPE and xxx%ELEMENTTYPE > > > > What do you think about it? > No other relational database can be found with such an implementation. > But it seems like a good idea. It can bring more convenience to write > stored procedure. > No other databases support arrays :-) Regards Pavel > > > > Regards > > > > Pavel > > > > > > > > > > -- > > > Daniel Gustafsson > > > > > > > > > > > > >
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Clean up some edge cases in plpgsql's %TYPE parsing.
- 43b46aae12b2 17.0 landed
-
In plpgsql, allow %TYPE and %ROWTYPE to be followed by array decoration.
- 5e8674dc8392 17.0 landed