Christopher Kings-Lynne <[EMAIL PROTECTED]> writes:
> May as well downgrade the CLOG message as well then.

Agreed.  I've applied the attached extended patch.

                        regards, tom lane

*** src/backend/access/transam/slru.c.orig      Sun Aug 29 09:54:52 2004
--- src/backend/access/transam/slru.c   Sun Sep  5 23:01:57 2004
***************
*** 944,950 ****
                                if (doDeletions)
                                {
                                        snprintf(path, MAXPGPATH, "%s/%s", ctl->Dir, 
clde->d_name);
!                                       ereport(LOG,
                                                        (errmsg("removing file 
\"%s\"", path)));
                                        unlink(path);
                                }
--- 944,950 ----
                                if (doDeletions)
                                {
                                        snprintf(path, MAXPGPATH, "%s/%s", ctl->Dir, 
clde->d_name);
!                                       ereport(DEBUG1,
                                                        (errmsg("removing file 
\"%s\"", path)));
                                        unlink(path);
                                }
*** src/backend/access/transam/xlog.c.orig      Sun Aug 29 22:57:29 2004
--- src/backend/access/transam/xlog.c   Sun Sep  5 23:01:58 2004
***************
*** 2154,2167 ****
                                                                                   
true, XLOGfileslop,
                                                                                   
true))
                                {
!                                       ereport(LOG,
                                                  (errmsg("recycled transaction log 
file \"%s\"",
                                                                  xlde->d_name)));
                                }
                                else
                                {
                                        /* No need for any more future segments... */
!                                       ereport(LOG,
                                                  (errmsg("removing transaction log 
file \"%s\"",
                                                                  xlde->d_name)));
                                        unlink(path);
--- 2154,2167 ----
                                                                                   
true, XLOGfileslop,
                                                                                   
true))
                                {
!                                       ereport(DEBUG1,
                                                  (errmsg("recycled transaction log 
file \"%s\"",
                                                                  xlde->d_name)));
                                }
                                else
                                {
                                        /* No need for any more future segments... */
!                                       ereport(DEBUG1,
                                                  (errmsg("removing transaction log 
file \"%s\"",
                                                                  xlde->d_name)));
                                        unlink(path);

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Reply via email to