On 1/29/14, 12:07 PM, Steeve Lennmark wrote: > We need to think about how to handle this on platforms without > symlinks. > I don't like just printing an error message and moving on. It > should be > either pass or fail or an option to choose between them. > > I hope someone with experience with those kind of systems can come up > with suggestions on how to solve that. I only run postgres on Linux. > > I would still love some input on this.
Currently, pg_basebackup aborts if it has to create a symlink on a platform that doesn't support it. So your code that updates the symlinks would never come into play anyway. I'd just update that code with a "shouldn't get here" comment and add an exit(1). -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers