Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 635C04771AC for ; Wed, 15 Jan 2003 11:33:45 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 4E5614770AD for ; Wed, 15 Jan 2003 11:19: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 h0FGJU5u005307; Wed, 15 Jan 2003 11:19:30 -0500 (EST) To: Andre Schubert Cc: pgsql-admin@postgresql.org Subject: Re: Problems with PGOPTIONS In-reply-to: <20030115160851.71c80478.andre@km3.de> References: <20030115115826.74472714.andre@km3.de> <4630.1042642887@sss.pgh.pa.us> <20030115160851.71c80478.andre@km3.de> Comments: In-reply-to Andre Schubert message dated "Wed, 15 Jan 2003 16:08:51 +0100" Date: Wed, 15 Jan 2003 11:19:29 -0500 Message-ID: <5306.1042647569@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200301/163 X-Sequence-Number: 7005 Andre Schubert writes: > Ok, but is there another way to enable STATS_ROW_LEVEL for a special > backend not connecting as superuser ? No: the code is deliberately designed to prevent that, on the grounds that it'd be a security flaw (non-superusers should not be allowed to hide their activities from the DBA). There's nothing to stop you from making a private version with stats_row_level downgraded to an ordinary unprotected SET variable, though, if that seems more appropriate to your needs. See its entry in src/backend/utils/misc/guc.c and change it from SUSET to USERSET category (from memory; check spelling in src/include/utils/guc.h). regards, tom lane