Re: Session identifier

From: "Mihai Gheorghiu" <tanethq(at)earthlink(dot)net>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Session identifier
Date: 2001-10-10 20:47:10
Message-ID: 001201c151cc$bf7e7ac0$6e646464@New6.Travel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I want to design some (a significant number of) views able to select records
from various tables for, say, current_client_account_number, which I would
like to store/set in a table (not in a variable). Creating a temp table for
storing these current_client_account_number would not help, because any
pre-designed view will not see the temp table created by the user session.
The reason why I want to design these views is that I want to design rules
to deal with updates/inserts, which would be the only objects that users
will have access to.
I need the PG session ID and not the current user, because the same user may
have more than one session, from different machines or frontends.
Any suggestions?

-----Original Message-----
From: Brett W. McCoy <bmccoy(at)chapelperilous(dot)net>
To: Mihai Gheorghiu <tanethq(at)earthlink(dot)net>
Cc: pgsql-general(at)postgresql(dot)org <pgsql-general(at)postgresql(dot)org>
Date: Wednesday, October 10, 2001 11:16 AM
Subject: Re: [GENERAL] Session identifier

>On Wed, 10 Oct 2001, Mihai Gheorghiu wrote:
>
>> Is there anything like a session ID? How can I read it?
>> I want to store it in a table together with some other data.
>
>Session ID for use with what? This is something best handled by your
>client application (like with Apache::Session:DBI).
>
>-- Brett
> http://www.chapelperilous.net/
>------------------------------------------------------------------------
>"Probably the best operating system in the world is the [operating system]
> made for the PDP-11 by Bell Laboratories." - Ted Nelson, October 1977
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

Browse pgsql-general by date

  From Date Subject
Next Message Mitch Vincent 2001-10-10 20:51:34 Re: VACUUM, 24/7 availability and 7.2
Previous Message Rich Shepard 2001-10-10 20:45:20 Re: A tool for making console/text data enrty/display