Re: [bug fix] PostgreSQL fails to start on Windows if it crashes after tablespace creation

From: "MauMau" <maumau307(at)gmail(dot)com>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [bug fix] PostgreSQL fails to start on Windows if it crashes after tablespace creation
Date: 2013-10-31 14:09:34
Message-ID: F5E196DBB5614BAE84BA0B3CDBEACA09@maumau
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
> Why are you making this a runtime check instead of a compile time check?

I thought the same situation could happen as in
destroy_tablespace_directories(), but it doesn't seem to apply on second
thought. Revised patch attached, which is very simple based on compile time
check.

Regards
MauMau

Attachment Content-Type Size
remove_tblspc_symlink_v2.patch application/octet-stream 746 bytes

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2013-10-31 14:28:24 Re: appendStringInfo vs appendStringInfoString
Previous Message Andrew Dunstan 2013-10-31 13:20:15 Re: [bug fix] PostgreSQL fails to start on Windows if it crashes after tablespace creation