Re: splitting *_desc routines

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: splitting *_desc routines
Дата
Msg-id CA+TgmoZ=XPY=fxyMpSUiqvzmv0Of3yfens=c1FERC+AaDPAckQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: splitting *_desc routines  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: splitting *_desc routines
Список pgsql-hackers
On Thu, Aug 30, 2012 at 12:14 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>> An alternative thing that might be worth considering before you go all
>> in on this is whether the xlogdump functionality shouldn't just be part
>> of the regular server executable, ie you'd call it with
>>
>>       postgres --xlogdump <arguments>
>>
>> and the only extra code needed is two lines for another redirect in
>> main.c.  We've already done that for things like --describe-config.
>> This'd likely be a lot less work than getting the _desc routines to
>> be operable standalone ...
> It definitely would be simpler. It doesn't seem nice to pile more and more
> utilities into the main postgres binary though.

Agreed.  Another advantage of making this standalone is that other
people might then be able to write code that does interesting things
with it.  If we just add the functionality into core then nobody's any
better off than before.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Fix for gistchoose
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: Fix for gistchoose