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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: New option for pg_basebackup, to specify a different directory for pg_xlog
Дата
Msg-id 20131220132044.GR11006@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: New option for pg_basebackup, to specify a different directory for pg_xlog  (Haribabu kommi <haribabu.kommi@huawei.com>)
Список pgsql-hackers
Haribabu kommi escribió:

> From the compilation I observed as libpgcommon is linking while building ecpg.
> I tested the same by using psprintf directly in ecpg code.
> 
> I modified the libecpg's Makefile as suggested by you which is attached in the mail,
> Still the errors are occurring. Please let me know is there anything missed?

I don't know what's the cause of the error you're seeing, but IIRC you
can't have a file in src/port depend on src/common functionality (which
psprintf is IIRC).  So you need to fix things up so that the psprintf()
doesn't occur in src/port at all.  Not sure what's the best way to go
about this; perhaps the whole new function should be in src/common; or
perhaps you need part of it in src/port and the bits with the funny
error reporting in src/common, where psprintf can be called without
issue.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: preserving forensic information when we freeze
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Re: [bug fix] multibyte messages are displayed incorrectly on the client