Re: Schema variables - new implementation for Postgres 15 - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: Schema variables - new implementation for Postgres 15
Date
Msg-id CAFj8pRBKmHBuGpA58cx9Tz6FwN01D_ieX7EvyB+a-+3p5F8q5A@mail.gmail.com
Whole thread Raw
In response to Re: Schema variables - new implementation for Postgres 15  (Gilles Darold <gilles@darold.net>)
List pgsql-hackers

Hi

Great, I also think that this is better to not confuse the user.

    postgres=# CREATE IMMUTABLE VARIABLE var1 AS date NOT NULL;
    ERROR:  IMMUTABLE NOT NULL variable requires default expression

Working as expected. I have moved the patch to "Ready for committers". Thanks for this feature.


Thank you very much

Pavel


-- 
Gilles Darold
http://www.darold.net/

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: PROXY protocol support
Next
From: Jacob Champion
Date:
Subject: Re: [PATCH] test/ssl: rework the sslfiles Makefile target