Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Patches > Re: [HACKERS] U...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3873 of 4091
Post > Topic >>

Re: [HACKERS] Userset logging

by simon@[EMAIL PROTECTED] (Simon Riggs) Jul 8, 2008 at 08:36 AM

--=-/lDk4JAZiBWJYz8rcHyp
Content-Type: text/plain
Content-Transfer-Encoding: 7bit


On Mon, 2008-07-07 at 16:13 +0100, Simon Riggs wrote:
> I notice log_temp_files is a PGC_USERSET parameter, which is out of step
> with our current thinking on who is allowed to initiate logging.
> 
> Is there a rationale for this? Or should we set this to PGC_SUSET like
> all the other logging functions?

Patch enclosed.

-- 
 Simon Riggs           www.2ndQuadrant.com
 PostgreSQL Training, Services and Sup****t

--=-/lDk4JAZiBWJYz8rcHyp
Content-Disposition: attachment; filename=log_temp_files_suset.v1.patch
Content-Type: text/x-patch; name=log_temp_files_suset.v1.patch;
charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: src/backend/utils/misc/guc.c
===================================================================
RCS file: /home/sriggs/pg/REPOSITORY/pgsql/src/backend/utils/misc/guc.c,v
retrieving revision 1.461
diff -c -r1.461 guc.c
*** src/backend/utils/misc/guc.c	1 Jul 2008 21:07:33 -0000	1.461
--- src/backend/utils/misc/guc.c	8 Jul 2008 06:03:18 -0000
***************
*** 1861,1867 ****
  	},
  
  	{
! 		{"log_temp_files", PGC_USERSET, LOGGING_WHAT,
  			gettext_noop("Log the use of tem****ary files larger than this number
of kilobytes."),
  			gettext_noop("Zero logs all files. The default is -1 (turning this
feature off)."),
  			GUC_UNIT_KB
--- 1861,1867 ----
  	},
  
  	{
! 		{"log_temp_files", PGC_SUSET, LOGGING_WHAT,
  			gettext_noop("Log the use of tem****ary files larger than this number
of kilobytes."),
  			gettext_noop("Zero logs all files. The default is -1 (turning this
feature off)."),
  			GUC_UNIT_KB

--=-/lDk4JAZiBWJYz8rcHyp
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0


-- 
Sent via pgsql-patches mailing list (pgsql-patches@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches

--=-/lDk4JAZiBWJYz8rcHyp--
 




 2 Posts in Topic:
Re: [HACKERS] Userset logging
simon@[EMAIL PROTECTED]   2008-07-08 08:36:21 
Re: [HACKERS] Userset logging
bruce@[EMAIL PROTECTED]   2008-08-22 14:47:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Oct 13 4:07:38 CDT 2008.