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: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-11-24T05:00:42Z
Lists: pgsql-hackers
Attachments
- v20231124-0001-support-of-syntax-type-and-rowtype.patch (text/x-patch) patch v20231124-0001
pá 24. 11. 2023 v 2:12 odesílatel Quan Zongliang <quanzongliang@yeah.net> napsal: > > > On 2023/11/24 03:39, Pavel Stehule wrote: > > > > > I modified the documentation a little bit - we don't need to extra > > propose SQL array syntax, I think. > > I rewrote regress tests - we don't need to test unsupported > > functionality (related to RECORD). > > > > - all tests passed > > > I wrote two examples of errors: > user_id users.user_id%ROWTYPE[]; > user_id users.user_id%ROWTYPE ARRAY[4][3]; > there were more issues in this part - the name "user_id" is a bad name for a composite variable. I renamed it. + I wrote a test related to usage type without array support. Now, I think so this simple patch is ready for committers Regards Pavel > Fixed. > > > Regards > > > > Pavel > > > > > > > > > > Regards > > > > > > Pavel > >
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