pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: stuff@opensourceonline.com
To: pgsql-sql@postgresql.org
Subject: oracle v$session equivalent in postgresql
Date: Wed, 3 Nov 2004 13:06:00 -0700
Message-ID: <20041103200604.HPOR22960.fed1rmmtao06.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');

view thread (3+ messages)  latest in thread

Message-ID: <20041103200604.HPOR22960.fed1rmmtao06.cox.net@CYGNUS>
Permalink:  ../20041103200604.HPOR22960.fed1rmmtao06.cox.net@CYGNUS/
Also on:    postgresql.org/message-id/20041103200604.HPOR22960.fed1rmmtao06.cox.net@CYGNUS

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: stuff@opensourceonline.com
  Subject: Re: oracle v$session equivalent in postgresql
  In-Reply-To: <20041103200604.HPOR22960.fed1rmmtao06.cox.net@CYGNUS>
  References: <20041103200604.HPOR22960.fed1rmmtao06.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