From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andre Schubert <andre@km3.de>
Cc: pgsql-admin@postgresql.org
Subject: Re: Problems with PGOPTIONS
Date: Wed, 15 Jan 2003 10:01:27 -0500
Message-ID: <4630.1042642887@sss.pgh.pa.us> (raw)
In-Reply-To: <20030115115826.74472714.andre@km3.de>
References: <20030115115826.74472714.andre@km3.de>
Andre Schubert <andre@km3.de> writes:
> I want to enable the collection of STATS_ROW_LEVEL for special backends
> by setting the environment-variable export PGOPTIONS='-c STATS_ROW_LEVEL=ON'.
> After setting this variable i cant connect to my database.
> Everytime the following error occurs:
> Connection to database 'mydb' failed.
> FATAL 1: permission denied
You cannot alter stats_row_level unless you're a superuser (and I think
even that exception doesn't work for PGOPTIONS, because it's processed
before the backend has determined whether you are a superuser). You'd
get the same error if you tried
regression=> set STATS_ROW_LEVEL = on;
ERROR: 'stats_row_level': permission denied
regards, tom lane
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-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, andre@km3.de
Subject: Re: Problems with PGOPTIONS
In-Reply-To: <4630.1042642887@sss.pgh.pa.us>
References: <20030115115826.74472714.andre@km3.de> <4630.1042642887@sss.pgh.pa.us>
* 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