pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bupp Phillips <hello@noname.com>
To: pgsql-bugs@postgresql.org
Subject: Re: session variable
Date: Mon, 1 Sep 2003 18:28:47 -0700
Message-ID: <bj0rnu$13q8$1@news.hub.org> (raw)
References: <200309011811.37135.sad@bankir.ru>
	<200309011657.h81Gva817128@candle.pha.pa.us>

Could you possible have some type of  variable (preferably the Transaction
ID) that can identify an individual process?

If something like this already exist, then disregard this post.

"Bruce Momjian" <pgman@candle.pha.pa.us> wrote in message
news:200309011657.h81Gva817128@candle.pha.pa.us...
> sad wrote:
> > Good day
> >
> > is it possible to define user variables in session ?
> > If not then is it planned to implement ?
> > or it is principially impossible in PosqtgreSQL
>
> psql has variables, but in general we don't support session varibles.
> You could create a temp table and put a value in there easily.
>
> -- 
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania
19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>





view thread (12+ messages)  latest in thread

Message-ID: <bj0rnu$13q8$1@news.hub.org>
Permalink:  ../bj0rnu$13q8$1@news.hub.org/
Also on:    postgresql.org/message-id/bj0rnu$13q8$1@news.hub.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: hello@noname.com, pgsql-bugs@postgresql.org
  Subject: Re: session variable
  In-Reply-To: <bj0rnu$13q8$1@news.hub.org>

* 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