Re: proposal: session server side variables

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
Cc: Joe Conway <mail(at)joeconway(dot)com>, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: session server side variables
Date: 2016-12-27 20:55:25
Message-ID: CAFj8pRAQT3NXOCSMosS9F3TVC_4dHzoYg+78Sn=jb9QngoaaPw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2016-12-27 21:38 GMT+01:00 Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
:

>
> On Fri, Dec 23, 2016 at 4:00 PM, Joe Conway <mail(at)joeconway(dot)com> wrote:
> >
> > >> In the long term, What would be the possible scopes?
> > >>
> > >> TRANSACTION, SESSION, PERSISTANT ?
> > >>
> > >> Would some scopes orthogonal (eg SHARED between sessions for a USER
> in a
> > >> DATABASE, SHARED at the cluster level?).
> > >
> > > I have a plan to support TRANSACTION and SESSION scope. Persistent or
> > > shared scope needs much more complex rules, and some specialized
> extensions
> > > will be better.
> >
> >
> > I can see where persistent variables would be very useful though.
> >
>
> Can you talk more about your though??
>
> I'm thinking about PERSISTENT VARIABLES and maybe they can be the redesign
> of our hard coded "reloptions", with the ability to provide users to create
> their own customized. If we think more carefully we already have some
> persistent variables with specialized context: reloptions (hardcoded),
> security labels (local and shared catalog) and comments (local and shared
> catalog). I was clear enough?
>

What is difference from table Values(keys varchar primary key, value text)
? Where is any benefit?

Best regards

Pavel

>
> Regards,
>
> --
> Fabrízio de Royes Mello
> Consultoria/Coaching PostgreSQL
> >> Timbira: http://www.timbira.com.br
> >> Blog: http://fabriziomello.github.io
> >> Linkedin: http://br.linkedin.com/in/fabriziomello
> >> Twitter: http://twitter.com/fabriziomello
> >> Github: http://github.com/fabriziomello
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Seltenreich 2016-12-27 21:01:23 [sqlsmith] Crash reading pg_stat_activity
Previous Message Fabrízio de Royes Mello 2016-12-27 20:38:29 Re: proposal: session server side variables