Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 22A69476612 for ; Wed, 15 Jan 2003 10:09:06 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 3D9E947648A for ; Wed, 15 Jan 2003 10:01:27 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h0FF1R5u004631; Wed, 15 Jan 2003 10:01:27 -0500 (EST) To: Andre Schubert Cc: pgsql-admin@postgresql.org Subject: Re: Problems with PGOPTIONS In-reply-to: <20030115115826.74472714.andre@km3.de> References: <20030115115826.74472714.andre@km3.de> Comments: In-reply-to Andre Schubert message dated "Wed, 15 Jan 2003 11:58:26 +0100" Date: Wed, 15 Jan 2003 10:01:27 -0500 Message-ID: <4630.1042642887@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/159 X-Sequence-Number: 7001 Andre Schubert 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