pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: Chris Mair <list@1006.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: lowering priority automatically at connection
Date: Tue, 20 Jun 2006 17:12:16 +0200
Message-ID: <44981050.4050109@logix-tt.com> (raw)
In-Reply-To: <1148573784.6017.26.camel@dell.home.lan>
References: <1148573784.6017.26.camel@dell.home.lan>

Hi, Chris,

Chris Mair wrote:

> Now I was wondering whether one could have a
>   SELECT pg_setpriority(10);
> executed automatically each time a certain user
> connects (not necessarily using psql)?
> 
> Any ideas if and how this might be possible?

When using Java, most Datasource implementations (e. G. the JBoss one)
allow to specify SQL statements that are executed on connection init.

Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



view thread (7+ messages)

Message-ID: <44981050.4050109@logix-tt.com>
Permalink:  ../44981050.4050109@logix-tt.com/
Also on:    postgresql.org/message-id/44981050.4050109@logix-tt.com

 · 

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-performance@postgresql.org
  Cc: schabi@logix-tt.com, list@1006.org
  Subject: Re: lowering priority automatically at connection
  In-Reply-To: <44981050.4050109@logix-tt.com>

* 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