Re: Fwd: Re: proposal: schema variables - Mailing list pgsql-hackers

From Marcos Pegoraro
Subject Re: Fwd: Re: proposal: schema variables
Date
Msg-id CAB-JLwZG6rPK6dft0Pv1EXp2_C2JSWm4jz4WDeMf-_s6n5F32A@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: Re: proposal: schema variables  (Bruce Momjian <bruce@momjian.us>)
List pgsql-hackers
> pá 17. 1. 2025 v 16:35 odesílatel Bruce Momjian <bruce@momjian.us> napsal:

Okay, good summary.  Now, can people give feedback that they would want
this committed to PostgreSQL?

I would love to have this functionality as soon as possible. 
I already mentioned to Pavel that he did something very big, and consequently difficult for anyone to commit, because these patches change a lot of things in a lot of places.
Of course we want as much as possible, but who knows if a first, leaner version was committed, with just session variables, so nothing related to schemas, catalogs, grants,  dumps, etc, just a variable in memory, only that. 
It would be really cool, and certainly easier for a committer to agree with the code. And if the first commit occurs, others can follow.

Remember that some people don't use PSQL, so they don't have \set
Even \set variables are not typed, so CREATE VARIABLE T AS DOMAIN_NUMBER_BETWEEN_1_AND_5 is really cool.

regards
Marcos

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Purpose of wal_init_zero
Next
From: Marcos Pegoraro
Date:
Subject: Re: Fwd: Re: proposal: schema variables