Custom session variables? - Mailing list pgsql-general

From Adam Rich
Subject Custom session variables?
Date
Msg-id 046801c75d04$731a6330$6400a8c0@dualcore
Whole thread Raw
Responses Re: Custom session variables?  (Kenneth Downs <ken@secdat.com>)
Re: Custom session variables?  (David Fetter <david@fetter.org>)
List 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 ?











pgsql-general by date:

Previous
From: clark@knowideas.com
Date:
Subject: How Can I set a non standard date format?
Next
From: "Joshua D. Drake"
Date:
Subject: Re: [HACKERS] WITH/RECURSIVE plans