Custom session variables?

From: "Adam Rich" <adam(dot)r(at)sbcglobal(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Custom session variables?
Date: 2007-03-02 19:53:28
Message-ID: 046801c75d04$731a6330$6400a8c0@dualcore
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Is there any way to define custom variables per session scope?
In oracle, we do this using package variables.

Basically when a user logs into our application, it generates one-time
session information that we want to make available to all the procedures
and triggers, without passing it directly (even if that were possible
with
triggers).

Is inserting/selecting data from temporary tables the only way to
accomplish this ?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2007-03-02 20:00:58 Re: [HACKERS] WITH/RECURSIVE plans
Previous Message clark 2007-03-02 19:20:28 How Can I set a non standard date format?