Re: Unwanted LOG during recovery of DROP TABLESPACE REDO - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: Unwanted LOG during recovery of DROP TABLESPACE REDO
Date
Msg-id 53EDD36C.5020409@joh.to
Whole thread Raw
In response to Re: Unwanted LOG during recovery of DROP TABLESPACE REDO  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Unwanted LOG during recovery of DROP TABLESPACE REDO
List pgsql-hackers
On 7/16/14 4:33 PM, Tom Lane wrote:
> Rajeev rastogi <rajeev.rastogi@huawei.com> writes:
>> I found and fixed a bug that causes recovery (crash recovery , PITR) to throw unwanted LOG message if the tablespace
symlinkis not found during the processing of DROP TABLESPACE redo.
 
>>                                  LOG:  could not remove symbolic link "pg_tblspc/16384": No such file or directory
>
> I don't think that's a bug: it's the designed behavior.  Why should we
> complicate the code to not print a log message in a situation where
> it's unclear if the case is expected or not?

I agree with Tom here; this doesn't seem like an improvement.



.marko



pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: pgcrypto: PGP armor headers
Next
From: Fabien COELHO
Date:
Subject: pgbench --tuple-size option