pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Pflug <pgadmin@pse-consulting.de>
To: sad <sad@bankir.ru>
Cc: pgsql-bugs@postgresql.org
Subject: Re: session variable
Date: Tue, 02 Sep 2003 14:40:48 +0200
Message-ID: <3F548FD0.5070600@pse-consulting.de> (raw)
In-Reply-To: <200309021629.26156.sad@bankir.ru>
References: <200309011657.h81Gva817128@candle.pha.pa.us>
	<200309021629.26156.sad@bankir.ru>

sad wrote:

>>>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.
>>    
>>
>
>that's ok, unless i need to access it in a trigger.
>
No problem to use  a temp table in a trigger (which is local to the 
session), I do so myself. Still, session variables would be nice, making 
coding a little bit more comfortable.

>
>where may i ask a programming and perfomance question?
>i think mailing such questions to "BUGS" is not a good idea. 
>
Just use the pgsql-sql and pgsql-performance mailing lists.


Regards,
Andreas





view thread (12+ messages)  latest in thread

Message-ID: <3F548FD0.5070600@pse-consulting.de>
Permalink:  ../3F548FD0.5070600@pse-consulting.de/
Also on:    postgresql.org/message-id/3F548FD0.5070600@pse-consulting.de

 · 

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: pgadmin@pse-consulting.de, sad@bankir.ru, pgsql-bugs@postgresql.org
  Subject: Re: session variable
  In-Reply-To: <3F548FD0.5070600@pse-consulting.de>

* 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