From: stuff@opensourceonline.com
To: pgsql-sql@postgresql.org
Subject: oracle v$session equivalent in postgresql
Date: Fri, 5 Nov 2004 08:27:58 -0700
Message-ID: <20041105152808.GAFG3261.fed1rmmtao07.cox.net@CYGNUS> (raw)
I'm looking for the equivalent in postgresql to the v$session variables in
Oracle. In particular, I need to convert the following statement:
select s.program, s.machine into :New.app_name,:New.comp_name from v$session
s where s.audsid=userenv('SESSIONID');
Any help appreciated
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: stuff@opensourceonline.com
Subject: Re: oracle v$session equivalent in postgresql
In-Reply-To: <20041105152808.GAFG3261.fed1rmmtao07.cox.net@CYGNUS>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox