Re: Schema variables - new implementation for Postgres 15
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Sergey Shinderuk <s.shinderuk@postgrespro.ru>,
Tomas Vondra <tomas.vondra@enterprisedb.com>,
Julien Rouhaud <rjuju123@gmail.com>, dean.a.rasheed@gmail.com, er@xs4all.nl,
joel@compiler.org, Dmitry Dolgov <9erthalion6@gmail.com>,
pgsql-hackers@lists.postgresql.org
Date: 2023-03-30T13:40:27Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Allow underscores in integer and numeric constants.
- faff8f8e47f1 16.0 cited
-
Remove special outfuncs/readfuncs handling of RangeVar.catalogname.
- 3cece34be842 16.0 cited
-
Remove extra space from dumped ALTER DEFAULT PRIVILEGES.
- 2af33369e794 16.0 cited
-
Create FKs properly when attaching table as partition
- b0284bfb1db5 16.0 cited
-
psql: improve tab-complete's handling of variant SQL names.
- 02b8048ba5dc 15.0 cited
On 30.03.23 10:49, Pavel Stehule wrote: > If I reorganize the patch to the following structure, can be it useful > for you? > > 1. really basic functionality (no temporary variables, no def > expressions, no memory cleaning) > SELECT variable > LET should be supported + doc, + related tests. > > 2. support for temporary variables (session, transaction scope), > memory cleaning at the end of transaction > > 3. PL/pgSQL support > 4. pg_dump > 5. shadowing warning > 6. ... others ... That seems like an ok approach. The pg_dump support should probably go into the first patch, so it's self-contained.