Re: New option for pg_basebackup, to specify a different directory for pg_xlog - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: New option for pg_basebackup, to specify a different directory for pg_xlog
Date
Msg-id 20131219000114.GA8874@momjian.us
Whole thread Raw
In response to Re: New option for pg_basebackup, to specify a different directory for pg_xlog  (Haribabu kommi <haribabu.kommi@huawei.com>)
Responses Re: New option for pg_basebackup, to specify a different directory for pg_xlog
List 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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: [PATCH] SQL assertions prototype
Next
From: Cédric Villemain
Date:
Subject: Re: pg_rewarm status