Re: proposal: new contrib module - session variables

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: new contrib module - session variables
Date: 2008-06-09 17:09:37
Message-ID: 484D63D1.3020100@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule wrote:
> Hello all,
>
> session variables are missing feature long time. Currently nobody
> works on package or SQL/PSM module implementation so there is some
> gap.Currently best know solution are session variables based on plper
> hash tables or Joe Conway's C implementation.
>
> I propose include Joe's code into contrib set
> http://www.joeconway.com/sessfunc.tar.gz It's important mainly for
> window's users, that has problems with own compilation.
>
> Objections?
>
>

The URL fails, so I can't comment on Joe's work. But I seriously doubt
that any contrib module is really the right way to go about doing
session variables. If we're going to have them then they need to be
properly builtin, and available to all PLs.

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-06-09 17:25:14 Re: Strange issue with GiST index scan taking far too long
Previous Message Robert Treat 2008-06-09 16:37:47 Re: pg_dump restore time and Foreign Keys