Re: New option for pg_basebackup, to specify a different directory for pg_xlog

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Haribabu kommi <haribabu(dot)kommi(at)huawei(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: New option for pg_basebackup, to specify a different directory for pg_xlog
Date: 2013-12-19 00:01:14
Message-ID: 20131219000114.GA8874@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 11, 2013 at 10:22:32AM +0000, Haribabu kommi wrote:
> The make_absolute_path() function moving to port is changed in similar way as
> Bruce Momjian approach. The psprintf is used to store the error string which
> Occurred in the function. But psprintf is not used for storing the absolute path
> As because it is giving problems in freeing the allocated memory in SelectConfigFiles.
> Because the same memory is allocated in a different code branch from guc_malloc.
>
> After adding the make_absolute_path() function with psprintf stuff in path.c file
> It is giving linking problem in compilation of ecpg. I am not able to find the problem.
> So I added another file abspath.c in port which contains these two functions.

What errors are you seeing?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andreas Karlsson 2013-12-19 01:12:40 Re: PoC: Partial sort
Previous Message Kevin Grittner 2013-12-18 23:39:56 Re: [PATCH] SQL assertions prototype