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

From Tom Lane
Subject Re: Unwanted LOG during recovery of DROP TABLESPACE REDO
Date
Msg-id 26294.1405521196@sss.pgh.pa.us
Whole thread Raw
In response to Unwanted LOG during recovery of DROP TABLESPACE REDO  (Rajeev rastogi <rajeev.rastogi@huawei.com>)
Responses Re: Unwanted LOG during recovery of DROP TABLESPACE REDO  (Marko Tiikkaja <marko@joh.to>)
List pgsql-hackers
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?
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Pg_upgrade and toast tables bug discovered
Next
From: Tom Lane
Date:
Subject: Re: Allowing join removals for more join types